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

Upstream Changes - 1st January 2022 #4

Merged
merged 180 commits into from
Jan 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
180 commits
Select commit Hold shift + click to select a range
08d2061
arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode
robimarko Nov 17, 2021
017a716
bus: sunxi-rsb: Fix shutdown
jernejsk Nov 21, 2021
2d5446d
pinctrl: mediatek: fix global-out-of-bounds issue
Nov 10, 2021
94047df
auxdisplay: charlcd: fixing coding style issue
sampaio23 Nov 9, 2021
4daa9ff
auxdisplay: charlcd: checking for pointer reference before dereferencing
sampaio23 Nov 9, 2021
9222ba6
Input: i8042 - add deferred probe support
tiwai Nov 29, 2021
e1f5e84
Input: iqs626a - prohibit inlining of channel parsing functions
jlabundy Nov 29, 2021
1d72d9f
Input: elantech - fix stack out of bound access in elantech_change_re…
Nov 29, 2021
cd57eb3
ASoC: SOF: Intel: pci-tgl: add ADL-N support
kv2019i Dec 3, 2021
de7dd90
ASoC: SOF: Intel: pci-tgl: add new ADL-P variant
kv2019i Dec 3, 2021
44ee250
Input: i8042 - enable deferred probe quirk for ASUS UM325UA
sammko Dec 4, 2021
a2fd46c
Input: goodix - try not to touch the reset-pin on x86/ACPI devices
jwrdegoede Dec 7, 2021
81e8188
Input: goodix - add id->model mapping for the "9111" model
jwrdegoede Dec 7, 2021
34f35f8
ipmi: ssif: initialize ssif_info->client early
Dec 8, 2021
59ec715
ucounts: Fix rlimit max values check
legionus Nov 29, 2021
266423e
pinctrl: bcm2835: Change init order for gpio hogs
pelwell Dec 6, 2021
3fd6e12
Input: goodix - fix memory leak in goodix_firmware_upload
JoseExposito Dec 10, 2021
fce15c4
hwmon: (lm90) Fix usage of CONFIG2 register in detect function
groeck Nov 6, 2021
55840b9
hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calcul…
groeck Nov 17, 2021
16ba51b
hwmon: (lm90) Drop critical attribute support for MAX6654
groeck Nov 13, 2021
da7dc05
hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
groeck Nov 27, 2021
cdc5287
hwmon: (lm90) Do not report 'busy' status bit as alarm
groeck Dec 3, 2021
12f247a
Input: atmel_mxt_ts - fix double free in mxt_read_info_block
JoseExposito Dec 13, 2021
2dee54b
ALSA: drivers: opl3: Fix incorrect use of vp->state
ColinIanKing Dec 12, 2021
c01c1db
ALSA: jack: Check the return value of kstrdup()
x2018 Dec 13, 2021
3b8e19a
drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf
Oct 28, 2021
4bc5e64
efi: Move efifb_setup_from_dmi() prototype from arch headers
martinezjavier Nov 26, 2021
d341b42
ASoC: tegra: Add DAPM switches for headphones and mic jack
digetx Dec 11, 2021
db635ba
ASoC: tegra: Restore headphones jack name on Nyan Big
digetx Dec 11, 2021
d296a74
ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6
bscott-zebra Dec 13, 2021
aa72394
ALSA: hda/realtek: Add new alc285-hp-amp-init model
Dec 13, 2021
4fc7261
mmc: sdhci-tegra: Fix switch to HS400ES mode
Dec 14, 2021
8deb34a
ASoC: rt5682: fix the wrong jack type detected
oortcomet Dec 14, 2021
80d5be1
ASoC: tas2770: Fix setting of high sample rates
povik Dec 6, 2021
1bcd326
ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent()
xdarklight Dec 6, 2021
ee907af
ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s
xdarklight Dec 6, 2021
f7ac570
ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
Dec 14, 2021
58e138d
Revert "x86/boot: Mark prepare_command_line() __init"
suryasaimadhu Dec 13, 2021
fbe6183
Revert "x86/boot: Pull up cmdline preparation and early param parsing"
suryasaimadhu Dec 13, 2021
04e57a2
tomoyo: Check exceeded quota early in tomoyo_domain_quota_is_ok().
dvyukov Dec 14, 2021
f702e11
tomoyo: use hwight16() in tomoyo_domain_quota_is_ok()
Dec 15, 2021
2f5b351
x86/boot: Move EFI range reservation after cmdline parsing
rppt Dec 13, 2021
0f7d9b3
netfilter: nf_tables: fix use-after-free in nft_set_catchall_destroy()
Dec 13, 2021
ebb966d
netfilter: fix regression in looped (broad|multi)cast's MAC handling
iazz Dec 10, 2021
b67210c
pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines
Dec 15, 2021
39e6606
ARM: dts: imx6qdl-wandboard: Fix Ethernet support
vvvrrooomm Dec 12, 2021
dfd0743
tee: handle lookup of shm with reference count 0
jenswi-linaro Dec 9, 2021
849e087
arm64: dts: lx2160a: fix scl-gpios property name
Dec 14, 2021
76f12e6
netfilter: ctnetlink: remove expired entries first
Dec 9, 2021
18549bf
tee: optee: Fix incorrect page free bug
b49020 Dec 16, 2021
6add87f
optee: Suppress false positive kmemleak report in optee_handle_rpc()
xiaoleiwang123456 Dec 6, 2021
ef39946
ksmbd: fix error code in ndr_read_int32()
Nov 30, 2021
f2e78af
ksmbd: fix uninitialized symbol 'pntsd_size'
namjaejeon Dec 1, 2021
27750a3
crypto: qat - do not handle PFVF sources for qat_4xxx
gcabiddu Nov 17, 2021
b62e331
net: fix typo in a comment
Dec 16, 2021
8ca4090
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
davem330 Dec 17, 2021
7202216
ARM: 9160/1: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC
murzinv Nov 25, 2021
8536a5e
ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling
ardbiesheuvel Dec 15, 2021
a6a4768
Merge tag 'fixes-for-v5.16' of https://git.linaro.org/people/jens.wik…
arndb Dec 17, 2021
2ac2f08
Merge tag 'sunxi-fixes-for-5.16-1' of git://git.kernel.org/pub/scm/li…
arndb Dec 17, 2021
8d674d0
Merge tag 'sunxi-drivers-for-5.17-1' of git://git.kernel.org/pub/scm/…
arndb Dec 17, 2021
afe8a3b
ice: xsk: return xsk buffers back to pool when cleaning the ring
mfijalko Dec 13, 2021
617f3e1
ice: xsk: allocate separate memory for XDP SW ring
mfijalko Dec 13, 2021
0708b6f
ice: remove dead store on XSK hotpath
alobakin Dec 13, 2021
8b51a13
ice: xsk: do not clear status_error0 for ntu + nb_buffs descriptor
mfijalko Dec 13, 2021
8bea15a
ice: xsk: allow empty Rx descriptors on XSK ZC data path
mfijalko Dec 13, 2021
dcbaf72
ice: xsk: fix cleaned_count setting
mfijalko Dec 13, 2021
2b5160b
ipmi: bail out if init_srcu_struct fails
Dec 17, 2021
75d70d7
ipmi: fix initialization when workqueue allocation fails
Dec 17, 2021
83912d6
ksmbd: disable SMB2_GLOBAL_CAP_ENCRYPTION for SMB 3.1.1
socram8888 Dec 16, 2021
ec624fe
net/sched: Extend qdisc control block with tc control block
Dec 14, 2021
3849595
net/sched: flow_dissector: Fix matching on zone id for invalid conns
Dec 14, 2021
635d448
net: openvswitch: Fix matching zone id for invalid conns arriving fro…
Dec 14, 2021
14193d5
Merge branch 'net-sched-fix-ct-zone-matching-for-invalid-conntrack-st…
kuba-moo Dec 18, 2021
1488fc2
net: lantiq_xrx200: increase buffer reservation
abajk Dec 17, 2021
f845fe5
Revert "tipc: use consistent GFP flags"
Dec 17, 2021
8b681bd
net: marvell: prestera: fix incorrect return of port_find
OrlovEI Dec 16, 2021
2efc225
net: marvell: prestera: fix incorrect structure access
OrlovEI Dec 16, 2021
158b515
tun: avoid double free in tun_free_netdev
gkennedy12 Dec 16, 2021
aa3cc8a
Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/gi…
davem330 Dec 18, 2021
b2f37ae
hamradio: improve the incomplete fix to avoid NPD
f0rm2l1n Dec 17, 2021
1ade48d
ax25: NPD bug when detaching AX25 device
f0rm2l1n Dec 17, 2021
60ec7fc
qlcnic: potential dereference null pointer of rx_queue->page_ring
JiangJias Dec 17, 2021
9a5875f
gpio: dln2: Fix interrupts when replugging the device
notro Oct 18, 2021
5769055
x86/pkey: Fix undefined behaviour with PKRU_WD_BIT
andyhhp Dec 16, 2021
4ebfee2
Input: elants_i2c - do not check Remark ID on eKTH3900/eKTH5312
ElanDriver Dec 20, 2021
66c915d
mmc: core: Disable card detect during shutdown
storulf Dec 3, 2021
f89b548
mmc: meson-mx-sdhc: Set MANUAL_STOP for multi-block SDIO commands
xdarklight Dec 19, 2021
87a2706
mac80211: fix locking in ieee80211_start_ap error path
jmberg-intel Dec 20, 2021
7ad8b2f
Merge tag 'imx-fixes-5.16-3' of git://git.kernel.org/pub/scm/linux/ke…
arndb Dec 20, 2021
662f11d
docs: networking: dpaa2: Fix DPNI header
sean-anderson-seco Dec 17, 2021
75a2f31
phonet/pep: refuse to enable an unbound pipe
Dec 19, 2021
64d16ac
drm/i915/guc: Use correct context lock when callig clr_context_regist…
mbrost05 Dec 14, 2021
7807bf2
drm/i915/guc: Only assign guc_id.id when stealing guc_id
mbrost05 Dec 14, 2021
484730e
parisc: Clear stale IIR value on instruction access rights trap
hdeller Dec 8, 2021
8d84fca
powerpc/ptdump: Fix DEBUG_WX since generic ptdump conversion
mpe Dec 3, 2021
8f905c0
inet: fully convert sk->sk_rx_dst to RCU rules
Dec 20, 2021
a9725e1
docs: networking: replace skb_hwtstamp_tx with skb_tstamp_tx
wdebruij Dec 20, 2021
7e5cced
net: accept UFOv6 packages in virtio_net_hdr_to_skb
wdebruij Dec 20, 2021
1ed1d59
net: skip virtio_net_hdr_set_proto if protocol already set
wdebruij Dec 20, 2021
1f06f7d
gve: Correct order of processing device options
Dec 20, 2021
ac8c58f
igb: fix deadlock caused by taking RTNL in RPM resume path
hkallweit Dec 20, 2021
ff31ee0
mmc: mmci: stm32: clear DLYB_CR after sending tuning command
Yann-lms Dec 15, 2021
ffb76a8
ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
Dec 21, 2021
3e4d9a4
gpio: virtio: remove timeout
vwax Dec 20, 2021
804034c
platform/mellanox: mlxbf-pmc: Fix an IS_ERR() vs NULL bug in mlxbf_pm…
Yuuoniy Dec 10, 2021
09fc140
platform/x86: amd-pmc: only use callbacks for suspend
superm1 Dec 10, 2021
eb66fb0
platform/x86: apple-gmux: use resource_size() with res
Dec 14, 2021
8f66fce
parisc: Correct completer in lws start
danglin44 Dec 21, 2021
d3a5a68
parisc: Fix mask used to select futex spinlock
danglin44 Dec 21, 2021
cb8747b
uapi: Fix undefined __always_inline on non-glibc systems
ismaell Nov 15, 2021
dcce50e
compiler.h: Fix annotation macro misplacement with Clang
jpoimboe Nov 8, 2021
1c15b05
bonding: fix ad_actor_system option setting to default
ffmancera Dec 21, 2021
aacb201
parisc: remove ARCH_DEFCONFIG
masahir0y Dec 13, 2021
db6d6af
fjes: Check for error irq
JiangJias Dec 22, 2021
cb93b3e
drivers: net: smc911x: Check for error irq
JiangJias Dec 22, 2021
99d7fbb
net: ks8851: Check for error irq
JiangJias Dec 22, 2021
065807d
Merge tag 'asoc-fix-v5.16-rc6' of https://git.kernel.org/pub/scm/linu…
tiwai Dec 22, 2021
d7f5547
memblock: fix memblock_phys_alloc() section mismatch error
JackieLiu1 Dec 17, 2021
e19e226
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git…
torvalds Dec 22, 2021
c9ea870
Merge tag 'tomoyo-pr-20211222' of git://git.osdn.net/gitroot/tomoyo/t…
torvalds Dec 22, 2021
0740040
Merge tag 'for-linus-5.16-3' of git://github.com/cminyard/linux-ipmi
torvalds Dec 22, 2021
3f066e8
Merge tag 'for-5.16/parisc-7' of git://git.kernel.org/pub/scm/linux/k…
torvalds Dec 22, 2021
b6fd774
ALSA: hda/hdmi: Disable silent stream on GLK
vsyrjala Dec 22, 2021
385f287
ALSA: hda: intel-sdw-acpi: harden detection of controller
libinyang Dec 21, 2021
78ea40e
ALSA: hda: intel-sdw-acpi: go through HDAS ACPI at max depth of 2
libinyang Dec 21, 2021
39a8fc4
ALSA: rawmidi - fix the uninitalized user_pversion
perexg Dec 18, 2021
edca7cc
ALSA: hda/realtek: Fix quirk for Clevo NJ51CU
tuxedo-wse Dec 15, 2021
bc491fb
Merge tag 'fixes-2021-12-22' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Dec 22, 2021
bdf1b5c
sfc: Check null pointer of rx_queue->page_ring
JiangJias Dec 20, 2021
9b8bdd1
sfc: falcon: Check null pointer of rx_queue->page_ring
JiangJias Dec 20, 2021
8035b1a
asix: fix uninit-value in asix_mdio_read()
pskrgag Dec 21, 2021
d1652b7
asix: fix wrong return value in asix_check_host_enable()
pskrgag Dec 21, 2021
ae95af9
Merge tag 'mediatek-drm-fixes-5.16' of https://git.kernel.org/pub/scm…
airlied Dec 23, 2021
dbfba78
Merge tag 'drm-intel-fixes-2021-12-22' of git://anongit.freedesktop.o…
airlied Dec 23, 2021
7b9762a
io_uring: zero iocb->ki_pos for stream file types
axboe Dec 23, 2021
c449927
platform/x86: system76_acpi: Guard System76 EC specific functionality
crawfxrd Dec 22, 2021
4f6c131
platform/x86/intel: Remove X86_PLATFORM_DRIVERS_INTEL
andy-shev Dec 22, 2021
c8cc50a
Merge tag 'arm-fixes-5.16-4' of git://git.kernel.org/pub/scm/linux/ke…
torvalds Dec 23, 2021
0d81b5f
Merge tag 'mmc-v5.16-rc5' of git://git.kernel.org/pub/scm/linux/kerne…
torvalds Dec 23, 2021
9695b7d
veth: ensure skb entering GRO are not cloned.
Dec 22, 2021
3bf6f01
Merge tag 'gpio-fixes-for-v5.16-rc7' of git://git.kernel.org/pub/scm/…
torvalds Dec 23, 2021
ae2778a
net: dsa: tag_ocelot: use traffic class to map priority on injected h…
Dec 23, 2021
eccffcf
net: stmmac: ptp: fix potentially overflowing expression
Dec 23, 2021
d95a562
net: bridge: fix ioctl old_deviceless bridge argument
repk Dec 23, 2021
996a18e
Merge tag 'sound-5.16-rc7' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Dec 23, 2021
45bf944
r8152: fix the force speed doesn't work for RTL8156
hayesorz Dec 23, 2021
b24edca
r8152: sync ocp base
hayesorz Dec 23, 2021
65fd0c3
Merge branch 'r8152-fix-bugs'
kuba-moo Dec 23, 2021
391e597
net: stmmac: dwmac-visconti: Fix value of ETHER_CLK_SEL_FREQ_SEL_2P5M
iwamatsu-t Dec 23, 2021
26a8b09
platform/x86: intel_pmc_core: fix memleak on registration failure
jhovold Dec 22, 2021
76657ea
Merge tag 'net-5.16-rc7' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Dec 23, 2021
7fe2bc1
Merge branch 'ucount-rlimit-fixes-for-v5.16' of git://git.kernel.org/…
torvalds Dec 23, 2021
a026fa5
Merge tag 'io_uring-5.16-2021-12-23' of git://git.kernel.dk/linux-block
torvalds Dec 23, 2021
95b4011
Merge tag 'drm-fixes-2021-12-24' of git://anongit.freedesktop.org/drm…
torvalds Dec 23, 2021
7a29b11
Merge tag '5.16-rc5-ksmbd-fixes' of git://git.samba.org/ksmbd
torvalds Dec 24, 2021
c883118
Merge tag 'platform-drivers-x86-v5.16-4' of git://git.kernel.org/pub/…
torvalds Dec 24, 2021
b927dfc
Merge tag 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm
torvalds Dec 24, 2021
0129ab1
kfence: fix memory leak when cat kfence objects
LiBaokun96 Dec 25, 2021
3386353
mm: mempolicy: fix THP allocations escaping mempolicy restrictions
aryabinin Dec 25, 2021
71d2bce
kernel/crash_core: suppress unknown crashkernel parameter warning
prudo1 Dec 25, 2021
7e5b901
MAINTAINERS: mark more list instances as moderated
rddunlap Dec 25, 2021
e37e7b0
mm, hwpoison: fix condition in free hugetlb page path
nhoriguchi Dec 25, 2021
94ab10d
mm: delete unsafe BUG from page_cache_add_speculative()
Dec 25, 2021
595ec19
mm/page_alloc: fix __alloc_size attribute for alloc_pages_exact_nid
tsautereau-anssi Dec 25, 2021
3479641
mm/damon/dbgfs: protect targets destructions with kdamond_lock
sjp38 Dec 25, 2021
2a57d83
mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page()
Dec 25, 2021
d0cc67b
Merge branch 'akpm' (patches from Andrew)
torvalds Dec 25, 2021
5b5e3d0
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel…
torvalds Dec 25, 2021
e2ae0d4
Merge tag 'hwmon-for-v5.16-rc7' of git://git.kernel.org/pub/scm/linux…
torvalds Dec 25, 2021
4386451
Merge tag 'pinctrl-v5.16-3' of git://git.kernel.org/pub/scm/linux/ker…
torvalds Dec 26, 2021
2afa90b
Merge tag 'objtool_urgent_for_v5.16_rc7' of git://git.kernel.org/pub/…
torvalds Dec 26, 2021
e8ffcd3
Merge tag 'x86_urgent_for_v5.16_rc7' of git://git.kernel.org/pub/scm/…
torvalds Dec 26, 2021
fc74e0a
Linux 5.16-rc7
torvalds Dec 26, 2021
732bc2f
selinux: initialize proto variable in selinux_ip_postroute_compat()
Dec 24, 2021
a8ad9a2
Merge tag 'efi-urgent-for-v5.16-2' of git://git.kernel.org/pub/scm/li…
torvalds Dec 27, 2021
f651faa
Merge tag 'powerpc-5.16-5' of git://git.kernel.org/pub/scm/linux/kern…
torvalds Dec 28, 2021
ecf71de
Merge tag 'auxdisplay-for-linus-v5.16' of git://github.com/ojeda/linux
torvalds Dec 28, 2021
e7c124b
Merge tag 'selinux-pr-20211228' of git://git.kernel.org/pub/scm/linux…
torvalds Dec 28, 2021
f1ab0fc
Merge branch 'master' of https://github.com/archlinux/linux into upst…
Vylpes Jan 1, 2022
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: 2 additions & 0 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1689,6 +1689,8 @@
architectures force reset to be always executed
i8042.unlock [HW] Unlock (ignore) the keylock
i8042.kbdreset [HW] Reset device connected to KBD port
i8042.probe_defer
[HW] Allow deferred probing upon i8042 probe errors

