Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 5.10.x+fslc up to v5.10.32 #313

Merged
merged 104 commits into from
Apr 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
5a62702
net/sctp: fix race condition in sctp_destroy_sock
Apr 13, 2021
b80ea54
mtd: rawnand: mtk: Fix WAITRDY break condition and timeout
hauke Mar 9, 2021
dfed481
Input: nspire-keypad - enable interrupts only when opened
Vogtinator Mar 23, 2021
f567fde
gpio: sysfs: Obey valid_mask
M-Vaittinen Mar 29, 2021
a5ad12d
dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback
davejiang Feb 17, 2021
0e3f147
dmaengine: idxd: fix delta_rec and crc size field for completion record
davejiang Mar 22, 2021
db23b7b
dmaengine: idxd: fix opcap sysfs attribute output
davejiang Mar 22, 2021
4ecf255
dmaengine: idxd: fix wq size store permission state
davejiang Apr 7, 2021
56f9c04
dmaengine: dw: Make it dependent to HAS_IOMEM
andy-shev Mar 24, 2021
ac030f5
dmaengine: Fix a double free in dma_async_device_register
Yunlongs Mar 31, 2021
4c59c5c
dmaengine: plx_dma: add a missing put_device() on error path
Mar 23, 2021
e5eb975
dmaengine: idxd: fix wq cleanup of WQCFG registers
davejiang Apr 12, 2021
f338b8f
ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
rafaeljw Apr 13, 2021
9f399a9
ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
tmlind Mar 8, 2021
a55de4f
ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
tmlind Mar 8, 2021
f12e8cf
lockdep: Add a missing initialization hint to the "INFO: Trying to re…
Mar 21, 2021
b448a6a
arc: kernel: Return -EFAULT if copy_to_user() fails
Mar 1, 2021
806adda
iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
Mar 2, 2021
b2f8476
xfrm: BEET mode doesn't support fragments for inner packets
lxin Mar 19, 2021
58d59d9
ASoC: max98373: Changed amp shutdown register as volatile
Mar 25, 2021
bfb5a15
ASoC: max98373: Added 30ms turn on/off time delay
Mar 25, 2021
7a1cd90
gpu/xen: Fix a use after free in xen_drm_drv_init
Yunlongs Mar 23, 2021
0d0ad98
neighbour: Disregard DEAD dst in neigh_update
Mar 19, 2021
505c489
ARM: keystone: fix integer overflow warning
arndb Mar 23, 2021
d61238a
ARM: omap1: fix building with clang IAS
arndb Mar 8, 2021
79ef0e6
drm/msm: Fix a5xx/a6xx timestamps
robclark Mar 25, 2021
d9fc084
ASoC: fsl_esai: Fix TDM slot setup for I2S mode
shcgit Apr 2, 2021
c836374
scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
mwilck Apr 1, 2021
8b9485b
iwlwifi: add support for Qu with AX201 device
matt680209 Mar 26, 2021
c09075d
net: ieee802154: stop dump llsec keys for monitors
Apr 5, 2021
7edf4d2
net: ieee802154: forbid monitor for add llsec key
Apr 5, 2021
08744a6
net: ieee802154: forbid monitor for del llsec key
Apr 5, 2021
2f80452
net: ieee802154: stop dump llsec devs for monitors
Apr 5, 2021
813b131
net: ieee802154: forbid monitor for add llsec dev
Apr 5, 2021
4c1775d
net: ieee802154: forbid monitor for del llsec dev
Apr 5, 2021
0771422
net: ieee802154: stop dump llsec devkeys for monitors
Apr 5, 2021
4846c2d
net: ieee802154: forbid monitor for add llsec devkey
Apr 5, 2021
ab9f9a1
net: ieee802154: forbid monitor for del llsec devkey
Apr 5, 2021
b97c7bc
net: ieee802154: stop dump llsec seclevels for monitors
Apr 5, 2021
248b9b6
net: ieee802154: forbid monitor for add llsec seclevel
Apr 5, 2021
2e08d9a
pcnet32: Use pci_resource_len to validate PCI resource
groeck Apr 6, 2021
cc413b3
mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
Mar 19, 2021
024f9d0
virt_wifi: Return micros for BSS TSF values
Databean Mar 18, 2021
955da2b
lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
julianbraha Apr 9, 2021
8b97875
Input: s6sy761 - fix coordinate read bit shift
calebccff Mar 7, 2021
dedf75a
Input: i8042 - fix Pegatron C15B ID entry
arndb Mar 23, 2021
18ba387
HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of de…
Pinglinux Mar 11, 2021
2b83087
dm verity fec: fix misaligned RS roots IO
Apr 14, 2021
957f83a
readdir: make sure to verify directory entry for legacy interfaces too
torvalds Apr 17, 2021
e2931f0
arm64: fix inline asm in load_unaligned_zeropad()
pcc Apr 1, 2021
e617799
arm64: alternatives: Move length validation in alternative_{insn, endif}
nathanchance Apr 14, 2021
f66d695
vfio/pci: Add missing range check in vfio_pci_mmap
Apr 12, 2021
6a70ab9
riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
Mar 29, 2021
0ef9919
scsi: libsas: Reset num_scatter if libata marks qc as NODATA
Mar 18, 2021
be07581
ixgbe: fix unbalanced device enable/disable in suspend/resume
liux2085 Mar 22, 2021
394c81e
netfilter: flowtable: fix NAT IPv6 offload mangling
ummakynes Mar 30, 2021
783645e
netfilter: conntrack: do not print icmpv6 as unknown via /proc
ummakynes Mar 30, 2021
a2af8a0
ice: Fix potential infinite loop when using u8 loop counter
Mar 31, 2021
eb82199
libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
vaibhav92 Apr 2, 2021
4d26865
netfilter: bridge: add pre_exit hooks for ebtable unregistration
Apr 7, 2021
7824d5a
netfilter: arp_tables: add pre_exit hook for table unregister
Apr 7, 2021
7f8e59c
libbpf: Fix potential NULL pointer dereference
cloftus Apr 8, 2021
40ed1d2
net: macb: fix the restore of cmp registers
claudiubeznea Apr 14, 2021
cda5507
net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta
Apr 9, 2021
dc1732b
netfilter: nft_limit: avoid possible divide error in nft_limit_init
Apr 9, 2021
e072247
net/mlx5e: Fix setting of RS FEC mode
ayalevin Apr 11, 2021
154ac84
net: davicom: Fix regulator not turned off on failed probe
tititiou36 Apr 11, 2021
ea0340e
net: sit: Unregister catch-all devices
hvenev Apr 12, 2021
33f3dab
net: ip6_tunnel: Unregister catch-all devices
hvenev Apr 12, 2021
76af812
mm: ptdump: fix build failure
chleroy Apr 16, 2021
35d7491
net: Make tcp_allowed_congestion_control readonly in non-init netns
JonathonReinhart Apr 13, 2021
44ef38c
i40e: fix the panic when running bpf in xdpdrv mode
Apr 14, 2021
1aec111
ethtool: pause: make sure we init driver stats
kuba-moo Apr 14, 2021
f8f01fc
ia64: remove duplicate entries in generic_defconfig
rddunlap Apr 16, 2021
e154b50
ia64: tools: remove inclusion of ia64-specific version of errno.h header
Apr 16, 2021
685bc73
ibmvnic: avoid calling napi_disable() twice
Apr 14, 2021
008885a
ibmvnic: remove duplicate napi_schedule call in do_reset function
Apr 14, 2021
976da1b
ibmvnic: remove duplicate napi_schedule call in open function
Apr 14, 2021
8d5a9db
ch_ktls: Fix kernel panic
vinaychelsio Apr 15, 2021
5f3c278
ch_ktls: fix device connection close
vinaychelsio Apr 15, 2021
65bdd56
ch_ktls: tcb close causes tls connection failure
vinaychelsio Apr 15, 2021
fd766f7
ch_ktls: do not send snd_una update to TCB in middle
vinaychelsio Apr 15, 2021
9143158
gro: ensure frag0 meets IP header alignment
Apr 13, 2021
a13d4a1
ARM: OMAP2+: Fix warning for omap_init_time_of()
tmlind Mar 24, 2021
11a718e
ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem…
Mar 11, 2021
1fc087f
ARM: footbridge: fix PCI interrupt mapping
Mar 25, 2021
4f90db2
ARM: OMAP2+: Fix uninitialized sr_inst
tmlind Mar 31, 2021
286c39d
arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
Andre-ARM Mar 16, 2021
8d7906c
arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference
jernejsk Mar 30, 2021
4f3ff11
bpf: Use correct permission flag for mixed signed bounds arithmetic
borkmann Mar 23, 2021
c670ff8
KVM: VMX: Convert vcpu_vmx.exit_reason to a union
Nov 6, 2020
7f64753
KVM: VMX: Don't use vcpu->run->internal.ndata as an array index
reijiw-kvm Apr 13, 2021
154fb9c
r8169: tweak max read request size for newer chips also in jumbo mtu …
hkallweit Jan 9, 2021
b2df20c
r8169: don't advertise pause in jumbo mode
hkallweit Apr 14, 2021
589fd96
bpf: Ensure off_reg has no mixed signed bounds for all types
borkmann Mar 23, 2021
480d875
bpf: Move off_reg into sanitize_ptr_alu
borkmann Mar 22, 2021
cada2ed
ARM: 9071/1: uprobes: Don't hook on thumb instructions
frestr Apr 5, 2021
496e2fa
arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically
ctmarinas Apr 9, 2021
55565c3
bpf: Rework ptr_limit into alu_limit and add common error path
borkmann Mar 23, 2021
7723d32
bpf: Improve verifier error messages for users
borkmann Mar 23, 2021
fbe6603
bpf: Move sanitize_val_alu out of op switch
borkmann Mar 24, 2021
6ac98ee
net: phy: marvell: fix detection of PHY on Topaz switches
pali Apr 12, 2021
aea70bd
Linux 5.10.32
gregkh Apr 21, 2021
1ab532e
Merge tag 'v5.10.32' into 5.10.x+fslc
zandrey Apr 21, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0
VERSION = 5
PATCHLEVEL = 10
SUBLEVEL = 31
SUBLEVEL = 32
EXTRAVERSION =
NAME = Dare mighty things

