Skip to content

Commit 38210f1

Browse files
authored
Merge pull request torvalds#187 from zandrey/5.4.x+fslc
Update 5.4.x+fslc to v5.4.82
2 parents 092ca50 + a12e029 commit 38210f1

File tree

48 files changed

+303
-131
lines changed

Some content is hidden

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

48 files changed

+303
-131
lines changed

Documentation/devicetree/bindings/net/can/tcan4x5x.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tcan4x5x: tcan4x5x@0 {
3333
spi-max-frequency = <10000000>;
3434
bosch,mram-cfg = <0x0 0 0 32 0 0 1 1>;
3535
interrupt-parent = <&gpio1>;
36-
interrupts = <14 GPIO_ACTIVE_LOW>;
36+
interrupts = <14 IRQ_TYPE_LEVEL_LOW>;
3737
device-state-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
3838
device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
3939
reset-gpios = <&gpio1 27 GPIO_ACTIVE_LOW>;

Documentation/devicetree/bindings/net/nfc/nxp-nci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Example (for ARM-based BeagleBone with NPC100 NFC controller on I2C2):
2525
clock-frequency = <100000>;
2626

2727
interrupt-parent = <&gpio1>;
28-
interrupts = <29 GPIO_ACTIVE_HIGH>;
28+
interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
2929

3030
enable-gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
3131
firmware-gpios = <&gpio0 31 GPIO_ACTIVE_HIGH>;

Documentation/devicetree/bindings/net/nfc/pn544.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Example (for ARM-based BeagleBone with PN544 on I2C2):
2525
clock-frequency = <400000>;
2626

2727
interrupt-parent = <&gpio1>;
28-
interrupts = <17 GPIO_ACTIVE_HIGH>;
28+
interrupts = <17 IRQ_TYPE_LEVEL_HIGH>;
2929

3030
enable-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
3131
firmware-gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>;

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 5
33
PATCHLEVEL = 4
4-
SUBLEVEL = 81
4+
SUBLEVEL = 82
55
EXTRAVERSION =
66
NAME = Kleptomaniac Octopus
77

drivers/crypto/chelsio/chtls/chtls_cm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,7 @@ static struct sock *chtls_recv_sock(struct sock *lsk,
10771077
sk_setup_caps(newsk, dst);
10781078
ctx = tls_get_ctx(lsk);
10791079
newsk->sk_destruct = ctx->sk_destruct;
1080+
newsk->sk_prot_creator = lsk->sk_prot_creator;
10801081
csk->sk = newsk;
10811082
csk->passive_reap_next = oreq;
10821083
csk->tx_chan = cxgb4_port_chan(ndev);

drivers/crypto/chelsio/chtls/chtls_hw.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ int chtls_setkey(struct chtls_sock *csk, u32 keylen, u32 optname)
365365
csk->wr_unacked += DIV_ROUND_UP(len, 16);
366366
enqueue_wr(csk, skb);
367367
cxgb4_ofld_send(csk->egress_dev, skb);
368+
skb = NULL;
368369

369370
chtls_set_scmd(csk);
370371
/* Clear quiesce for Rx key */

drivers/infiniband/hw/i40iw/i40iw_main.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@
5454
#define DRV_VERSION __stringify(DRV_VERSION_MAJOR) "." \
5555
__stringify(DRV_VERSION_MINOR) "." __stringify(DRV_VERSION_BUILD)
5656

57-
static int push_mode;
58-
module_param(push_mode, int, 0644);
59-
MODULE_PARM_DESC(push_mode, "Low latency mode: 0=disabled (default), 1=enabled)");
60-
6157
static int debug;
6258
module_param(debug, int, 0644);
6359
MODULE_PARM_DESC(debug, "debug flags: 0=disabled (default), 0x7fffffff=all");
@@ -1588,7 +1584,6 @@ static enum i40iw_status_code i40iw_setup_init_state(struct i40iw_handler *hdl,
15881584
if (status)
15891585
goto exit;
15901586
iwdev->obj_next = iwdev->obj_mem;
1591-
iwdev->push_mode = push_mode;
15921587

15931588
init_waitqueue_head(&iwdev->vchnl_waitq);
15941589
init_waitqueue_head(&dev->vf_reqs);

drivers/infiniband/hw/i40iw/i40iw_verbs.c

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -168,38 +168,16 @@ static void i40iw_dealloc_ucontext(struct ib_ucontext *context)
168168
*/
169169
static int i40iw_mmap(struct ib_ucontext *context, struct vm_area_struct *vma)
170170
{
171-
struct i40iw_ucontext *ucontext;
172-
u64 db_addr_offset;
173-
u64 push_offset;
174-
175-
ucontext = to_ucontext(context);
176-
if (ucontext->iwdev->sc_dev.is_pf) {
177-
db_addr_offset = I40IW_DB_ADDR_OFFSET;
178-
push_offset = I40IW_PUSH_OFFSET;
179-
if (vma->vm_pgoff)
180-
vma->vm_pgoff += I40IW_PF_FIRST_PUSH_PAGE_INDEX - 1;
181-
} else {
182-
db_addr_offset = I40IW_VF_DB_ADDR_OFFSET;
183-
push_offset = I40IW_VF_PUSH_OFFSET;
184-
if (vma->vm_pgoff)
185-
vma->vm_pgoff += I40IW_VF_FIRST_PUSH_PAGE_INDEX - 1;
186-
}
171+
struct i40iw_ucontext *ucontext = to_ucontext(context);
172+
u64 dbaddr;
187173

188-
vma->vm_pgoff += db_addr_offset >> PAGE_SHIFT;
174+
if (vma->vm_pgoff || vma->vm_end - vma->vm_start != PAGE_SIZE)
175+
return -EINVAL;
189176

190-
if (vma->vm_pgoff == (db_addr_offset >> PAGE_SHIFT)) {
191-
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
192-
vma->vm_private_data = ucontext;
193-
} else {
194-
if ((vma->vm_pgoff - (push_offset >> PAGE_SHIFT)) % 2)
195-
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
196-
else
197-
vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
198-
}
177+
dbaddr = I40IW_DB_ADDR_OFFSET + pci_resource_start(ucontext->iwdev->ldev->pcidev, 0);
199178

200-
if (io_remap_pfn_range(vma, vma->vm_start,
201-
vma->vm_pgoff + (pci_resource_start(ucontext->iwdev->ldev->pcidev, 0) >> PAGE_SHIFT),
202-
PAGE_SIZE, vma->vm_page_prot))
179+
if (io_remap_pfn_range(vma, vma->vm_start, dbaddr >> PAGE_SHIFT, PAGE_SIZE,
180+
pgprot_noncached(vma->vm_page_prot)))
203181
return -EAGAIN;
204182

205183
return 0;

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ static const struct xpad_device {
241241
{ 0x1038, 0x1430, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
242242
{ 0x1038, 0x1431, "SteelSeries Stratus Duo", 0, XTYPE_XBOX360 },
243243
{ 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 },
244+
{ 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
244245
{ 0x12ab, 0x0004, "Honey Bee Xbox360 dancepad", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
245246
{ 0x12ab, 0x0301, "PDP AFTERGLOW AX.1", 0, XTYPE_XBOX360 },
246247
{ 0x12ab, 0x0303, "Mortal Kombat Klassic FightStick", MAP_TRIGGERS_TO_BUTTONS, XTYPE_XBOX360 },
@@ -418,6 +419,7 @@ static const struct usb_device_id xpad_table[] = {
418419
XPAD_XBOXONE_VENDOR(0x0f0d), /* Hori Controllers */
419420
XPAD_XBOX360_VENDOR(0x1038), /* SteelSeries Controllers */
420421
XPAD_XBOX360_VENDOR(0x11c9), /* Nacon GC100XF */
422+
XPAD_XBOX360_VENDOR(0x1209), /* Ardwiino Controllers */
421423
XPAD_XBOX360_VENDOR(0x12ab), /* X-Box 360 dance pads */
422424
XPAD_XBOX360_VENDOR(0x1430), /* RedOctane X-Box 360 controllers */
423425
XPAD_XBOX360_VENDOR(0x146b), /* BigBen Interactive Controllers */

drivers/input/serio/i8042-x86ia64io.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ static const struct dmi_system_id __initconst i8042_dmi_noloop_table[] = {
219219
DMI_MATCH(DMI_SYS_VENDOR, "PEGATRON CORPORATION"),
220220
DMI_MATCH(DMI_PRODUCT_NAME, "C15B"),
221221
},
222+
.matches = {
223+
DMI_MATCH(DMI_SYS_VENDOR, "ByteSpeed LLC"),
224+
DMI_MATCH(DMI_PRODUCT_NAME, "ByteSpeed Laptop C15B"),
225+
},
222226
},
223227
{ }
224228
};

0 commit comments

Comments
 (0)