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

5.15.6 #85

Closed
wants to merge 192 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
192 commits
Select commit Hold shift + click to select a range
c82cd4e
scsi: sd: Fix sd_do_mode_sense() buffer length handling
damien-lemoal Aug 20, 2021
dbd9610
ACPI: Get acpi_device's parent from the parent field
Nov 17, 2021
e0b8e1a
ACPI: CPPC: Add NULL pointer check to cppc_get_perf()
rafaeljw Nov 18, 2021
ea77339
USB: serial: pl2303: fix GC type detection
jhovold Nov 23, 2021
616dc78
USB: serial: option: add Telit LE910S1 0x9200 composition
dnlplm Nov 19, 2021
8228d7b
USB: serial: option: add Fibocom FM101-GL variants
Nov 23, 2021
581f427
usb: dwc2: gadget: Fix ISOC flow for elapsed frames
Nov 4, 2021
a5e1211
usb: dwc2: hcd_queue: Fix use of floating point literal
nathanchance Nov 5, 2021
a6cc244
usb: dwc3: leave default DMA for PCI devices
fabioaiuto Nov 13, 2021
949fac2
usb: dwc3: core: Revise GHWPARAMS9 offset
Oct 25, 2021
d92d8b5
usb: dwc3: gadget: Ignore NoStream after End Transfer
Oct 25, 2021
ecba9bc
usb: dwc3: gadget: Check for L1/L2/U3 for Start Transfer
Oct 25, 2021
70ba56d
usb: dwc3: gadget: Fix null pointer exception
Nov 9, 2021
54619c3
net: usb: Correct PHY handling of smsc95xx
mwelchuk Nov 22, 2021
39509d7
net: nexthop: fix null pointer dereference when IPv6 is not enabled
Nov 23, 2021
a815c16
usb: chipidea: ci_hdrc_imx: fix potential error pointer dereference i…
Nov 17, 2021
907f68f
usb: typec: fusb302: Fix masking of comparator and bc_lvl interrupts
Nov 8, 2021
631a7e0
usb: xhci: tegra: Check padctrl interrupt presence in device tree
digetx Nov 7, 2021
55197c2
usb: hub: Fix usb enumeration issue due to address0 race
matnyman Nov 15, 2021
816904f
usb: hub: Fix locking issues with address0_mutex
matnyman Nov 23, 2021
849d86e
binder: fix test regression due to sender_euid change
toddkjos Nov 12, 2021
25aa8e9
ALSA: ctxfi: Fix out-of-range access
tiwai Nov 18, 2021
4e6ef09
ALSA: hda/realtek: Add quirk for ASRock NUC Box 1100
tuxedo-wse Nov 12, 2021
238c045
ALSA: hda/realtek: Fix LED on HP ProBook 435 G7
tiwai Nov 18, 2021
02130f5
media: cec: copy sequence field for the reply
Nov 2, 2021
28849ab
Revert "parisc: Fix backtrace to always include init funtion names"
hdeller Nov 21, 2021
d048d3e
HID: wacom: Use "Confidence" flag to prevent reporting invalid contacts
jigpu Nov 9, 2021
d58ec6e
staging/fbtft: Fix backlight
notro Nov 5, 2021
f0340be
staging: greybus: Add missing rwsem around snd_ctl_remove() calls
tiwai Nov 16, 2021
e27ee2f
staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect()
Nov 17, 2021
51bdb19
staging: r8188eu: Use kzalloc() with GFP_ATOMIC in atomic context
xp4ns3 Nov 1, 2021
b0d6126
staging: r8188eu: Fix breakage introduced when 5G code was removed
lwfinger Nov 7, 2021
788fa64
staging: r8188eu: use GFP_ATOMIC under spinlock
MichaelStraube Nov 8, 2021
c8d3775
staging: r8188eu: fix a memory leak in rtw_wx_read32()
Nov 9, 2021
695438d
fuse: release pipe buf after last use
Nov 25, 2021
6660b61
xen: don't continue xenstore initialization in case of errors
Nov 15, 2021
c673d72
xen: detect uninitialized xenbus in xenbus_init
Nov 23, 2021
09eb40f
io_uring: correct link-list traversal locking
isilence Nov 23, 2021
3d2a1e6
io_uring: fail cancellation for EXITING tasks
isilence Nov 26, 2021
1c939a5
io_uring: fix link traversal locking
isilence Nov 26, 2021
2def7fd
drm/amdgpu: IH process reset count when restart
PhilipYangA Nov 13, 2021
832c006
drm/amdgpu/pm: fix powerplay OD interface
alexdeucher Nov 23, 2021
a70414d
drm/nouveau: recognise GA106
Nov 18, 2021
b055765
ksmbd: downgrade addition info error msg to debug in smb2_get_info_sec()
namjaejeon Nov 20, 2021
522cd5c
ksmbd: contain default data stream even if xattr is empty
namjaejeon Nov 21, 2021
11e6598
ksmbd: fix memleak in get_file_stream_info()
namjaejeon Nov 24, 2021
83247fd
KVM: PPC: Book3S HV: Prevent POWER7/8 TLB flush flushing SLB
npiggin Nov 19, 2021
a3e90db
tracing/uprobe: Fix uprobe_perf_open probes iteration
Nov 23, 2021
55bc443
tracing: Fix pid filtering when triggers are attached
rostedt Nov 26, 2021
4721b9e
mmc: sdhci-esdhc-imx: disable CMDQ support
Gateworks Nov 3, 2021
4332ead
mmc: sdhci: Fix ADMA for PAGE_SIZE >= 64KiB
ahunter6 Nov 15, 2021
9ed3dc3
mdio: aspeed: Fix "Link is Down" issue
aspeeddylan Nov 25, 2021
7dd7409
arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd
liupingfan Nov 12, 2021
671fbc2
cpufreq: intel_pstate: Fix active mode offline/online EPP handling
rafaeljw Nov 17, 2021
c4e3ff8
powerpc/32: Fix hardlockup on vmap stack overflow
chleroy Nov 18, 2021
55d2254
iomap: Fix inline extent handling in iomap_readpage
Nov 18, 2021
a0a7875
NFSv42: Fix pagecache invalidation after COPY/CLONE
Nov 16, 2021
c37f836
PCI: aardvark: Deduplicate code in advk_pcie_rd_conf()
elkablo Oct 5, 2021
70b131f
PCI: aardvark: Implement re-issuing config requests on CRS response
pali Oct 5, 2021
cc89066
PCI: aardvark: Simplify initialization of rootcap on virtual bridge
pali Oct 5, 2021
edd145c
PCI: aardvark: Fix link training
pali Oct 5, 2021
de6231f
drm/amd/display: Fix OLED brightness control on eDP
Nov 17, 2021
7b3a34f
proc/vmcore: fix clearing user buffer by properly using clear_user()
davidhildenbrand Nov 20, 2021
37c8d48
ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended
kv2019i Nov 5, 2021
59a0088
netfilter: ctnetlink: fix filtering with CTA_TUPLE_REPLY
ffourcot Nov 3, 2021
49f8783
netfilter: ctnetlink: do not erase error code with EINVAL
ffourcot Nov 3, 2021
e76228c
netfilter: ipvs: Fix reuse connection if RS weight is 0
yangxingwu Nov 4, 2021
ed741b8
netfilter: flowtable: fix IPv6 tunnel addr match
willmo Nov 7, 2021
75fa2da
media: v4l2-core: fix VIDIOC_DQEVENT handling on non-x86
arndb Oct 26, 2021
03339d1
firmware: arm_scmi: Fix null de-reference on error path
cris-ma Nov 12, 2021
b14b8cf
ARM: dts: BCM5301X: Fix I2C controller interrupt
ffainelli Oct 27, 2021
6012bea
ARM: dts: BCM5301X: Add interrupt properties to GPIO node
ffainelli Oct 28, 2021
322eeba
ARM: dts: bcm2711: Fix PCIe interrupts
ffainelli Oct 29, 2021
f61e533
ASoC: qdsp6: q6routing: Conditionally reset FrontEnd Mixer
Srinivas-Kandagatla Nov 16, 2021
f4c465b
ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
Srinivas-Kandagatla Nov 16, 2021
49475a2
ASoC: topology: Add missing rwsem around snd_ctl_remove() calls
tiwai Nov 16, 2021
de17824
ASoC: codecs: wcd938x: fix volatile register range
Srinivas-Kandagatla Nov 16, 2021
b1b33a1
ASoC: codecs: wcd934x: return error code correctly from hw_params
Srinivas-Kandagatla Nov 16, 2021
4739705
ASoC: codecs: lpass-rx-macro: fix HPHR setting CLSH mask
Srinivas-Kandagatla Nov 16, 2021
6335d90
net: ieee802154: handle iftypes as u32
Nov 12, 2021
7382bca
firmware: arm_scmi: Fix base agent discover response
vingu-linaro Nov 17, 2021
008fb83
firmware: arm_scmi: pm: Propagate return value to caller
MrVan Nov 16, 2021
63073a0
ASoC: stm32: i2s: fix 32 bits channel length without mclk
Nov 17, 2021
c76a5e5
NFSv42: Don't fail clone() unless the OP_CLONE operation failed
Nov 16, 2021
20a09c8
ARM: socfpga: Fix crash with CONFIG_FORTIRY_SOURCE
tiwai Nov 18, 2021
8f98d64
drm/nouveau/acr: fix a couple NULL vs IS_ERR() checks
Nov 18, 2021
032cf0a
scsi: qla2xxx: edif: Fix off by one bug in qla_edif_app_getfcinfo()
Nov 9, 2021
8485649
scsi: mpt3sas: Fix kernel panic during drive powercycle test
sreekanthbrcm Nov 17, 2021
8f13c5e
scsi: mpt3sas: Fix system going into read-only mode
sreekanthbrcm Nov 17, 2021
b28df76
scsi: mpt3sas: Fix incorrect system timestamp
sreekanthbrcm Nov 17, 2021
5557217
drm/vc4: fix error code in vc4_create_object()
Nov 18, 2021
94850e2
drm/aspeed: Fix vga_pw sysfs output
shenki Nov 17, 2021
8599e15
net: marvell: prestera: fix brige port operation
Nov 18, 2021
03e5203
net: marvell: prestera: fix double free issue on err path
Nov 18, 2021
740dd84
HID: input: Fix parsing of HID_CP_CONSUMER_CONTROL fields
jwrdegoede Oct 28, 2021
6341c9c
HID: input: set usage type to key on keycode remap
t-8ch Oct 28, 2021
25bbaa3
HID: magicmouse: prevent division by 0 on scroll
Nov 14, 2021
e4031c0
iavf: Prevent changing static ITR values if adaptive moderation is on
niteshbvenkatesh Jun 4, 2021
8d4b4e0
iavf: Fix refreshing iavf adapter stats on ethtool request
jjagielsk Sep 15, 2021
229e70b
iavf: Fix VLAN feature flags after VFR
bcreeley13 Nov 5, 2021
7c7cfc9
x86/pvh: add prototype for xen_pvh_init()
jgross1 Oct 6, 2021
c6db0b1
xen/pvh: add missing prototype to header
jgross1 Nov 19, 2021
26c3603
ALSA: intel-dsp-config: add quirk for JSL devices based on ES8336 codec
plbossart Oct 27, 2021
10ef3a1
mptcp: fix delack timer
Nov 19, 2021
97e5d85
mptcp: use delegate action to schedule 3rd ack retrans
Nov 19, 2021
80d7098
af_unix: fix regression in read after shutdown
vwax Nov 19, 2021
88f6b5f
firmware: smccc: Fix check for ARCH_SOC_ID not implemented
kelleymh Nov 19, 2021
f1f243c
ipv6: fix typos in __ip6_finish_output()
Nov 19, 2021
f6cd576
nfp: checking parameter process for rx-usecs/tx-usecs is invalid
diana5nana Nov 19, 2021
8d196fa
net: stmmac: retain PTP clock time during SIOCSHWTSTAMP ioctls
h-assmann Nov 21, 2021
e085ae6
net: ipv6: add fib6_nh_release_dsts stub
Nov 22, 2021
6652101
net: nexthop: release IPv6 per-cpu dsts when replacing a nexthop group
Nov 22, 2021
992ba40
ice: fix vsi->txq_map sizing
mfijalko Oct 26, 2021
1f10b09
ice: avoid bpf_prog refcount underflow
maplantykow Oct 26, 2021
a67c045
scsi: core: sysfs: Fix setting device state to SDEV_RUNNING
mikechristie Nov 20, 2021
8b3b9aa
scsi: scsi_debug: Zero clear zones at reset write pointer
kawasaki Nov 22, 2021
4339cd0
erofs: fix deadlock when shrink erofs slab
hjn-1 Nov 18, 2021
cc432b0
i2c: virtio: disable timeout handling
vwax Nov 11, 2021
12dea26
net/smc: Ensure the active closing peer first closes clcsock
Nov 23, 2021
da4d701
mlxsw: spectrum: Protect driver from buggy firmware
Nov 23, 2021
f38aa5c
net: ipa: directly disable ipa-setup-ready interrupt
Nov 23, 2021
740c461
net: ipa: separate disabling setup from modem stop
Nov 23, 2021
d815f7c
net: ipa: kill ipa_cmd_pipeline_clear()
Nov 23, 2021
57e9139
net: marvell: mvpp2: increase MTU limit when XDP enabled
elkablo Nov 22, 2021
d10ecfd
cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs
Nov 12, 2021
63a68f3
nvmet-tcp: fix incomplete data digest send
Nov 22, 2021
85851d9
drm/hyperv: Fix device removal on Gen1 VMs
Nov 19, 2021
ff1a307
arm64: uaccess: avoid blocking within critical sections
Nov 22, 2021
fd49f1f
net/ncsi : Add payload to be 32-bit aligned to fix dropped packets
Nov 22, 2021
c83f275
PM: hibernate: use correct mode for swsusp_close()
Nov 23, 2021
4da5640
drm/amd/display: Fix DPIA outbox timeout after GPU reset
Nov 8, 2021
7b904ba
drm/amd/display: Set plane update flags for all planes in reset
Nov 9, 2021
8165a96
tcp_cubic: fix spurious Hystart ACK train detections for not-cwnd-lim…
Nov 23, 2021
cc16454
lan743x: fix deadlock in lan743x_phy_link_status_change()
hkallweit Nov 24, 2021
d6525de
net: phylink: Force link down and retrigger resolve on interface change
Nov 23, 2021
e85d50c
net: phylink: Force retrigger in case of latched link-fail indicator
Nov 23, 2021
bb851d0
net/smc: Fix NULL pointer dereferencing in smc_vlan_by_tcpsk()
karstengr Nov 24, 2021
a93af38
net/smc: Fix loop in smc_listen
Nov 24, 2021
5585036
nvmet: use IOCB_NOWAIT only if the filesystem supports it
maurizio-lombardi Nov 22, 2021
1685d66
igb: fix netpoll exit with traffic
jbrandeb Nov 23, 2021
ea3c758
MIPS: loongson64: fix FTLB configuration
mips-hp Nov 25, 2021
a6a75b5
MIPS: use 3-level pgtable for 64KB page size on MIPS_VA_BITS_48
mips-hp Nov 25, 2021
befe4e2
tls: splice_read: fix record type check
kuba-moo Nov 24, 2021
6a01233
tls: splice_read: fix accessing pre-processed records
kuba-moo Nov 24, 2021
b3c3709
tls: fix replacing proto_ops
kuba-moo Nov 24, 2021
a92f0ee
net: stmmac: Disable Tx queues when reconfiguring the interface
Yackou Nov 24, 2021
e25bdbc
net/sched: sch_ets: don't peek at classes beyond 'nbands'
dcaratti Nov 24, 2021
abfdd9e
ethtool: ioctl: fix potential NULL deref in ethtool_set_coalesce()
julianwiedmann Nov 26, 2021
f7fc72a
net: vlan: fix underflow for the real_dev refcnt
Nov 26, 2021
724c50c
net/smc: Don't call clcsock shutdown twice when smc shutdown
Nov 26, 2021
41f967a
net: hns3: fix VF RSS failed problem after PF enable multi-TCs
Nov 26, 2021
d1e71d7
net: hns3: fix incorrect components info of ethtool --reset command
Nov 26, 2021
93945f2
net: mscc: ocelot: don't downgrade timestamping RX filters in SIOCSHW…
vladimiroltean Nov 26, 2021
7b9237a
net: mscc: ocelot: correctly report the timestamping RX filters in et…
vladimiroltean Nov 26, 2021
76723ed
locking/rwsem: Make handoff bit handling more consistent
Waiman-Long Nov 16, 2021
5f8c275
perf: Ignore sigtrap for tracepoints destined for other tasks
melver Nov 9, 2021
229c555
sched/scs: Reset task stack state in bringup_cpu()
Nov 23, 2021
88fc40a
iommu/rockchip: Fix PAGE_DESC_HI_MASKs for RK3568
knaerzche Nov 24, 2021
724ee06
iommu/vt-d: Fix unmap_pages support
awilliam Nov 26, 2021
fb89bcb
f2fs: quota: fix potential deadlock
chaseyu Sep 3, 2021
8984bba
f2fs: set SBI_NEED_FSCK flag when inconsistent node block found
weichao-guo Sep 18, 2021
fda0d13
riscv: dts: microchip: fix board compatible
krzk Sep 27, 2021
98805da
riscv: dts: microchip: drop duplicated MMC/SDHC node
krzk Sep 27, 2021
a96c6f0
cifs: nosharesock should not share socket with future sessions
sprasad-microsoft Nov 6, 2021
68883f1
ceph: properly handle statfs on multifs setups
jtlayton Oct 5, 2021
e2c8ed0
iommu/amd: Clarify AMD IOMMUv2 initialization messages
joergroedel Nov 23, 2021
e4d58ac
vdpa_sim: avoid putting an uninitialized iova_domain
Nov 24, 2021
278f72e
vhost/vsock: fix incorrect used length reported to the guest
stefano-garzarella Nov 22, 2021
6e56e87
ksmbd: Fix an error handling path in 'smb2_sess_setup()'
tititiou36 Nov 7, 2021
c9c8c05
tracing: Check pid filtering when creating events
rostedt Nov 26, 2021
d841c67
cifs: nosharesock should be set on new server
sprasad-microsoft Nov 21, 2021
2d447d3
io_uring: fix soft lockup when call __io_remove_buffers
Nov 22, 2021
4cbe253
firmware: arm_scmi: Fix type error assignment in voltage protocol
cris-ma Nov 15, 2021
ec8848a
firmware: arm_scmi: Fix type error in sensor protocol
cris-ma Nov 15, 2021
d9262cc
docs: accounting: update delay-accounting.rst reference
mchehab Nov 16, 2021
e03513f
blk-mq: cancel blk-mq dispatch work in both blk_cleanup_queue and dis…
Nov 16, 2021
db8ed1e
block: avoid to quiesce queue in elevator_init_mq
Nov 17, 2021
8c501d9
drm/amdgpu/gfx10: add wraparound gpu counter check for APUs as well
alexdeucher Nov 18, 2021
4268e83
drm/amdgpu/gfx9: switch to golden tsc registers for renoir+
alexdeucher Nov 18, 2021
a254765
Linux 5.15.6
gregkh Dec 1, 2021
e72fdf0
base packaging
Dec 1, 2021
a11cc88
UBUNTU: SAUCE: kbuild: add -fcf-protection=none when using retpoline …
Jul 8, 2019
317add9
UBUNTU: SAUCE: add vmlinux.strip to BOOT_TARGETS1 on powerpc
Sep 9, 2016
5a7454f
UBUNTU: SAUCE: tools/hv/lsvmbus -- add manual page
May 27, 2016
1766e79
debian changelog
Dec 1, 2021
28a3608
configs (based on Ubuntu-5.15.0-13.13)
Dec 1, 2021
c89f263
System76 Linux
jackpot51 Oct 11, 2019
79db579
ALSA: hda/realtek - Reapply pin fixup for oryp5
crawfxrd Aug 27, 2020
9f80fed
pinctrl: Export intel_pinctrl_probe
jackpot51 Sep 14, 2021
ad3cc0f
pinctrl: tigerlake: Workaround for old communities on System76 gaze16
jackpot51 Sep 14, 2021
86cd5fa
Disable tb_acpi_is_native for System76 coreboot machines
jackpot51 Sep 24, 2021
e45c7f0
DROP ON REBASE: 5.15.6-76051506.202112010437 based on 5.15.6-051506.2…
jackpot51 Dec 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ modules.order
#
# Debian directory (make deb-pkg)
#
/debian/
#/debian/
/debian/build/
/debian/files