Expand Down
4 changes: 2 additions & 2 deletions arch/arc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ stash_usr_regs(struct rt_sigframe __user *sf, struct pt_regs *regs,
sizeof(sf->uc.uc_mcontext.regs.scratch));
err |= __copy_to_user(&sf->uc.uc_sigmask, set, sizeof(sigset_t));

return err;
return err ? -EFAULT : 0;
}

static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf)
Expand All @@ -110,7 +110,7 @@ static int restore_usr_regs(struct pt_regs *regs, struct rt_sigframe __user *sf)
&(sf->uc.uc_mcontext.regs.scratch),
sizeof(sf->uc.uc_mcontext.regs.scratch));
if (err)
return err;
return -EFAULT;

set_current_blocked(&set);
regs->bta = uregs.scratch.bta;
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/omap4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
i2c1 = &i2c2;
i2c2 = &i2c3;
i2c3 = &i2c4;
mmc0 = &mmc1;
mmc1 = &mmc2;
mmc2 = &mmc3;
mmc3 = &mmc4;
mmc4 = &mmc5;
serial0 = &uart1;
serial1 = &uart2;
serial2 = &uart3;
Expand Down
8 changes: 0 additions & 8 deletions arch/arm/boot/dts/omap44xx-clocks.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -770,14 +770,6 @@
ti,max-div = <2>;
};