i810= [HW,DRM]

Expand Down
11 changes: 6 additions & 5 deletions Documentation/networking/bonding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,12 @@ ad_actor_sys_prio
ad_actor_system

In an AD system, this specifies the mac-address for the actor in
protocol packet exchanges (LACPDUs). The value cannot be NULL or
multicast. It is preferred to have the local-admin bit set for this
mac but driver does not enforce it. If the value is not given then
system defaults to using the masters' mac address as actors' system
address.
protocol packet exchanges (LACPDUs). The value cannot be a multicast
address. If the all-zeroes MAC is specified, bonding will internally
use the MAC of the bond itself. It is preferred to have the
local-admin bit set for this mac but driver does not enforce it. If
the value is not given then system defaults to using the masters'
mac address as actors' system address.

This parameter has effect only in 802.3ad mode and is available through
SysFs interface.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ PHY and allows physical transmission and reception of Ethernet frames.
IRQ config, enable, reset

DPNI (Datapath Network Interface)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Contains TX/RX queues, network interface configuration, and RX buffer pool
configuration mechanisms. The TX/RX queues are in memory and are identified
by queue number.
Expand Down
4 changes: 2 additions & 2 deletions Documentation/networking/timestamping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,8 @@ Time stamps for outgoing packets are to be generated as follows:
and hardware timestamping is not possible (SKBTX_IN_PROGRESS not set).
- As soon as the driver has sent the packet and/or obtained a
hardware time stamp for it, it passes the time stamp back by
calling skb_hwtstamp_tx() with the original skb, the raw
hardware time stamp. skb_hwtstamp_tx() clones the original skb and
calling skb_tstamp_tx() with the original skb, the raw
hardware time stamp. skb_tstamp_tx() clones the original skb and
adds the timestamps, therefore the original skb has to be freed now.
If obtaining the hardware time stamp somehow fails, then the driver
should not fall back to software time stamping. The rationale is that
Expand Down
2 changes: 2 additions & 0 deletions Documentation/sound/hd-audio/models.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,8 @@ usi-headset
Headset support on USI machines
dual-codecs
Lenovo laptops with dual codecs
alc285-hp-amp-init
HP laptops which require speaker amplifier initialization (ALC285)

