Skip to content

Commit bd06e78

Browse files
author
Alex Shi
committed
Merge tag 'v4.4.15' into linux-linaro-lsk-v4.4
This is the 4.4.15 stable release
2 parents ffc4aa8 + 35467dc commit bd06e78

41 files changed

Lines changed: 248 additions & 131 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
VERSION = 4
22
PATCHLEVEL = 4
3-
SUBLEVEL = 14
3+
SUBLEVEL = 15
44
EXTRAVERSION =
55
NAME = Blurry Fish Butt
66

crypto/crypto_user.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ static const int crypto_msg_min[CRYPTO_NR_MSGTYPES] = {
455455
[CRYPTO_MSG_NEWALG - CRYPTO_MSG_BASE] = MSGSIZE(crypto_user_alg),
456456
[CRYPTO_MSG_DELALG - CRYPTO_MSG_BASE] = MSGSIZE(crypto_user_alg),
457457
[CRYPTO_MSG_UPDATEALG - CRYPTO_MSG_BASE] = MSGSIZE(crypto_user_alg),
458+
[CRYPTO_MSG_GETALG - CRYPTO_MSG_BASE] = MSGSIZE(crypto_user_alg),
458459
[CRYPTO_MSG_DELRNG - CRYPTO_MSG_BASE] = 0,
459460
};
460461