sha2md5_fck: sha2md5_fck@15c8 {
#clock-cells = <0>;
compatible = "ti,gate-clock";
clocks = <&l3_div_ck>;
ti,bit-shift = <1>;
reg = <0x15c8>;
};

usb_phy_cm_clk32k: usb_phy_cm_clk32k@640 {
#clock-cells = <0>;
compatible = "ti,gate-clock";
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/omap5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
i2c2 = &i2c3;
i2c3 = &i2c4;
i2c4 = &i2c5;
mmc0 = &mmc1;
mmc1 = &mmc2;
mmc2 = &mmc3;
mmc3 = &mmc4;
mmc4 = &mmc5;
serial0 = &uart1;
serial1 = &uart2;
serial2 = &uart3;
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-footbridge/cats-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
#include <asm/mach-types.h>

/* cats host-specific stuff */
static int irqmap_cats[] __initdata = { IRQ_PCI, IRQ_IN0, IRQ_IN1, IRQ_IN3 };
static int irqmap_cats[] = { IRQ_PCI, IRQ_IN0, IRQ_IN1, IRQ_IN3 };

static u8 cats_no_swizzle(struct pci_dev *dev, u8 *pin)
{
return 0;
}

static int __init cats_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
static int cats_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
if (dev->irq >= 255)
return -1; /* not a valid interrupt. */
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-footbridge/ebsa285-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
#include <asm/mach/pci.h>
#include <asm/mach-types.h>

static int irqmap_ebsa285[] __initdata = { IRQ_IN3, IRQ_IN1, IRQ_IN0, IRQ_PCI };
static int irqmap_ebsa285[] = { IRQ_IN3, IRQ_IN1, IRQ_IN0, IRQ_PCI };

static int __init ebsa285_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
static int ebsa285_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
if (dev->vendor == PCI_VENDOR_ID_CONTAQ &&
dev->device == PCI_DEVICE_ID_CONTAQ_82C693)
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-footbridge/netwinder-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* We now use the slot ID instead of the device identifiers to select
* which interrupt is routed where.
*/
static int __init netwinder_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
static int netwinder_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
switch (slot) {
case 0: /* host bridge */
Expand Down
5 changes: 2 additions & 3 deletions arch/arm/mach-footbridge/personal-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
#include <asm/mach/pci.h>
#include <asm/mach-types.h>

static int irqmap_personal_server[] __initdata = {
static int irqmap_personal_server[] = {
IRQ_IN0, IRQ_IN1, IRQ_IN2, IRQ_IN3, 0, 0, 0,
IRQ_DOORBELLHOST, IRQ_DMA1, IRQ_DMA2, IRQ_PCI
};

static int __init personal_server_map_irq(const struct pci_dev *dev, u8 slot,
u8 pin)
static int personal_server_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
{
unsigned char line;

Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-keystone/keystone.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static void __init keystone_init(void)
static long long __init keystone_pv_fixup(void)
{
long long offset;
phys_addr_t mem_start, mem_end;
u64 mem_start, mem_end;

mem_start = memblock_start_of_DRAM();
mem_end = memblock_end_of_DRAM();
Expand All @@ -78,7 +78,7 @@ static long long __init keystone_pv_fixup(void)
if (mem_start < KEYSTONE_HIGH_PHYS_START ||
mem_end > KEYSTONE_HIGH_PHYS_END) {
pr_crit("Invalid address space for memory (%08llx-%08llx)\n",
(u64)mem_start, (u64)mem_end);
mem_start, mem_end);
return 0;
}

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-omap1/ams-delta-fiq-handler.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <linux/platform_data/gpio-omap.h>

#include <asm/assembler.h>
#include <asm/irq.h>

#include "ams-delta-fiq.h"
#include "board-ams-delta.h"
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/board-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static void __init __maybe_unused omap_generic_init(void)
}

/* Clocks are needed early, see drivers/clocksource for the rest */
void __init __maybe_unused omap_init_time_of(void)
static void __init __maybe_unused omap_init_time_of(void)
{
omap_clk_init();
timer_probe();
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/sr_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ static const char * const dra7_sr_instances[] = {

int __init omap_devinit_smartreflex(void)
{
const char * const *sr_inst;
const char * const *sr_inst = NULL;
int i, nr_sr = 0;

if (soc_is_omap44xx()) {
Expand Down
4 changes: 3 additions & 1 deletion arch/arm/mm/pmsa-v7.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ void __init pmsav7_adjust_lowmem_bounds(void)
phys_addr_t mem_end;
phys_addr_t reg_start, reg_end;
unsigned int mem_max_regions;
bool first = true;
int num;
u64 i;

Expand Down Expand Up @@ -263,7 +264,7 @@ void __init pmsav7_adjust_lowmem_bounds(void)
#endif

for_each_mem_range(i, &reg_start, &reg_end) {
if (i == 0) {
if (first) {
phys_addr_t phys_offset = PHYS_OFFSET;

/*
Expand All @@ -275,6 +276,7 @@ void __init pmsav7_adjust_lowmem_bounds(void)
mem_start = reg_start;
mem_end = reg_end;
specified_mem_size = mem_end - mem_start;
first = false;
} else {
/*
* memblock auto merges contiguous blocks, remove
Expand Down
4 changes: 3 additions & 1 deletion arch/arm/mm/pmsa-v8.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,11 @@ void __init pmsav8_adjust_lowmem_bounds(void)
{
phys_addr_t mem_end;
phys_addr_t reg_start, reg_end;
bool first = true;
u64 i;

for_each_mem_range(i, &reg_start, &reg_end) {
if (i == 0) {
if (first) {
phys_addr_t phys_offset = PHYS_OFFSET;

/*
Expand All @@ -107,6 +108,7 @@ void __init pmsav8_adjust_lowmem_bounds(void)
if (reg_start != phys_offset)
panic("First memory bank must be contiguous from PHYS_OFFSET");
mem_end = reg_end;
first = false;
} else {
/*
* memblock auto merges contiguous blocks, remove
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/probes/uprobes/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,15 @@ unsigned long uprobe_get_swbp_addr(struct pt_regs *regs)
static struct undef_hook uprobes_arm_break_hook = {
.instr_mask = 0x0fffffff,
.instr_val = (UPROBE_SWBP_ARM_INSN & 0x0fffffff),
.cpsr_mask = MODE_MASK,
.cpsr_mask = (PSR_T_BIT | MODE_MASK),
.cpsr_val = USR_MODE,
.fn = uprobe_trap_handler,
};

static struct undef_hook uprobes_arm_ss_hook = {
.instr_mask = 0x0fffffff,
.instr_val = (UPROBE_SS_ARM_INSN & 0x0fffffff),
.cpsr_mask = MODE_MASK,
.cpsr_mask = (PSR_T_BIT | MODE_MASK),
.cpsr_val = USR_MODE,
.fn = uprobe_trap_handler,
};
Expand Down
6 changes: 5 additions & 1 deletion arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1390,10 +1390,13 @@ config ARM64_PAN
The feature is detected at runtime, and will remain as a 'nop'
instruction if the cpu does not implement the feature.

config AS_HAS_LSE_ATOMICS
def_bool $(as-instr,.arch_extension lse)

config ARM64_LSE_ATOMICS
bool
default ARM64_USE_LSE_ATOMICS
depends on $(as-instr,.arch_extension lse)
depends on AS_HAS_LSE_ATOMICS

config ARM64_USE_LSE_ATOMICS
bool "Atomic instructions"
Expand Down Expand Up @@ -1667,6 +1670,7 @@ config ARM64_MTE
bool "Memory Tagging Extension support"
default y
depends on ARM64_AS_HAS_MTE && ARM64_TAGGED_ADDR_ABI
depends on AS_HAS_LSE_ATOMICS
select ARCH_USES_HIGH_VMA_FLAGS
help
Memory Tagging (part of the ARMv8.5 Extensions) provides
Expand Down
4 changes: 4 additions & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@
compatible = "pine64,pine64-lts", "allwinner,sun50i-r18",
"allwinner,sun50i-a64";
};

&mmc0 {
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 push-push switch */
};
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
vmmc-supply = <&reg_dcdc1>;
disable-wp;
bus-width = <4>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 push-pull switch */
status = "okay";
};

Expand Down
4 changes: 0 additions & 4 deletions arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,6 @@
vcc-pm-supply = <&reg_aldo1>;
};

&rtc {
clocks = <&ext_osc32k>;
};

&spdif {
status = "okay";
};
Expand Down
8 changes: 4 additions & 4 deletions arch/arm64/include/asm/alternative.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ static inline void apply_alternatives_module(void *start, size_t length) { }
.popsection
.subsection 1
663: \insn2
664: .previous
.org . - (664b-663b) + (662b-661b)
664: .org . - (664b-663b) + (662b-661b)
.org . - (662b-661b) + (664b-663b)
.previous
.endif
.endm

Expand Down Expand Up @@ -191,11 +191,11 @@ static inline void apply_alternatives_module(void *start, size_t length) { }
*/
.macro alternative_endif
664:
.org . - (664b-663b) + (662b-661b)
.org . - (662b-661b) + (664b-663b)
.if .Lasm_alt_mode==0
.previous
.endif
.org . - (664b-663b) + (662b-661b)
.org . - (662b-661b) + (664b-663b)
.endm

/*
Expand Down
10 changes: 5 additions & 5 deletions arch/arm64/include/asm/word-at-a-time.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,17 @@ static inline unsigned long find_zero(unsigned long mask)
*/
static inline unsigned long load_unaligned_zeropad(const void *addr)
{
unsigned long ret, offset;
unsigned long ret, tmp;

/* Load word from unaligned pointer addr */
asm(
"1: ldr %0, %3\n"
"2:\n"
" .pushsection .fixup,\"ax\"\n"
" .align 2\n"
"3: and %1, %2, #0x7\n"
" bic %2, %2, #0x7\n"
" ldr %0, [%2]\n"
"3: bic %1, %2, #0x7\n"
" ldr %0, [%1]\n"
" and %1, %2, #0x7\n"
" lsl %1, %1, #0x3\n"
#ifndef __AARCH64EB__
" lsr %0, %0, %1\n"
Expand All @@ -73,7 +73,7 @@ static inline unsigned long load_unaligned_zeropad(const void *addr)
" b 2b\n"
" .popsection\n"
_ASM_EXTABLE(1b, 3b)
: "=&r" (ret), "=&r" (offset)
: "=&r" (ret), "=&r" (tmp)
: "r" (addr), "Q" (*(unsigned long *)addr));

return ret;
Expand Down
10 changes: 6 additions & 4 deletions arch/arm64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -148,16 +148,18 @@ alternative_cb_end
.endm

/* Check for MTE asynchronous tag check faults */
.macro check_mte_async_tcf, flgs, tmp
.macro check_mte_async_tcf, tmp, ti_flags
#ifdef CONFIG_ARM64_MTE
.arch_extension lse
alternative_if_not ARM64_MTE
b 1f
alternative_else_nop_endif
mrs_s \tmp, SYS_TFSRE0_EL1
tbz \tmp, #SYS_TFSR_EL1_TF0_SHIFT, 1f
/* Asynchronous TCF occurred for TTBR0 access, set the TI flag */
orr \flgs, \flgs, #_TIF_MTE_ASYNC_FAULT
str \flgs, [tsk, #TSK_TI_FLAGS]
mov \tmp, #_TIF_MTE_ASYNC_FAULT
add \ti_flags, tsk, #TSK_TI_FLAGS
stset \tmp, [\ti_flags]
msr_s SYS_TFSRE0_EL1, xzr
1:
#endif
Expand Down Expand Up @@ -207,7 +209,7 @@ alternative_else_nop_endif
disable_step_tsk x19, x20

/* Check for asynchronous tag check faults in user space */
check_mte_async_tcf x19, x22
check_mte_async_tcf x22, x23
apply_ssbd 1, x22, x23

ptrauth_keys_install_kernel tsk, x20, x22, x23
Expand Down
2 changes: 0 additions & 2 deletions arch/ia64/configs/generic_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_FC_ATTRS=y
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_QLOGIC_1280=y
CONFIG_ATA=y
CONFIG_ATA_PIIX=y
CONFIG_SATA_VITESSE=y
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
Expand Down
2 changes: 1 addition & 1 deletion arch/riscv/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ config ARCH_FLATMEM_ENABLE
config ARCH_SPARSEMEM_ENABLE
def_bool y
depends on MMU
select SPARSEMEM_STATIC if 32BIT && SPARSMEM
select SPARSEMEM_STATIC if 32BIT && SPARSEMEM
select SPARSEMEM_VMEMMAP_ENABLE if 64BIT

config ARCH_SELECT_MEMORY_MODEL
Expand Down
Loading