GeezerVison is showing github.com — Merge tag 'v5.15.164' into 5.15-main · MagicRB/BPI-Router-Linux@8878f13
File treeExpand file treeCollapse file tree Open diff view settings Documentation/admin-guide power/cpupower/utils/helpers
Some content is hiddenLarge Commits have some content hidden by default. Use the searchbox below for content that may be hidden. Dismiss bannerExpand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: Documentation/admin-guide/filesystem-monitoring.rst +12-8Lines changed: 12 additions & 8 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -35,9 +35,11 @@ notifications is Ext4. | 35 | 35 |
| 36 | 36 | A FAN_FS_ERROR Notification has the following format:: | 37 | 37 |
| 38 | | - [ Notification Metadata (Mandatory) ] | 39 | | - [ Generic Error Record (Mandatory) ] | 40 | | - [ FID record (Mandatory) ] | | 38 | + :: | | 39 | + | | 40 | + [ Notification Metadata (Mandatory) ] | | 41 | + [ Generic Error Record (Mandatory) ] | | 42 | + [ FID record (Mandatory) ] | 41 | 43 |
| 42 | 44 | The order of records is not guaranteed, and new records might be added | 43 | 45 | in the future. Therefore, applications must not rely on the order and | @@ -53,11 +55,13 @@ providing any additional details about the problem. This record is | 53 | 55 | identified by ``struct fanotify_event_info_header.info_type`` being set | 54 | 56 | to FAN_EVENT_INFO_TYPE_ERROR. | 55 | 57 |
| 56 | | - struct fanotify_event_info_error { | 57 | | - struct fanotify_event_info_header hdr; | 58 | | - __s32 error; | 59 | | - __u32 error_count; | 60 | | - }; | | 58 | + :: | | 59 | + | | 60 | + struct fanotify_event_info_error { | | 61 | + struct fanotify_event_info_header hdr; | | 62 | + __s32 error; | | 63 | + __u32 error_count; | | 64 | + }; | 61 | 65 |
| 62 | 66 | The `error` field identifies the type of error using errno values. | 63 | 67 | `error_count` tracks the number of errors that occurred and were | |
Collapse file Copy file name to clipboardExpand all lines: Makefile +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 | 2 | 2 | VERSION = 5 | 3 | 3 | PATCHLEVEL = 15 | 4 | | -SUBLEVEL = 163 | | 4 | +SUBLEVEL = 164 | 5 | 5 | EXTRAVERSION = | 6 | 6 | NAME = Trick or Treat | 7 | 7 |
| |
Collapse file Copy file name to clipboardExpand all lines: arch/arm/include/asm/uaccess.h +2-12Lines changed: 2 additions & 12 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -130,24 +130,14 @@ extern int __get_user_64t_1(void *); | 130 | 130 | extern int __get_user_64t_2(void *); | 131 | 131 | extern int __get_user_64t_4(void *); | 132 | 132 |
| 133 | | -#define __GUP_CLOBBER_1 "lr", "cc" | 134 | | -#ifdef CONFIG_CPU_USE_DOMAINS | 135 | | -#define __GUP_CLOBBER_2 "ip", "lr", "cc" | 136 | | -#else | 137 | | -#define __GUP_CLOBBER_2 "lr", "cc" | 138 | | -#endif | 139 | | -#define __GUP_CLOBBER_4 "lr", "cc" | 140 | | -#define __GUP_CLOBBER_32t_8 "lr", "cc" | 141 | | -#define __GUP_CLOBBER_8 "lr", "cc" | 142 | | - | 143 | 133 | #define __get_user_x(__r2, __p, __e, __l, __s) \ | 144 | 134 | __asm__ __volatile__ ( \ | 145 | 135 | __asmeq("%0", "r0") __asmeq("%1", "r2") \ | 146 | 136 | __asmeq("%3", "r1") \ | 147 | 137 | "bl __get_user_" #__s \ | 148 | 138 | : "=&r" (__e), "=r" (__r2) \ | 149 | 139 | : "0" (__p), "r" (__l) \ | 150 | | - : __GUP_CLOBBER_##__s) | | 140 | + : "ip", "lr", "cc") | 151 | 141 |
| 152 | 142 | /* narrowing a double-word get into a single 32bit word register: */ | 153 | 143 | #ifdef __ARMEB__ | @@ -169,7 +159,7 @@ extern int __get_user_64t_4(void *); | 169 | 159 | "bl __get_user_64t_" #__s \ | 170 | 160 | : "=&r" (__e), "=r" (__r2) \ | 171 | 161 | : "0" (__p), "r" (__l) \ | 172 | | - : __GUP_CLOBBER_##__s) | | 162 | + : "ip", "lr", "cc") | 173 | 163 | #else | 174 | 164 | #define __get_user_x_64t __get_user_x | 175 | 165 | #endif | |
Collapse file Copy file name to clipboardExpand all lines: arch/arm64/boot/dts/qcom/msm8996.dtsi +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 2634 | 2634 | snps,dis_u2_susphy_quirk; | 2635 | 2635 | snps,dis_enblslpm_quirk; | 2636 | 2636 | snps,is-utmi-l1-suspend; | | 2637 | + snps,parkmode-disable-ss-quirk; | 2637 | 2638 | tx-fifo-resize; | 2638 | 2639 | }; | 2639 | 2640 | }; | |
Collapse file Copy file name to clipboardExpand all lines: arch/arm64/boot/dts/qcom/sdm630.dtsi +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1236 | 1236 | interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; | 1237 | 1237 | snps,dis_u2_susphy_quirk; | 1238 | 1238 | snps,dis_enblslpm_quirk; | | 1239 | + snps,parkmode-disable-ss-quirk; | 1239 | 1240 |
| 1240 | 1241 | /* | 1241 | 1242 | * SDM630 technically supports USB3 but I | |
Collapse file Copy file name to clipboardExpand all lines: arch/arm64/kernel/armv8_deprecated.c +3Lines changed: 3 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -471,6 +471,9 @@ static int run_all_insn_set_hw_mode(unsigned int cpu) | 471 | 471 | for (i = 0; i < ARRAY_SIZE(insn_emulations); i++) { | 472 | 472 | struct insn_emulation *insn = insn_emulations[i]; | 473 | 473 | bool enable = READ_ONCE(insn->current_mode) == INSN_HW; | | 474 | + if (insn->status == INSN_UNAVAILABLE) | | 475 | + continue; | | 476 | + | 474 | 477 | if (insn->set_hw_mode && insn->set_hw_mode(enable)) { | 475 | 478 | pr_warn("CPU[%u] cannot support the emulation of %s", | 476 | 479 | cpu, insn->name); | |
Collapse file Copy file name to clipboardExpand all lines: arch/mips/kernel/syscalls/syscall_o32.tbl +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 27 | 27 | 17 o32 break sys_ni_syscall | 28 | 28 | # 18 was sys_stat | 29 | 29 | 18 o32 unused18 sys_ni_syscall | 30 | | -19 o32 lseek sys_lseek | | 30 | +19 o32 lseek sys_lseek compat_sys_lseek | 31 | 31 | 20 o32 getpid sys_getpid | 32 | 32 | 21 o32 mount sys_mount | 33 | 33 | 22 o32 umount sys_oldumount | |
Collapse file Copy file name to clipboardExpand all lines: arch/powerpc/kernel/eeh_pe.c +5-2Lines changed: 5 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -849,6 +849,7 @@ struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe) | 849 | 849 | { | 850 | 850 | struct eeh_dev *edev; | 851 | 851 | struct pci_dev *pdev; | | 852 | + struct pci_bus *bus = NULL; | 852 | 853 |
| 853 | 854 | if (pe->type & EEH_PE_PHB) | 854 | 855 | return pe->phb->bus; | @@ -859,9 +860,11 @@ struct pci_bus *eeh_pe_bus_get(struct eeh_pe *pe) | 859 | 860 |
| 860 | 861 | /* Retrieve the parent PCI bus of first (top) PCI device */ | 861 | 862 | edev = list_first_entry_or_null(&pe->edevs, struct eeh_dev, entry); | | 863 | + pci_lock_rescan_remove(); | 862 | 864 | pdev = eeh_dev_to_pci_dev(edev); | 863 | 865 | if (pdev) | 864 | | - return pdev->bus; | | 866 | + bus = pdev->bus; | | 867 | + pci_unlock_rescan_remove(); | 865 | 868 |
| 866 | | - return NULL; | | 869 | + return bus; | 867 | 870 | } |
Collapse file Copy file name to clipboardExpand all lines: arch/powerpc/kvm/book3s_64_vio.c +13-5Lines changed: 13 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -117,14 +117,16 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, | 117 | 117 | } | 118 | 118 | rcu_read_unlock(); | 119 | 119 |
| 120 | | - fdput(f); | 121 | | - | 122 | | - if (!found) | | 120 | + if (!found) { | | 121 | + fdput(f); | 123 | 122 | return -EINVAL; | | 123 | + } | 124 | 124 |
| 125 | 125 | table_group = iommu_group_get_iommudata(grp); | 126 | | - if (WARN_ON(!table_group)) | | 126 | + if (WARN_ON(!table_group)) { | | 127 | + fdput(f); | 127 | 128 | return -EFAULT; | | 129 | + } | 128 | 130 |
| 129 | 131 | for (i = 0; i < IOMMU_TABLE_GROUP_MAX_TABLES; ++i) { | 130 | 132 | struct iommu_table *tbltmp = table_group->tables[i]; | @@ -145,8 +147,10 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, | 145 | 147 | break; | 146 | 148 | } | 147 | 149 | } | 148 | | - if (!tbl) | | 150 | + if (!tbl) { | | 151 | + fdput(f); | 149 | 152 | return -EINVAL; | | 153 | + } | 150 | 154 |
| 151 | 155 | rcu_read_lock(); | 152 | 156 | list_for_each_entry_rcu(stit, &stt->iommu_tables, next) { | @@ -157,20 +161,23 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, | 157 | 161 | /* stit is being destroyed */ | 158 | 162 | iommu_tce_table_put(tbl); | 159 | 163 | rcu_read_unlock(); | | 164 | + fdput(f); | 160 | 165 | return -ENOTTY; | 161 | 166 | } | 162 | 167 | /* | 163 | 168 | * The table is already known to this KVM, we just increased | 164 | 169 | * its KVM reference counter and can return. | 165 | 170 | */ | 166 | 171 | rcu_read_unlock(); | | 172 | + fdput(f); | 167 | 173 | return 0; | 168 | 174 | } | 169 | 175 | rcu_read_unlock(); | 170 | 176 |
| 171 | 177 | stit = kzalloc(sizeof(*stit), GFP_KERNEL); | 172 | 178 | if (!stit) { | 173 | 179 | iommu_tce_table_put(tbl); | | 180 | + fdput(f); | 174 | 181 | return -ENOMEM; | 175 | 182 | } | 176 | 183 |
| @@ -179,6 +186,7 @@ extern long kvm_spapr_tce_attach_iommu_group(struct kvm *kvm, int tablefd, | 179 | 186 |
| 180 | 187 | list_add_rcu(&stit->next, &stt->iommu_tables); | 181 | 188 |
| | 189 | + fdput(f); | 182 | 190 | return 0; | 183 | 191 | } | 184 | 192 |
| |
Collapse file Copy file name to clipboardExpand all lines: arch/powerpc/platforms/pseries/setup.c +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -314,8 +314,8 @@ static int alloc_dispatch_log_kmem_cache(void) | 314 | 314 | { | 315 | 315 | void (*ctor)(void *) = get_dtl_cache_ctor(); | 316 | 316 |
| 317 | | - dtl_cache = kmem_cache_create("dtl", DISPATCH_LOG_BYTES, | 318 | | - DISPATCH_LOG_BYTES, 0, ctor); | | 317 | + dtl_cache = kmem_cache_create_usercopy("dtl", DISPATCH_LOG_BYTES, | | 318 | + DISPATCH_LOG_BYTES, 0, 0, DISPATCH_LOG_BYTES, ctor); | 319 | 319 | if (!dtl_cache) { | 320 | 320 | pr_warn("Failed to create dispatch trace log buffer cache\n"); | 321 | 321 | pr_warn("Stolen time statistics will be unreliable\n"); | |
|