#
# Snap directory (make snap-pkg)
Expand Down
2 changes: 1 addition & 1 deletion Documentation/admin-guide/sysctl/kernel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ task_delayacct
===============

Enables/disables task delay accounting (see
:doc:`accounting/delay-accounting.rst`). Enabling this feature incurs
Documentation/accounting/delay-accounting.rst. Enabling this feature incurs
a small amount of overhead in the scheduler but is useful for debugging
and performance tuning. It is required by some tools such as iotop.

Expand Down
3 changes: 1 addition & 2 deletions Documentation/networking/ipvs-sysctl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ conn_reuse_mode - INTEGER

0: disable any special handling on port reuse. The new
connection will be delivered to the same real server that was
servicing the previous connection. This will effectively
disable expire_nodest_conn.
servicing the previous connection.

bit 1: enable rescheduling of new connections when it is safe.
That is, whenever expire_nodest_conn and for TCP sockets, when
Expand Down
8 changes: 7 additions & 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 = 15
SUBLEVEL = 5
SUBLEVEL = 6
EXTRAVERSION =
NAME = Trick or Treat

Expand Down Expand Up @@ -899,6 +899,12 @@ ifdef CONFIG_FTRACE_MCOUNT_USE_OBJTOOL
CC_FLAGS_USING += -DCC_USING_NOP_MCOUNT
endif
ifdef CONFIG_FTRACE_MCOUNT_USE_RECORDMCOUNT
# ensure -fcf-protection is disabled when using retpoline as it is
# incompatible with -mindirect-branch=thunk-extern
ifdef CONFIG_RETPOLINE
KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none,)
endif

