Skip to content

Commit 0073c31

Browse files
committed
Merge tag 'v5.4.101' into linux-5.4-at91
This is the 5.4.101 stable release
2 parents a7eed5f + ef1fccc commit 0073c31

File tree

15 files changed

+92
-52
lines changed

15 files changed

+92
-52
lines changed

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 = 100
4+
SUBLEVEL = 101
55
EXTRAVERSION = -linux4sam-2020.10
66
NAME = Kleptomaniac Octopus
77

arch/arm64/boot/dts/nvidia/tegra210.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,7 @@
917917
<&tegra_car 128>, /* hda2hdmi */
918918
<&tegra_car 111>; /* hda2codec_2x */
919919
reset-names = "hda", "hda2hdmi", "hda2codec_2x";
920+
power-domains = <&pd_sor>;
920921
status = "disabled";
921922
};
922923

drivers/hid/hid-core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ EXPORT_SYMBOL_GPL(hid_register_report);
9090
* Register a new field for this report.
9191
*/
9292

93-
static struct hid_field *hid_register_field(struct hid_report *report, unsigned usages, unsigned values)
93+
static struct hid_field *hid_register_field(struct hid_report *report, unsigned usages)
9494
{
9595
struct hid_field *field;
9696

@@ -101,7 +101,7 @@ static struct hid_field *hid_register_field(struct hid_report *report, unsigned
101101

102102
field = kzalloc((sizeof(struct hid_field) +
103103
usages * sizeof(struct hid_usage) +
104-
values * sizeof(unsigned)), GFP_KERNEL);
104+
usages * sizeof(unsigned)), GFP_KERNEL);
105105
if (!field)
106106
return NULL;
107107