ALC680
======
Expand Down
4 changes: 2 additions & 2 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -14845,7 +14845,7 @@ PCIE DRIVER FOR MEDIATEK
M: Ryder Lee <ryder.lee@mediatek.com>
M: Jianjun Wang <jianjun.wang@mediatek.com>
L: linux-pci@vger.kernel.org
L: linux-mediatek@lists.infradead.org
L: linux-mediatek@lists.infradead.org (moderated for non-subscribers)
S: Supported
F: Documentation/devicetree/bindings/pci/mediatek*
F: drivers/pci/controller/*mediatek*
Expand Down Expand Up @@ -17423,7 +17423,7 @@ F: drivers/video/fbdev/sm712*
SILVACO I3C DUAL-ROLE MASTER
M: Miquel Raynal <miquel.raynal@bootlin.com>
M: Conor Culhane <conor.culhane@silvaco.com>
L: linux-i3c@lists.infradead.org
L: linux-i3c@lists.infradead.org (moderated for non-subscribers)
S: Maintained
F: Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml
F: drivers/i3c/master/svc-i3c-master.c
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
VERSION = 5
PATCHLEVEL = 16
SUBLEVEL = 0
EXTRAVERSION = -gravity2
EXTRAVERSION = -gravity3
NAME = Gobble Gobble

# *DOCUMENTATION*
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/imx6qdl-wandboard.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@

ethphy: ethernet-phy@1 {
reg = <1>;
qca,clk-out-frequency = <125000000>;
};
};
};
Expand Down
1 change: 0 additions & 1 deletion arch/arm/include/asm/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

#ifdef CONFIG_EFI
void efi_init(void);
extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt);

int efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md);
int efi_set_mapping_permissions(struct mm_struct *mm, efi_memory_desc_t *md);
Expand Down
8 changes: 3 additions & 5 deletions arch/arm/kernel/entry-armv.S
Original file line number Diff line number Diff line change
Expand Up @@ -596,11 +596,9 @@ call_fpe:
tstne r0, #0x04000000 @ bit 26 set on both ARM and Thumb-2
reteq lr
and r8, r0, #0x00000f00 @ mask out CP number
THUMB( lsr r8, r8, #8 )
mov r7, #1
add r6, r10, #TI_USED_CP
ARM( strb r7, [r6, r8, lsr #8] ) @ set appropriate used_cp[]
THUMB( strb r7, [r6, r8] ) @ set appropriate used_cp[]
add r6, r10, r8, lsr #8 @ add used_cp[] array offset first
strb r7, [r6, #TI_USED_CP] @ set appropriate used_cp[]
#ifdef CONFIG_IWMMXT
@ Test if we need to give access to iWMMXt coprocessors
ldr r5, [r10, #TI_FLAGS]
Expand All @@ -609,7 +607,7 @@ call_fpe:
bcs iwmmxt_task_enable
#endif
ARM( add pc, pc, r8, lsr #6 )
THUMB( lsl r8, r8, #2 )
THUMB( lsr r8, r8, #6 )
THUMB( add pc, r8 )
nop

Expand Down
1 change: 1 addition & 0 deletions arch/arm/kernel/head-nommu.S
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ ENTRY(secondary_startup)
add r12, r12, r10
ret r12
1: bl __after_proc_init
ldr r7, __secondary_data @ reload r7
ldr sp, [r7, #12] @ set up the stack pointer
ldr r0, [r7, #16] @ set up task pointer
mov fp, #0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
pinctrl-0 = <&emac_rgmii_pins>;
phy-supply = <&reg_gmac_3v3>;
phy-handle = <&ext_rgmii_phy>;
phy-mode = "rgmii";
phy-mode = "rgmii-id";
status = "okay";
};

Expand Down
4 changes: 2 additions & 2 deletions arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@
clock-names = "i2c";
clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
QORIQ_CLK_PLL_DIV(16)>;
scl-gpio = <&gpio2 15 GPIO_ACTIVE_HIGH>;
scl-gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
status = "disabled";
};

Expand Down Expand Up @@ -768,7 +768,7 @@
clock-names = "i2c";
clocks = <&clockgen QORIQ_CLK_PLATFORM_PLL
QORIQ_CLK_PLL_DIV(16)>;
scl-gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>;
scl-gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
status = "disabled";
};

Expand Down
1 change: 0 additions & 1 deletion arch/arm64/include/asm/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

#ifdef CONFIG_EFI
extern void efi_init(void);
extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
#else
#define efi_init()
#endif
Expand Down
5 changes: 0 additions & 5 deletions arch/parisc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ config MMU
config STACK_GROWSUP
def_bool y

config ARCH_DEFCONFIG
string
default "arch/parisc/configs/generic-32bit_defconfig" if !64BIT
default "arch/parisc/configs/generic-64bit_defconfig" if 64BIT

config GENERIC_LOCKBREAK
bool
default y
Expand Down
4 changes: 2 additions & 2 deletions arch/parisc/include/asm/futex.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static inline void
_futex_spin_lock(u32 __user *uaddr)
{
extern u32 lws_lock_start[];
long index = ((long)uaddr & 0x3f8) >> 1;
long index = ((long)uaddr & 0x7f8) >> 1;
arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index];
preempt_disable();
arch_spin_lock(s);
Expand All @@ -24,7 +24,7 @@ static inline void
_futex_spin_unlock(u32 __user *uaddr)
{
extern u32 lws_lock_start[];
long index = ((long)uaddr & 0x3f8) >> 1;
long index = ((long)uaddr & 0x7f8) >> 1;
arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index];
arch_spin_unlock(s);
preempt_enable();
Expand Down
2 changes: 1 addition & 1 deletion arch/parisc/kernel/syscall.S
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ lws_start:
extrd,u %r1,PSW_W_BIT,1,%r1
/* sp must be aligned on 4, so deposit the W bit setting into
* the bottom of sp temporarily */
or,ev %r1,%r30,%r30
or,od %r1,%r30,%r30