drivers/crypto/ux500/hash/hash_core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ static int hash_process_data(struct hash_device_data *device_data,
797797
&device_data->state);
798798
memmove(req_ctx->state.buffer,
799799
device_data->state.buffer,
800-
HASH_BLOCK_SIZE / sizeof(u32));
800+
HASH_BLOCK_SIZE);
801801
if (ret) {
802802
dev_err(device_data->dev,
803803
"%s: hash_resume_state() failed!\n",
@@ -848,7 +848,7 @@ static int hash_process_data(struct hash_device_data *device_data,
848848

849849
memmove(device_data->state.buffer,
850850
req_ctx->state.buffer,
851-
HASH_BLOCK_SIZE / sizeof(u32));
851+
HASH_BLOCK_SIZE);
852852
if (ret) {
853853
dev_err(device_data->dev, "%s: hash_save_state() failed!\n",
854854
__func__);

drivers/crypto/vmx/aes_cbc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ struct crypto_alg p8_aes_cbc_alg = {
182182
.cra_name = "cbc(aes)",
183183
.cra_driver_name = "p8_aes_cbc",
184184
.cra_module = THIS_MODULE,
185-
.cra_priority = 1000,
185+
.cra_priority = 2000,
186186
.cra_type = &crypto_blkcipher_type,
187187
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER | CRYPTO_ALG_NEED_FALLBACK,
188188
.cra_alignmask = 0,

drivers/crypto/vmx/aes_ctr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ struct crypto_alg p8_aes_ctr_alg = {
166166
.cra_name = "ctr(aes)",
167167
.cra_driver_name = "p8_aes_ctr",
168168
.cra_module = THIS_MODULE,
169-
.cra_priority = 1000,
169+
.cra_priority = 2000,
170170
.cra_type = &crypto_blkcipher_type,
171171
.cra_flags = CRYPTO_ALG_TYPE_BLKCIPHER | CRYPTO_ALG_NEED_FALLBACK,
172172
.cra_alignmask = 0,

drivers/net/ethernet/atheros/alx/main.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,14 @@ static int alx_refill_rx_ring(struct alx_priv *alx, gfp_t gfp)
8686
while (!cur_buf->skb && next != rxq->read_idx) {
8787
struct alx_rfd *rfd = &rxq->rfd[cur];
8888

89-
skb = __netdev_alloc_skb(alx->dev, alx->rxbuf_size, gfp);
89+
skb = __netdev_alloc_skb(alx->dev, alx->rxbuf_size + 64, gfp);
9090
if (!skb)
9191
break;
92+
93+
/* Workround for the HW RX DMA overflow issue */
94+
if (((unsigned long)skb->data & 0xfff) == 0xfc0)
95+
skb_reserve(skb, 64);
96+
9297
dma = dma_map_single(&alx->hw.pdev->dev,
9398
skb->data, alx->rxbuf_size,
9499
DMA_FROM_DEVICE);

drivers/net/ethernet/cadence/macb.c

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,9 +2405,9 @@ static int macb_init(struct platform_device *pdev)
24052405
if (bp->phy_interface == PHY_INTERFACE_MODE_RGMII)
24062406
val = GEM_BIT(RGMII);
24072407
else if (bp->phy_interface == PHY_INTERFACE_MODE_RMII &&
2408-
(bp->caps & MACB_CAPS_USRIO_DEFAULT_IS_MII))
2408+
(bp->caps & MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII))
24092409
val = MACB_BIT(RMII);
2410-
else if (!(bp->caps & MACB_CAPS_USRIO_DEFAULT_IS_MII))
2410+
else if (!(bp->caps & MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII))
24112411
val = MACB_BIT(MII);
24122412

24132413
if (bp->caps & MACB_CAPS_USRIO_HAS_CLKEN)
@@ -2738,7 +2738,7 @@ static int at91ether_init(struct platform_device *pdev)
27382738
}
27392739

27402740
static const struct macb_config at91sam9260_config = {
2741-
.caps = MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_USRIO_DEFAULT_IS_MII,
2741+
.caps = MACB_CAPS_USRIO_HAS_CLKEN | MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
27422742
.clk_init = macb_clk_init,
27432743
.init = macb_init,
27442744
};
@@ -2751,21 +2751,22 @@ static const struct macb_config pc302gem_config = {
27512751
};
27522752

27532753
static const struct macb_config sama5d2_config = {
2754-
.caps = 0,
2754+
.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
27552755
.dma_burst_length = 16,
27562756
.clk_init = macb_clk_init,
27572757
.init = macb_init,
27582758
};
27592759

27602760
static const struct macb_config sama5d3_config = {
2761-
.caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE,
2761+
.caps = MACB_CAPS_SG_DISABLED | MACB_CAPS_GIGABIT_MODE_AVAILABLE
2762+
| MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
27622763
.dma_burst_length = 16,
27632764
.clk_init = macb_clk_init,
27642765
.init = macb_init,
27652766
};
27662767

27672768
static const struct macb_config sama5d4_config = {
2768-
.caps = 0,
2769+
.caps = MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII,
27692770
.dma_burst_length = 4,
27702771
.clk_init = macb_clk_init,
27712772
.init = macb_init,

drivers/net/ethernet/cadence/macb.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@
398398
/* Capability mask bits */
399399
#define MACB_CAPS_ISR_CLEAR_ON_WRITE 0x00000001
400400
#define MACB_CAPS_USRIO_HAS_CLKEN 0x00000002
401-
#define MACB_CAPS_USRIO_DEFAULT_IS_MII 0x00000004
401+
#define MACB_CAPS_USRIO_DEFAULT_IS_MII_GMII 0x00000004
402402
#define MACB_CAPS_NO_GIGABIT_HALF 0x00000008
403403
#define MACB_CAPS_FIFO_MODE 0x10000000
404404
#define MACB_CAPS_GIGABIT_MODE_AVAILABLE 0x20000000

drivers/usb/core/quirks.c

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ static const struct usb_device_id usb_quirk_list[] = {
4444
/* Creative SB Audigy 2 NX */
4545
{ USB_DEVICE(0x041e, 0x3020), .driver_info = USB_QUIRK_RESET_RESUME },
4646

47+
/* USB3503 */
48+
{ USB_DEVICE(0x0424, 0x3503), .driver_info = USB_QUIRK_RESET_RESUME },
49+
4750
/* Microsoft Wireless Laser Mouse 6000 Receiver */
4851
{ USB_DEVICE(0x045e, 0x00e1), .driver_info = USB_QUIRK_RESET_RESUME },
4952

@@ -173,6 +176,10 @@ static const struct usb_device_id usb_quirk_list[] = {
173176
/* MAYA44USB sound device */
174177
{ USB_DEVICE(0x0a92, 0x0091), .driver_info = USB_QUIRK_RESET_RESUME },
175178

179+
/* ASUS Base Station(T100) */
180+
{ USB_DEVICE(0x0b05, 0x17e0), .driver_info =
181+
USB_QUIRK_IGNORE_REMOTE_WAKEUP },
182+
176183
/* Action Semiconductor flash disk */
177184
{ USB_DEVICE(0x10d6, 0x2200), .driver_info =
178185
USB_QUIRK_STRING_FETCH_255 },
@@ -188,26 +195,22 @@ static const struct usb_device_id usb_quirk_list[] = {
188195
{ USB_DEVICE(0x1908, 0x1315), .driver_info =
189196
USB_QUIRK_HONOR_BNUMINTERFACES },
190197

191-
/* INTEL VALUE SSD */
192-
{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
193-
194-
/* USB3503 */
195-
{ USB_DEVICE(0x0424, 0x3503), .driver_info = USB_QUIRK_RESET_RESUME },
196-
197-
/* ASUS Base Station(T100) */
198-
{ USB_DEVICE(0x0b05, 0x17e0), .driver_info =
199-
USB_QUIRK_IGNORE_REMOTE_WAKEUP },
200-
201198
/* Protocol and OTG Electrical Test Device */
202199
{ USB_DEVICE(0x1a0a, 0x0200), .driver_info =
203200
USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
204201

202+
/* Acer C120 LED Projector */
203+
{ USB_DEVICE(0x1de1, 0xc102), .driver_info = USB_QUIRK_NO_LPM },
204+
205205
/* Blackmagic Design Intensity Shuttle */
206206
{ USB_DEVICE(0x1edb, 0xbd3b), .driver_info = USB_QUIRK_NO_LPM },
207207

208208
/* Blackmagic Design UltraStudio SDI */
209209
{ USB_DEVICE(0x1edb, 0xbd4f), .driver_info = USB_QUIRK_NO_LPM },
210210

211+
/* INTEL VALUE SSD */
212+
{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
213+
211214
{ } /* terminating entry must be last */
212215
};
213216

drivers/usb/dwc3/dwc3-exynos.c

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,6 @@ static int dwc3_exynos_probe(struct platform_device *pdev)
128128

129129
platform_set_drvdata(pdev, exynos);
130130

131-
ret = dwc3_exynos_register_phys(exynos);
132-
if (ret) {
133-
dev_err(dev, "couldn't register PHYs\n");
134-
return ret;
135-
}
136-
137131
exynos->dev = dev;
138132

139133
exynos->clk = devm_clk_get(dev, "usbdrd30");
@@ -183,20 +177,29 @@ static int dwc3_exynos_probe(struct platform_device *pdev)
183177
goto err3;
184178
}
185179

180+
ret = dwc3_exynos_register_phys(exynos);
181+
if (ret) {
182+
dev_err(dev, "couldn't register PHYs\n");
183+
goto err4;
184+
}
185+
186186
if (node) {
187187
ret = of_platform_populate(node, NULL, NULL, dev);
188188
if (ret) {
189189
dev_err(dev, "failed to add dwc3 core\n");
190-
goto err4;
190+
goto err5;
191191
}
192192
} else {
193193
dev_err(dev, "no device node, failed to add dwc3 core\n");
194194
ret = -ENODEV;
195-
goto err4;
195+
goto err5;
196196
}
197197

198198
return 0;
199199

200+
err5:
201+
platform_device_unregister(exynos->usb2_phy);
202+
platform_device_unregister(exynos->usb3_phy);
200203
err4:
201204
regulator_disable(exynos->vdd10);
202205
err3:

0 commit comments

Comments
 (0)