@@ -300,7 +300,7 @@ static int hid_add_field(struct hid_parser *parser, unsigned report_type, unsign
300300
usages = max_t(unsigned, parser->local.usage_index,
301301
parser->global.report_count);
302302

303-
field = hid_register_field(report, usages, parser->global.report_count);
303+
field = hid_register_field(report, usages);
304304
if (!field)
305305
return 0;
306306

drivers/net/ethernet/chelsio/cxgb4/t4_pci_id_tbl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ CH_PCI_DEVICE_ID_TABLE_DEFINE_BEGIN
219219
CH_PCI_ID_TABLE_FENTRY(0x6089), /* Custom T62100-KR */
220220
CH_PCI_ID_TABLE_FENTRY(0x608a), /* Custom T62100-CR */
221221
CH_PCI_ID_TABLE_FENTRY(0x608b), /* Custom T6225-CR */
222+
CH_PCI_ID_TABLE_FENTRY(0x6092), /* Custom T62100-CR-LOM */
222223
CH_PCI_DEVICE_ID_TABLE_DEFINE_END;
223224

224225
#endif /* __T4_PCI_ID_TBL_H__ */

drivers/net/usb/qmi_wwan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,6 +1354,7 @@ static const struct usb_device_id products[] = {
13541354
{QMI_FIXED_INTF(0x1e2d, 0x0082, 5)}, /* Cinterion PHxx,PXxx (2 RmNet) */
13551355
{QMI_FIXED_INTF(0x1e2d, 0x0083, 4)}, /* Cinterion PHxx,PXxx (1 RmNet + USB Audio)*/
13561356
{QMI_QUIRK_SET_DTR(0x1e2d, 0x00b0, 4)}, /* Cinterion CLS8 */
1357+
{QMI_FIXED_INTF(0x1e2d, 0x00b7, 0)}, /* Cinterion MV31 RmNet */
13571358
{QMI_FIXED_INTF(0x413c, 0x81a2, 8)}, /* Dell Wireless 5806 Gobi(TM) 4G LTE Mobile Broadband Card */
13581359
{QMI_FIXED_INTF(0x413c, 0x81a3, 8)}, /* Dell Wireless 5570 HSPA+ (42Mbps) Mobile Broadband Card */
13591360
{QMI_FIXED_INTF(0x413c, 0x81a4, 8)}, /* Dell Wireless 5570e HSPA+ (42Mbps) Mobile Broadband Card */

drivers/usb/core/quirks.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,9 @@ static const struct usb_device_id usb_quirk_list[] = {
391391
/* X-Rite/Gretag-Macbeth Eye-One Pro display colorimeter */
392392
{ USB_DEVICE(0x0971, 0x2000), .driver_info = USB_QUIRK_NO_SET_INTF },
393393

394+
/* ELMO L-12F document camera */
395+
{ USB_DEVICE(0x09a1, 0x0028), .driver_info = USB_QUIRK_DELAY_CTRL_MSG },
396+
394397
/* Broadcom BCM92035DGROM BT dongle */
395398
{ USB_DEVICE(0x0a5c, 0x2021), .driver_info = USB_QUIRK_RESET_RESUME },
396399

@@ -415,6 +418,9 @@ static const struct usb_device_id usb_quirk_list[] = {
415418
{ USB_DEVICE(0x10d6, 0x2200), .driver_info =
416419
USB_QUIRK_STRING_FETCH_255 },
417420

421+
/* novation SoundControl XL */
422+
{ USB_DEVICE(0x1235, 0x0061), .driver_info = USB_QUIRK_RESET_RESUME },
423+
418424
/* Huawei 4G LTE module */
419425
{ USB_DEVICE(0x12d1, 0x15bb), .driver_info =
420426
USB_QUIRK_DISCONNECT_SUSPEND },
@@ -495,9 +501,6 @@ static const struct usb_device_id usb_quirk_list[] = {
495501
/* INTEL VALUE SSD */
496502
{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
497503

498-
/* novation SoundControl XL */
499-
{ USB_DEVICE(0x1235, 0x0061), .driver_info = USB_QUIRK_RESET_RESUME },
500-
501504
{ } /* terminating entry must be last */
502505
};
503506

fs/cifs/connect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4198,6 +4198,7 @@ int cifs_setup_cifs_sb(struct smb_vol *pvolume_info,
41984198
cifs_sb->prepath = kstrdup(pvolume_info->prepath, GFP_KERNEL);
41994199
if (cifs_sb->prepath == NULL)
42004200
return -ENOMEM;
4201+
cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH;
42014202
}
42024203

42034204
return 0;

fs/dax.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -794,12 +794,12 @@ static void dax_entry_mkclean(struct address_space *mapping, pgoff_t index,
794794
address = pgoff_address(index, vma);
795795

796796
/*
797-
* Note because we provide range to follow_pte_pmd it will
798-
* call mmu_notifier_invalidate_range_start() on our behalf
799-
* before taking any lock.
797+
* follow_invalidate_pte() will use the range to call
798+
* mmu_notifier_invalidate_range_start() on our behalf before
799+
* taking any lock.
800800
*/
801-
if (follow_pte_pmd(vma->vm_mm, address, &range,
802-
&ptep, &pmdp, &ptl))
801+
if (follow_invalidate_pte(vma->vm_mm, address, &range, &ptep,
802+
&pmdp, &ptl))
803803
continue;
804804

805805
/*

fs/ntfs/inode.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,12 @@ static int ntfs_read_locked_inode(struct inode *vi)
628628
}
629629
a = ctx->attr;
630630
/* Get the standard information attribute value. */
631+
if ((u8 *)a + le16_to_cpu(a->data.resident.value_offset)
632+
+ le32_to_cpu(a->data.resident.value_length) >
633+
(u8 *)ctx->mrec + vol->mft_record_size) {
634+
ntfs_error(vi->i_sb, "Corrupt standard information attribute in inode.");
635+
goto unm_err_out;
636+
}
631637
si = (STANDARD_INFORMATION*)((u8*)a +
632638
le16_to_cpu(a->data.resident.value_offset));
633639

include/linux/mm.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,9 +1466,11 @@ void free_pgd_range(struct mmu_gather *tlb, unsigned long addr,
14661466
unsigned long end, unsigned long floor, unsigned long ceiling);
14671467
int copy_page_range(struct mm_struct *dst, struct mm_struct *src,
14681468
struct vm_area_struct *vma);
1469-
int follow_pte_pmd(struct mm_struct *mm, unsigned long address,
1470-
struct mmu_notifier_range *range,
1471-
pte_t **ptepp, pmd_t **pmdpp, spinlock_t **ptlp);
1469+
int follow_invalidate_pte(struct mm_struct *mm, unsigned long address,
1470+
struct mmu_notifier_range *range, pte_t **ptepp,
1471+
pmd_t **pmdpp, spinlock_t **ptlp);
1472+
int follow_pte(struct mm_struct *mm, unsigned long address,
1473+
pte_t **ptepp, spinlock_t **ptlp);
14721474
int follow_pfn(struct vm_area_struct *vma, unsigned long address,
14731475
unsigned long *pfn);
14741476
int follow_phys(struct vm_area_struct *vma, unsigned long address,

0 commit comments

Comments
 (0)