/* Clip LWS number to a 32-bit value for 32-bit processes */
depdi 0, 31, 32, %r20
Expand Down
2 changes: 2 additions & 0 deletions arch/parisc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,8 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
}
mmap_read_unlock(current->mm);
}
/* CPU could not fetch instruction, so clear stale IIR value. */
regs->iir = 0xbaadf00d;
fallthrough;
case 27:
/* Data memory protection ID trap */
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/mm/ptdump/ptdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void note_prot_wx(struct pg_state *st, unsigned long addr)
{
pte_t pte = __pte(st->current_flags);

if (!IS_ENABLED(CONFIG_PPC_DEBUG_WX) || !st->check_wx)
if (!IS_ENABLED(CONFIG_DEBUG_WX) || !st->check_wx)
return;

if (!pte_write(pte) || !pte_exec(pte))
Expand Down
1 change: 0 additions & 1 deletion arch/riscv/include/asm/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#ifdef CONFIG_EFI
extern void efi_init(void);
extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt);
#else
#define efi_init()
#endif
Expand Down
2 changes: 0 additions & 2 deletions arch/x86/include/asm/efi.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,6 @@ static inline bool efi_runtime_supported(void)

extern void parse_efi_setup(u64 phys_addr, u32 data_len);

extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt);