ifdef CONFIG_HAVE_C_RECORDMCOUNT
BUILD_C_RECORDMCOUNT := y
export BUILD_C_RECORDMCOUNT
Expand Down
8 changes: 7 additions & 1 deletion arch/arm/boot/dts/bcm2711.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -506,11 +506,17 @@
#address-cells = <3>;
#interrupt-cells = <1>;
#size-cells = <2>;
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "pcie", "msi";
interrupt-map-mask = <0x0 0x0 0x0 0x7>;
interrupt-map = <0 0 0 1 &gicv2 GIC_SPI 143
IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 2 &gicv2 GIC_SPI 144
IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 3 &gicv2 GIC_SPI 145
IRQ_TYPE_LEVEL_HIGH>,
<0 0 0 4 &gicv2 GIC_SPI 146
IRQ_TYPE_LEVEL_HIGH>;
msi-controller;
msi-parent = <&pcie0>;
Expand Down
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/bcm5301x.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@

gpio-controller;
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
};

pcie0: pcie@12000 {
Expand Down Expand Up @@ -408,7 +410,7 @@
i2c0: i2c@18009000 {
compatible = "brcm,iproc-i2c";
reg = <0x18009000 0x50>;
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>;
#size-cells = <0>;
clock-frequency = <100000>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-socfpga/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extern void __iomem *sdr_ctl_base_addr;
u32 socfpga_sdram_self_refresh(u32 sdr_base);
extern unsigned int socfpga_sdram_self_refresh_sz;

extern char secondary_trampoline, secondary_trampoline_end;
extern char secondary_trampoline[], secondary_trampoline_end[];

extern unsigned long socfpga_cpu1start_addr;

Expand Down
8 changes: 4 additions & 4 deletions arch/arm/mach-socfpga/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@

static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
int trampoline_size = &secondary_trampoline_end - &secondary_trampoline;
int trampoline_size = secondary_trampoline_end - secondary_trampoline;

if (socfpga_cpu1start_addr) {
/* This will put CPU #1 into reset. */
writel(RSTMGR_MPUMODRST_CPU1,
rst_manager_base_addr + SOCFPGA_RSTMGR_MODMPURST);

memcpy(phys_to_virt(0), &secondary_trampoline, trampoline_size);
memcpy(phys_to_virt(0), secondary_trampoline, trampoline_size);

writel(__pa_symbol(secondary_startup),
sys_manager_base_addr + (socfpga_cpu1start_addr & 0x000000ff));
Expand All @@ -45,12 +45,12 @@ static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle)

static int socfpga_a10_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
int trampoline_size = &secondary_trampoline_end - &secondary_trampoline;
int trampoline_size = secondary_trampoline_end - secondary_trampoline;

if (socfpga_cpu1start_addr) {
writel(RSTMGR_MPUMODRST_CPU1, rst_manager_base_addr +
SOCFPGA_A10_RSTMGR_MODMPURST);
memcpy(phys_to_virt(0), &secondary_trampoline, trampoline_size);
memcpy(phys_to_virt(0), secondary_trampoline, trampoline_size);

writel(__pa_symbol(secondary_startup),
sys_manager_base_addr + (socfpga_cpu1start_addr & 0x00000fff));
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/include/asm/pgalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ static inline void __pmd_populate(pmd_t *pmdp, phys_addr_t ptep,
static inline void
pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep)
{
VM_BUG_ON(mm != &init_mm);
VM_BUG_ON(mm && mm != &init_mm);
__pmd_populate(pmdp, __pa(ptep), PMD_TYPE_TABLE | PMD_TABLE_UXN);
}

Expand Down
48 changes: 41 additions & 7 deletions arch/arm64/include/asm/uaccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,22 @@ do { \
(x) = (__force __typeof__(*(ptr)))__gu_val; \
} while (0)

/*
* We must not call into the scheduler between uaccess_ttbr0_enable() and
* uaccess_ttbr0_disable(). As `x` and `ptr` could contain blocking functions,
* we must evaluate these outside of the critical section.
*/
#define __raw_get_user(x, ptr, err) \
do { \
__typeof__(*(ptr)) __user *__rgu_ptr = (ptr); \
__typeof__(x) __rgu_val; \
__chk_user_ptr(ptr); \
\
uaccess_ttbr0_enable(); \
__raw_get_mem("ldtr", x, ptr, err); \
__raw_get_mem("ldtr", __rgu_val, __rgu_ptr, err); \
uaccess_ttbr0_disable(); \
\
(x) = __rgu_val; \
} while (0)

#define __get_user_error(x, ptr, err) \
Expand All @@ -321,14 +331,22 @@ do { \

#define get_user __get_user

/*
* We must not call into the scheduler between __uaccess_enable_tco_async() and
* __uaccess_disable_tco_async(). As `dst` and `src` may contain blocking
* functions, we must evaluate these outside of the critical section.
*/
#define __get_kernel_nofault(dst, src, type, err_label) \
do { \
__typeof__(dst) __gkn_dst = (dst); \
__typeof__(src) __gkn_src = (src); \
int __gkn_err = 0; \
\
__uaccess_enable_tco_async(); \
__raw_get_mem("ldr", *((type *)(dst)), \
(__force type *)(src), __gkn_err); \
__raw_get_mem("ldr", *((type *)(__gkn_dst)), \
(__force type *)(__gkn_src), __gkn_err); \
__uaccess_disable_tco_async(); \
\
if (unlikely(__gkn_err)) \
goto err_label; \
} while (0)
Expand Down Expand Up @@ -367,11 +385,19 @@ do { \
} \
} while (0)

/*
* We must not call into the scheduler between uaccess_ttbr0_enable() and
* uaccess_ttbr0_disable(). As `x` and `ptr` could contain blocking functions,
* we must evaluate these outside of the critical section.
*/
#define __raw_put_user(x, ptr, err) \
do { \
__chk_user_ptr(ptr); \
__typeof__(*(ptr)) __user *__rpu_ptr = (ptr); \
__typeof__(*(ptr)) __rpu_val = (x); \
__chk_user_ptr(__rpu_ptr); \
\
uaccess_ttbr0_enable(); \
__raw_put_mem("sttr", x, ptr, err); \
__raw_put_mem("sttr", __rpu_val, __rpu_ptr, err); \
uaccess_ttbr0_disable(); \
} while (0)

Expand All @@ -396,14 +422,22 @@ do { \

#define put_user __put_user

/*
* We must not call into the scheduler between __uaccess_enable_tco_async() and
* __uaccess_disable_tco_async(). As `dst` and `src` may contain blocking
* functions, we must evaluate these outside of the critical section.
*/
#define __put_kernel_nofault(dst, src, type, err_label) \
do { \
__typeof__(dst) __pkn_dst = (dst); \
__typeof__(src) __pkn_src = (src); \
int __pkn_err = 0; \
\
__uaccess_enable_tco_async(); \
__raw_put_mem("str", *((type *)(src)), \
(__force type *)(dst), __pkn_err); \
__raw_put_mem("str", *((type *)(__pkn_src)), \
(__force type *)(__pkn_dst), __pkn_err); \
__uaccess_disable_tco_async(); \
\
if (unlikely(__pkn_err)) \
goto err_label; \
} while(0)
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3189,7 +3189,7 @@ config STACKTRACE_SUPPORT
config PGTABLE_LEVELS
int
default 4 if PAGE_SIZE_4KB && MIPS_VA_BITS_48
default 3 if 64BIT && !PAGE_SIZE_64KB
default 3 if 64BIT && (!PAGE_SIZE_64KB || MIPS_VA_BITS_48)
default 2

config MIPS_AUTO_PFN_OFFSET
Expand Down
4 changes: 2 additions & 2 deletions arch/mips/kernel/cpu-probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1734,8 +1734,6 @@ static inline void decode_cpucfg(struct cpuinfo_mips *c)

static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
{
decode_configs(c);

/* All Loongson processors covered here define ExcCode 16 as GSExc. */
c->options |= MIPS_CPU_GSEXCEX;

Expand Down Expand Up @@ -1796,6 +1794,8 @@ static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu)
panic("Unknown Loongson Processor ID!");
break;
}

decode_configs(c);
}
#else
static inline void cpu_probe_loongson(struct cpuinfo_mips *c, unsigned int cpu) { }
Expand Down
3 changes: 1 addition & 2 deletions arch/parisc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ SECTIONS
{
. = KERNEL_BINARY_TEXT_START;

_stext = .; /* start of kernel text, includes init code & data */

__init_begin = .;
HEAD_TEXT_SECTION
MLONGCALL_DISCARD(INIT_TEXT_SECTION(8))
Expand All @@ -82,6 +80,7 @@ SECTIONS
/* freed after init ends here */

_text = .; /* Text and read-only data */
_stext = .;
MLONGCALL_KEEP(INIT_TEXT_SECTION(8))
.text ALIGN(PAGE_SIZE) : {
TEXT_TEXT
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ head-$(CONFIG_PPC_OF_BOOT_TRAMPOLINE) += arch/powerpc/kernel/prom_init.o
all: zImage

# With make 3.82 we cannot mix normal and wildcard targets
BOOT_TARGETS1 := zImage zImage.initrd uImage
BOOT_TARGETS1 := zImage zImage.initrd uImage vmlinux.strip
BOOT_TARGETS2 := zImage% dtbImage% treeImage.% cuImage.% simpleImage.% uImage.%

PHONY += $(BOOT_TARGETS1) $(BOOT_TARGETS2)
Expand Down
6 changes: 3 additions & 3 deletions arch/powerpc/kernel/head_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ _ASM_NOKPROBE_SYMBOL(\name\()_virt)
mfspr r1, SPRN_SPRG_THREAD
lwz r1, TASK_CPU - THREAD(r1)
slwi r1, r1, 3
addis r1, r1, emergency_ctx@ha
addis r1, r1, emergency_ctx-PAGE_OFFSET@ha
#else
lis r1, emergency_ctx@ha
lis r1, emergency_ctx-PAGE_OFFSET@ha
#endif
lwz r1, emergency_ctx@l(r1)
lwz r1, emergency_ctx-PAGE_OFFSET@l(r1)
addi r1, r1, THREAD_SIZE - INT_FRAME_SIZE
EXCEPTION_PROLOG_2 0 vmap_stack_overflow
prepare_transfer_to_handler
Expand Down
5 changes: 4 additions & 1 deletion arch/powerpc/kvm/book3s_hv_builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,7 @@ static void flush_guest_tlb(struct kvm *kvm)
"r" (0) : "memory");
}
asm volatile("ptesync": : :"memory");
// POWER9 congruence-class TLBIEL leaves ERAT. Flush it now.
asm volatile(PPC_RADIX_INVALIDATE_ERAT_GUEST : : :"memory");
} else {
for (set = 0; set < kvm->arch.tlb_sets; ++set) {
Expand All @@ -705,7 +706,9 @@ static void flush_guest_tlb(struct kvm *kvm)
rb += PPC_BIT(51); /* increment set number */
}
asm volatile("ptesync": : :"memory");
asm volatile(PPC_ISA_3_0_INVALIDATE_ERAT : : :"memory");
// POWER9 congruence-class TLBIEL leaves ERAT. Flush it now.
if (cpu_has_feature(CPU_FTR_ARCH_300))
asm volatile(PPC_ISA_3_0_INVALIDATE_ERAT : : :"memory");
}
}

Expand Down
13 changes: 11 additions & 2 deletions arch/riscv/boot/dts/microchip/microchip-mpfs-icicle-kit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#address-cells = <2>;
#size-cells = <2>;
model = "Microchip PolarFire-SoC Icicle Kit";
compatible = "microchip,mpfs-icicle-kit";
compatible = "microchip,mpfs-icicle-kit", "microchip,mpfs";

aliases {
ethernet0 = &emac1;
Expand Down Expand Up @@ -56,8 +56,17 @@
status = "okay";
};

&sdcard {
&mmc {
status = "okay";

bus-width = <4>;
disable-wp;
cap-sd-highspeed;
card-detect-delay = <200>;
sd-uhs-sdr12;
sd-uhs-sdr25;
sd-uhs-sdr50;
sd-uhs-sdr104;
};

&emac0 {
Expand Down
Loading