extern void efi_thunk_runtime_setup(void);
efi_status_t efi_set_virtual_address_map(unsigned long memory_map_size,
unsigned long descriptor_size,
Expand Down
4 changes: 2 additions & 2 deletions arch/x86/include/asm/pkru.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#include <asm/cpufeature.h>

#define PKRU_AD_BIT 0x1
#define PKRU_WD_BIT 0x2
#define PKRU_AD_BIT 0x1u
#define PKRU_WD_BIT 0x2u
#define PKRU_BITS_PER_PKEY 2

#ifdef CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS
Expand Down
72 changes: 30 additions & 42 deletions arch/x86/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -713,9 +713,6 @@ static void __init early_reserve_memory(void)

early_reserve_initrd();

if (efi_enabled(EFI_BOOT))
efi_memblock_x86_reserve_range();

memblock_x86_reserve_range_setup_data();

reserve_ibft_region();
Expand All @@ -742,28 +739,6 @@ dump_kernel_offset(struct notifier_block *self, unsigned long v, void *p)
return 0;
}

static char * __init prepare_command_line(void)
{
#ifdef CONFIG_CMDLINE_BOOL
#ifdef CONFIG_CMDLINE_OVERRIDE
strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE);
#else
if (builtin_cmdline[0]) {
/* append boot loader cmdline to builtin */
strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE);
strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE);
strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE);
}
#endif
#endif

strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);

parse_early_param();

return command_line;
}

/*
* Determine if we were loaded by an EFI loader. If so, then we have also been
* passed the efi memmap, systab, etc., so we should use these data structures
Expand Down Expand Up @@ -852,23 +827,6 @@ void __init setup_arch(char **cmdline_p)

x86_init.oem.arch_setup();

/*
* x86_configure_nx() is called before parse_early_param() (called by
* prepare_command_line()) to detect whether hardware doesn't support
* NX (so that the early EHCI debug console setup can safely call
* set_fixmap()). It may then be called again from within noexec_setup()
* during parsing early parameters to honor the respective command line
* option.
*/
x86_configure_nx();

/*
* This parses early params and it needs to run before
* early_reserve_memory() because latter relies on such settings
* supplied as early params.
*/
*cmdline_p = prepare_command_line();

/*
* Do some memory reservations *before* memory is added to memblock, so
* memblock allocations won't overwrite it.
Expand Down Expand Up @@ -902,6 +860,36 @@ void __init setup_arch(char **cmdline_p)
bss_resource.start = __pa_symbol(__bss_start);
bss_resource.end = __pa_symbol(__bss_stop)-1;

#ifdef CONFIG_CMDLINE_BOOL
#ifdef CONFIG_CMDLINE_OVERRIDE
strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE);
#else
if (builtin_cmdline[0]) {
/* append boot loader cmdline to builtin */
strlcat(builtin_cmdline, " ", COMMAND_LINE_SIZE);
strlcat(builtin_cmdline, boot_command_line, COMMAND_LINE_SIZE);
strlcpy(boot_command_line, builtin_cmdline, COMMAND_LINE_SIZE);
}
#endif
#endif

strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE);
*cmdline_p = command_line;

/*
* x86_configure_nx() is called before parse_early_param() to detect
* whether hardware doesn't support NX (so that the early EHCI debug
* console setup can safely call set_fixmap()). It may then be called
* again from within noexec_setup() during parsing early parameters
* to honor the respective command line option.
*/
x86_configure_nx();

parse_early_param();

if (efi_enabled(EFI_BOOT))
efi_memblock_x86_reserve_range();

#ifdef CONFIG_MEMORY_HOTPLUG
/*
* Memory used by the kernel cannot be hot-removed because Linux
Expand Down
5 changes: 4 additions & 1 deletion drivers/auxdisplay/charlcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct charlcd_priv {
bool must_clear;

/* contains the LCD config state */
unsigned long int flags;
unsigned long flags;

/* Current escape sequence and it's length or -1 if outside */
struct {
Expand Down Expand Up @@ -578,6 +578,9 @@ static int charlcd_init(struct charlcd *lcd)
* Since charlcd_init_display() needs to write data, we have to
* enable mark the LCD initialized just before.
*/
if (WARN_ON(!lcd->ops->init_display))
return -EINVAL;

ret = lcd->ops->init_display(lcd);
if (ret)
return ret;
Expand Down
8 changes: 4 additions & 4 deletions drivers/bus/sunxi-rsb.c
Original file line number Diff line number Diff line change
Expand Up @@ -687,11 +687,11 @@ static int sunxi_rsb_hw_init(struct sunxi_rsb *rsb)

static void sunxi_rsb_hw_exit(struct sunxi_rsb *rsb)
{
/* Keep the clock and PM reference counts consistent. */
if (pm_runtime_status_suspended(rsb->dev))
pm_runtime_resume(rsb->dev);
reset_control_assert(rsb->rstc);
clk_disable_unprepare(rsb->clk);

/* Keep the clock and PM reference counts consistent. */
if (!pm_runtime_status_suspended(rsb->dev))
clk_disable_unprepare(rsb->clk);
}

static int __maybe_unused sunxi_rsb_runtime_suspend(struct device *dev)
Expand Down
Loading