Linux 5.3.10
Greg KH
maintainerI'm announcing the release of the 5.3.10 kernel.
All users of the 5.3 kernel series must upgrade.
The updated 5.3.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.3.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 arch/arm/boot/dts/am3874-iceboard.dts | 9 arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi | 8 arch/arm/boot/dts/imx6-logicpd-som.dtsi | 4 arch/arm/boot/dts/imx7s.dtsi | 8 arch/arm/boot/dts/logicpd-torpedo-som.dtsi | 4 arch/arm/boot/dts/omap4-droid4-xt894.dts | 2 arch/arm/boot/dts/omap4-panda-common.dtsi | 2 arch/arm/boot/dts/omap4-sdp.dts | 2 arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi | 2 arch/arm/boot/dts/omap5-board-common.dtsi | 2 arch/arm/boot/dts/vf610-zii-scu4-aib.dts | 2 arch/arm/include/asm/domain.h | 8 arch/arm/include/asm/uaccess.h | 4 arch/arm/kernel/head-common.S | 5 arch/arm/kernel/head-nommu.S | 2 arch/arm/mach-davinci/dm365.c | 4 arch/arm/mm/alignment.c | 44 arch/arm/mm/proc-v7m.S | 6 arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts | 9 arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts | 6 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 arch/arm64/boot/dts/broadcom/stingray/stingray-pinctrl.dtsi | 5 arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 3 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 36 arch/arm64/boot/dts/freescale/imx8mm.dtsi | 6 arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 4 arch/arm64/boot/dts/freescale/imx8mq.dtsi | 4 arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts | 4 arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts | 12 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 2 arch/mips/bcm63xx/prom.c | 2 arch/mips/include/asm/bmips.h | 10 arch/mips/kernel/smp-bmips.c | 8 drivers/block/nbd.c | 18 drivers/crypto/chelsio/chtls/chtls_cm.c | 2 drivers/crypto/chelsio/chtls/chtls_io.c | 2 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 7 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 3 drivers/gpu/drm/arm/display/komeda/komeda_kms.c | 3 drivers/i2c/busses/i2c-aspeed.c | 54 drivers/i2c/busses/i2c-mt65xx.c | 2 drivers/i2c/busses/i2c-stm32f7.c | 21 drivers/irqchip/irq-gic-v3-its.c | 21 drivers/irqchip/irq-sifive-plic.c | 4 drivers/isdn/capi/capi.c | 2 drivers/net/dsa/b53/b53_common.c | 1 drivers/net/dsa/bcm_sf2.c | 36 drivers/net/ethernet/broadcom/genet/bcmgenet.c | 13 drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c | 28 drivers/net/ethernet/chelsio/cxgb4/sge.c | 8 drivers/net/ethernet/faraday/ftgmac100.c | 25 drivers/net/ethernet/hisilicon/hip04_eth.c | 15 drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 21 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c | 11 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 28 drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 1 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 42 drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c | 12 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c | 2 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c | 5 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c | 15 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 1 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c | 22 drivers/net/ethernet/mellanox/mlxsw/core.c | 4 drivers/net/ethernet/realtek/r8169_main.c | 4 drivers/net/phy/bcm7xxx.c | 1 drivers/net/phy/phylink.c | 16 drivers/net/usb/cdc_ether.c | 7 drivers/net/usb/lan78xx.c | 17 drivers/net/usb/r8152.c | 1 drivers/net/vxlan.c | 6 drivers/of/unittest.c | 1 drivers/pinctrl/bcm/pinctrl-ns2-mux.c | 4 drivers/pinctrl/intel/pinctrl-intel.c | 27 drivers/pinctrl/pinctrl-stmfx.c | 2 drivers/platform/x86/pmc_atom.c | 7 drivers/regulator/da9062-regulator.c | 118 - drivers/regulator/of_regulator.c | 8 drivers/regulator/pfuze100-regulator.c | 8 drivers/regulator/ti-abb-regulator.c | 26 drivers/scsi/Kconfig | 2 drivers/scsi/device_handler/scsi_dh_alua.c | 21 drivers/scsi/hpsa.c | 4 drivers/scsi/qla2xxx/qla_os.c | 4 drivers/scsi/sni_53c710.c | 4 drivers/target/target_core_device.c | 21 drivers/tty/serial/8250/8250_men_mcb.c | 8 drivers/usb/gadget/udc/core.c | 2 fs/cifs/cifsglob.h | 5 fs/cifs/cifsproto.h | 1 fs/cifs/connect.c | 10 fs/cifs/file.c | 23 fs/cifs/smb2file.c | 2 fs/cifs/transport.c | 42 include/linux/gfp.h | 23 include/linux/mlx5/mlx5_ifc.h | 3 include/linux/skbuff.h | 36 include/net/busy_poll.h | 6 include/net/flow_dissector.h | 3 include/net/fq.h | 2 include/net/fq_impl.h | 4 include/net/ip.h | 4 include/net/net_namespace.h | 27 include/net/sock.h | 15 include/sound/simple_card_utils.h | 8 kernel/trace/trace_events_hist.c | 2 net/atm/common.c | 2 net/bluetooth/af_bluetooth.c | 4 net/bridge/netfilter/nf_conntrack_bridge.c | 5 net/caif/caif_socket.c | 2 net/core/datagram.c | 8 net/core/dev.c | 2 net/core/ethtool.c | 4 net/core/flow_dissector.c | 38 net/core/net_namespace.c | 18 net/core/rtnetlink.c | 16 net/core/sock.c | 6 net/dccp/ipv4.c | 4 net/decnet/af_decnet.c | 2 net/dsa/dsa2.c | 2 net/ipv4/datagram.c | 2 net/ipv4/fib_frontend.c | 2 net/ipv4/inet_hashtables.c | 2 net/ipv4/ip_gre.c | 4 net/ipv4/ip_output.c | 14 net/ipv4/tcp.c | 4 net/ipv4/tcp_ipv4.c | 4 net/ipv4/udp.c | 29 net/ipv6/inet6_hashtables.c | 2 net/ipv6/ip6_gre.c | 4 net/ipv6/ip6_output.c | 3 net/ipv6/netfilter.c | 3 net/ipv6/udp.c | 2 net/nfc/llcp_sock.c | 4 net/openvswitch/datapath.c | 20 net/phonet/socket.c | 4 net/rxrpc/ar-internal.h | 1 net/rxrpc/recvmsg.c | 18 net/sched/sch_hhf.c | 8 net/sched/sch_netem.c | 11 net/sched/sch_sfb.c | 13 net/sched/sch_sfq.c | 14 net/sctp/socket.c | 8 net/smc/af_smc.c | 13 net/tipc/socket.c | 4 net/unix/af_unix.c | 6 net/vmw_vsock/af_vsock.c | 2 sound/pci/hda/hda_intel.c | 6 sound/soc/codecs/msm8916-wcd-digital.c | 22 sound/soc/codecs/pcm3168a.c | 3 sound/soc/codecs/rt5651.c | 3 sound/soc/codecs/rt5682.c | 12 sound/soc/codecs/wm8994.c | 43 sound/soc/codecs/wm_adsp.c | 3 sound/soc/intel/boards/sof_rt5682.c | 25 sound/soc/rockchip/rockchip_i2s.c | 2 sound/soc/samsung/arndale_rt5631.c | 34 sound/soc/soc-topology.c | 2 sound/soc/sof/control.c | 26 sound/soc/sof/intel/Kconfig | 10 sound/soc/sof/intel/bdw.c | 7 sound/soc/sof/intel/byt.c | 6 sound/soc/sof/intel/hda-ctrl.c | 12 sound/soc/sof/intel/hda-loader.c | 1 sound/soc/sof/intel/hda-stream.c | 45 sound/soc/sof/intel/hda.c | 7 sound/soc/sof/intel/hda.h | 5 sound/soc/sof/loader.c | 4 sound/soc/sof/topology.c | 4 tools/perf/builtin-c2c.c | 14 tools/perf/builtin-kmem.c | 1 tools/perf/util/header.c | 4 tools/perf/util/util.c | 6 tools/testing/selftests/kvm/x86_64/sync_regs_test.c | 21 tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c | 7 tools/testing/selftests/net/fib_tests.sh | 21 tools/testing/selftests/net/reuseport_dualstack.c | 3 tools/testing/selftests/powerpc/mm/Makefile | 2 tools/testing/selftests/powerpc/mm/tlbie_test.c | 734 ++++++++++ 182 files changed, 1932 insertions(+), 684 deletions(-)
Adam Ford (2):
ARM: dts: logicpd-torpedo-som: Remove twl_keypad
ARM: dts: imx6q-logicpd: Re-Enable SNVS power key
Alain Volmat (1):
i2c: stm32f7: remove warning when compiling with W=1
Alan Mikhak (1):
irqchip/sifive-plic: Skip contexts except supervisor in plic_init()
Allen Pais (1):
scsi: qla2xxx: fix a potential NULL pointer dereference
Amelie Delaunay (1):
pinctrl: stmfx: fix null pointer on remove
Andrew Lunn (1):
net: usb: lan78xx: Connect PHY before registering MAC
Andrey Smirnov (2):
ARM: dts: am3874-iceboard: Fix 'i2c-mux-idle-disconnect' usage
ARM: dts: vf610-zii-scu4-aib: Specify 'i2c-mux-idle-disconnect'
Andy Shevchenko (1):
pinctrl: intel: Allocate IRQ chip dynamic
Aneesh Kumar K.V (1):
selftests/powerpc: Add test case for tlbie vs mtpidr ordering issue
Anson Huang (3):
ARM: dts: imx7s: Correct GPT's ipg clock source
arm64: dts: imx8mq: Use correct clock for usdhc's ipg clk
arm64: dts: imx8mm: Use correct clock for usdhc's ipg clk
Axel Lin (1):
regulator: ti-abb: Fix timeout in ti_abb_wait_txdone/ti_abb_clear_all_txdone
Aya Levin (2):
net/mlx5e: Initialize on stack link modes bitmap net/mlx5e: Fix ethtool self test: link speed
Benjamin Herrenschmidt (1):
net: ethernet: ftgmac100: Fix DMA coherency issue with SW checksum
Bodo Stroesser (1):
scsi: target: core: Do not overwrite CDB byte 1
Christian König (2):
drm/amdgpu: fix potential VM faults drm/amdgpu: fix error handling in amdgpu_bo_list_create
Chuhong Yuan (1):
ASoC: Intel: sof-rt5682: add a check for devm_clk_get
Colin Ian King (1):
8250-men-mcb: fix error checking when get_num_ports returns -ENODEV
Dan Carpenter (2):
ASoC: topology: Fix a signedness bug in soc_tplg_dapm_widget_create()
pinctrl: ns2: Fix off by one bugs in ns2_pinmux_enable()
Daniel Baluta (1):
ASoC: simple_card_utils.h: Fix potential multiple redefinition error
Daniel Wagner (1):
net: usb: lan78xx: Disable interrupts before calling generic_handle_irq()
Dave Wysochanski (1):
cifs: Fix cifsInodeInfo lock_sem deadlock when reconnect occurs
David Howells (1):
rxrpc: Fix handling of last subpacket of jumbo packet
Desnes A. Nunes do Rosario (1):
selftests/powerpc: Fix compile error on tlbie_test due to newer gcc
Dmytro Linkin (2):
net/mlx5e: Determine source port properly for vlan push action net/mlx5e: Remove incorrect match criteria assignment line
Don Brace (1):
scsi: hpsa: add missing hunks in reset-patch
Doug Berger (3):
net: bcmgenet: don't set phydev->link from MAC
net: phy: bcm7xxx: define soft_reset for 40nm EPHY
net: bcmgenet: reset 40nm EPHY on energy detect
Dragos Tarcatu (1):
ASoC: SOF: control: return true when kcontrol values change
Eran Ben Elisha (1):
net/mlx4_core: Dynamically set guaranteed amount of counters per VF
Eric Dumazet (14):
dccp: do not leak jiffies on the wire
inet: stop leaking jiffies on the wire
net: annotate accesses to sk->sk_incoming_cpu
net: annotate lockless accesses to sk->sk_napi_id
udp: fix data-race in udp_set_dev_scratch()
net: add skb_queue_empty_lockless()
udp: use skb_queue_empty_lockless()
net: use skb_queue_empty_lockless() in poll() handlers
net: use skb_queue_empty_lockless() in busy poll contexts
net: add READ_ONCE() annotation in __skb_wait_for_more_packets()
ipv4: fix IPSKB_FRAG_PMTU handling with fragmentation
net: ensure correct skb->tstamp in various fragmenters
net: reorder 'struct net' fields to avoid false sharing net/flow_dissector: switch to siphash
Fabien Parent (1):
i2c: mt65xx: fix NULL ptr dereference
Fabrice Gasnier (2):
i2c: stm32f7: fix first byte to send in slave mode
i2c: stm32f7: fix a race in slave mode with arbitration loss irq
Florian Fainelli (3):
net: dsa: bcm_sf2: Fix IMP setup for port different than 8
net: phylink: Fix phylink_dbg() macro
net: dsa: b53: Do not clear existing mirrored port mask
Greg Kroah-Hartman (1):
Linux 5.3.10
Guillaume Nault (1):
netns: fix GFP flags in rtnl_net_notifyid()
Hannes Reinecke (1):
scsi: scsi_dh_alua: handle RTPG sense code correctly during state transitions
Heiner Kallweit (1):
r8169: fix wrong PHY ID issue with RTL8168dp
Hugh Cole-Baker (1):
arm64: dts: rockchip: fix Rockpro64 RK808 interrupt line
Jae Hyun Yoo (1):
i2c: aspeed: fix master pending state handling
Jakub Kicinski (2):
net: netem: fix error path for corrupted GSO frames
net: netem: correct the parent's backlog when corrupted packet was dropped
Jan Kiszka (1):
platform/x86: pmc_atom: Add Siemens SIMATIC IPC227E to critclk_systems DMI table
Jaska Uimonen (3):
ASoC: rt5682: add NULL handler to set_jack function
ASoC: intel: sof_rt5682: add remove function to disable jack
ASoC: intel: bytcr_rt5651: add null check to support_button_press
Jernej Skrabec (2):
arm64: dts: allwinner: a64: pine64-plus: Add PHY regulator delay
arm64: dts: allwinner: a64: sopine-baseboard: Add PHY regulator delay
Jiangfeng Xiao (1):
net: hisilicon: Fix ping latency when deal with high throughput
Jiri Pirko (1):
mlxsw: core: Unpublish devlink parameters during reload
Jonas Gorski (1):
MIPS: bmips: mark exception vectors as char arrays
Josef Bacik (2):
nbd: protect cmd->status with cmd->lock
nbd: handle racing with error'ed out commands
Kai Vehmanen (1):
ASoC: SOF: Intel: hda: fix warnings during FW load
Kazutoshi Noguchi (1):
r8152: add device id for Lenovo ThinkPad USB-C Dock Gen 2
Keyon Jie (1):
ASoC: SOF: topology: fix parse fail issue for byte/bool tuple types
Liam Girdwood (1):
ASoC: SOF: Intel: initialise and verify FW crash dump data.
Lucas Stach (1):
arm64: dts: zii-ultra: fix ARM regulator states
Marco Felsch (2):
regulator: of: fix suspend-min/max-voltage parsing
regulator: da9062: fix suspend_enable/disable preparation
Masahiro Yamada (1):
ARM: 8908/1: add __always_inline to functions called from __get_user_check()
Maxim Mikityanskiy (1):
net/mlx5e: Fix handling of compressed CQEs in case of low NAPI budget
Mihail Atanassov (1):
drm/komeda: Don't flush inactive pipes
Navid Emamdoost (1):
of: unittest: fix memory leak in unittest_data_add
Nikolay Aleksandrov (1):
net: rtnetlink: fix a typo fbd -> fdb
Pan Xiuli (1):
ALSA: hda: Add Tigerlake/Jasperlake PCI ID
Paolo Abeni (2):
ipv4: fix route update on metric change.
selftests: fib_tests: add more tests for metric update
Parav Pandit (1):
net/mlx5: Fix rtable reference leak
Pavel Shilovsky (1):
CIFS: Fix retry mid list corruption on reconnects
Peter Ujfalusi (2):
ARM: davinci: dm365: Fix McBSP dma_slave_map entry
ASoC: pcm3168a: The codec does not support S32_LE
Pierre-Louis Bossart (1):
ASoC: SOF: loader: fix kernel oops on firmware boot failure
Raju Rangoju (1):
cxgb4: request the TX CIDX updates to status page
Ran Wang (1):
arm64: dts: lx2160a: Correct CPU core idle state name
Ranjani Sridharan (1):
ASoC: SOF: Intel: hda: Disable DMI L1 entry during capture
Rayagonda Kokatanur (1):
arm64: dts: Fix gpio to pinmux mapping
Robin Murphy (1):
ASoc: rockchip: i2s: Fix RPM imbalance
Roger Quadros (1):
usb: gadget: udc: core: Fix segfault if udc_bind_to_driver() for pending driver fails
Roi Dayan (1):
net/mlx5: Fix flow counter list auto bits struct
Russell King (1):
ARM: mm: fix alignment handler faults under memory pressure
Soeren Moch (3):
arm64: dts: rockchip: fix RockPro64 vdd-log regulator settings
arm64: dts: rockchip: fix RockPro64 sdhci settings
arm64: dts: rockchip: fix RockPro64 sdmmc settings
Srinivas Kandagatla (1):
ASoC: msm8916-wcd-digital: add missing MIX2 path for RX1/2
Stefan Wahren (1):
ARM: dts: bcm2837-rpi-cm3: Avoid leds-gpio probing issue
Stuart Henderson (1):
ASoC: wm_adsp: Don't generate kcontrols without READ flags
Suman Anna (1):
arm64: dts: ti: k3-am65-main: Fix gic-its node unit-address
Sylwester Nawrocki (2):
ASoC: samsung: arndale: Add missing OF node dereferencing
ASoC: wm8994: Do not register inapplicable controls for WM1811
Takeshi Misawa (1):
keys: Fix memory leak in copy_net_ns
Tejun Heo (1):
net: fix sk_page_frag() recursion from memory reclaim
Thomas Bogendoerfer (2):
scsi: sni_53c710: fix compilation error
scsi: fix kconfig dependency warning related to 53C700_LE_ON_BE
Tony Lindgren (1):
ARM: dts: Use level interrupt for omap4 & 5 wlcore
Ursula Braun (3):
net/smc: fix closing of fallback SMC sockets net/smc: keep vlan_id for SMC-R in smc_listen_work() net/smc: fix refcounting for non-blocking connect()
Vasily Khoruzhick (1):
arm64: dts: allwinner: a64: Drop PMU node
Vishal Kulkarni (1):
cxgb4: fix panic when attaching to ULD fail
Vitaly Kuznetsov (2):
selftests: kvm: vmx_set_nested_state_test: don't check for VMX support twice
selftests: kvm: fix sync_regs_test with newer gccs
Vivek Unune (1):
arm64: dts: rockchip: Fix usb-c on Hugsun X99 TV Box
Vivien Didelot (1):
net: dsa: fix switch tree list
Vladimir Murzin (1):
ARM: 8914/1: NOMMU: Fix exc_ret for XIP
Wei Wang (1):
selftests: net: reuseport_dualstack: fix uninitalized parameter
Xin Long (2):
erspan: fix the tun_info options_len check for erspan
vxlan: check tun_info options_len properly
Yizhuo (1):
regulator: pfuze100-regulator: Variable "val" in pfuze100_regulator_probe() could be uninitialized
Yonglong Liu (1):
net: hns3: fix mis-counting IRQ vector numbers issue
Yunfeng Ye (3):
perf tools: Fix resource leak of closedir() on the error paths perf c2c: Fix memory leak in build_cl_output()
perf kmem: Fix memory leak in compact_gfp_flags()
Zenghui Yu (1):
irqchip/gic-v3-its: Use the exact ITSList for VMOVP
Zhengjun Xing (1):
tracing: Fix "gfp_t" format for synthetic events
afzal mohammed (1):
ARM: 8926/1: v7m: remove register save to stack before svc
zhanglin (1):
net: Zeroing the structure ethtool_wolinfo in ethtool_get_wol()
Greg KH
maintainerDocumentation/admin-guide/kernel-parameters.txt +4 -0
@@ -5267,6 +5267,10 @@ the unplug protocol never -- do not unplug even if version check succeeds + xen_legacy_crash [X86,XEN] + Crash from Xen panic notifier, without executing late + panic() code such as dumping handler. + xen_nopvspin [X86,XEN] Disables the ticketlock slowpath using Xen PV optimizations.
Documentation/arm64/silicon-errata.rst +2 -0
@@ -107,6 +107,8 @@ stable kernels. +----------------+-----------------+-----------------+-----------------------------+ | Cavium | ThunderX2 SMMUv3| #126 | N/A | +----------------+-----------------+-----------------+-----------------------------+ +| Cavium | ThunderX2 Core | #219 | CAVIUM_TX2_ERRATUM_219 | ++----------------+-----------------+-----------------+-----------------------------+ +----------------+-----------------+-----------------+-----------------------------+ | Freescale/NXP | LS2080A/LS1043A | A-008585 | FSL_ERRATUM_A008585 | +----------------+-----------------+-----------------+-----------------------------+
Documentation/devicetree/bindings/sound/allwinner,sun4i-a10-spdif.yaml +3 -1
@@ -70,7 +70,9 @@ allOf: properties: compatible: contains: - const: allwinner,sun8i-h3-spdif + enum: + - allwinner,sun8i-h3-spdif + - allwinner,sun50i-h6-spdif then: properties:
Documentation/filesystems/overlayfs.txt +1 -1
@@ -302,7 +302,7 @@ beneath or above the path of another overlay lower layer path. Using an upper layer path and/or a workdir path that are already used by another overlay mount is not allowed and may fail with EBUSY. Using -partially overlapping paths is not allowed but will not fail with EBUSY. +partially overlapping paths is not allowed and may fail with EBUSY. If files are accessed from two overlayfs mounts which share or overlap the upper layer and/or workdir path the behavior of the overlay is undefined, though it will not result in a crash or deadlock.
Documentation/scheduler/sched-bwc.rst +60 -14
101 lines not on this page · raw message
Documentation/sound/hd-audio/models.rst +3 -0
@@ -260,6 +260,9 @@ alc295-hp-x360 HP Spectre X360 fixups alc-sense-combo Headset button support for Chrome platform +huawei-mbx-stereo + Enable initialization verbs for Huawei MBX stereo speakers; + might be risky, try this at your own risk ALC66x/67x/892 ==============
Documentation/sphinx/automarkup.py +1 -1
@@ -25,7 +25,7 @@ RE_function = re.compile(r'([\w_][\w\d_]+\(\))') # to the creation of incorrect and confusing cross references. So # just don't even try with these names. # -Skipfuncs = [ 'open', 'close', 'read', 'write', 'fcntl', 'mmap' +Skipfuncs = [ 'open', 'close', 'read', 'write', 'fcntl', 'mmap', 'select', 'poll', 'fork', 'execve', 'clone', 'ioctl'] #
Documentation/usb/rio.rst deleted +0 -109
109 lines not on this page · raw message
MAINTAINERS +0 -7
@@ -16606,13 +16606,6 @@ W: http://www.linux-usb.org/usbnet S: Maintained F: drivers/net/usb/dm9601.c -USB DIAMOND RIO500 DRIVER -M: Cesar Miquel <[email protected]> -L: [email protected] -W: http://rio500.sourceforge.net -S: Maintained -F: drivers/usb/misc/rio500* - USB EHCI DRIVER M: Alan Stern <[email protected]> L: [email protected]
Makefile +6 -4
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 3 -SUBLEVEL = 0 +SUBLEVEL = 10 EXTRAVERSION = NAME = Bobtail Squid
@@ -751,6 +751,11 @@ else # These warnings generated too much noise in a regular build. # Use make W=1 to enable them (see scripts/Makefile.extrawarn) KBUILD_CFLAGS += -Wno-unused-but-set-variable + +# Warn about unmarked fall-throughs in switch statement. +# Disabled for clang while comment to attribute conversion happens and +# https://github.com/ClangBuiltLinux/linux/issues/636 is discussed. +KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough,) endif KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
@@ -845,9 +850,6 @@ NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) # warn about C99 declaration after statement KBUILD_CFLAGS += -Wdeclaration-after-statement -# Warn about unmarked fall-throughs in switch statement. -KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough,) - # Variable Length Arrays (VLAs) should not be used anywhere in the kernel KBUILD_CFLAGS += -Wvla
arch/arc/kernel/perf_event.c +2 -2
@@ -614,8 +614,8 @@ static int arc_pmu_device_probe(struct platform_device *pdev)/* loop thru all available h/w condition indexes */ for (i =0 ; i < cc_bcr.c; i++) {write_aux_reg (ARC_REG_CC_INDEX , i); - cc_name.indiv.word0 =read_aux_reg (ARC_REG_CC_NAME0 ); - cc_name.indiv.word1 =read_aux_reg (ARC_REG_CC_NAME1 ); + cc_name.indiv.word0 =le32_to_cpu (read_aux_reg (ARC_REG_CC_NAME0 )); + cc_name.indiv.word1 =le32_to_cpu (read_aux_reg (ARC_REG_CC_NAME1 ));arc_pmu_map_hw_event (i, cc_name.str);arc_pmu_add_raw_event_attr (i, cc_name.str);
arch/arm/Kconfig +4 -3
@@ -82,7 +82,7 @@ config ARM select HAVE_FAST_GUP if ARM_LPAE select HAVE_FTRACE_MCOUNT_RECORD if !XIP_KERNEL select HAVE_FUNCTION_GRAPH_TRACER if !THUMB2_KERNEL && !CC_IS_CLANG - select HAVE_FUNCTION_TRACER if !XIP_KERNEL + select HAVE_FUNCTION_TRACER if !XIP_KERNEL && (CC_IS_GCC || CLANG_VERSION >= 100000) select HAVE_GCC_PLUGINS select HAVE_HW_BREAKPOINT if PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7) select HAVE_IDE if PCI || ISA || PCMCIA
@@ -1572,8 +1572,9 @@ config ARM_PATCH_IDIV code to do integer division. config AEABI - bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && !CPU_V7M && !CPU_V6 && !CPU_V6K - default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K + bool "Use the ARM EABI to compile the kernel" if !CPU_V7 && \ + !CPU_V7M && !CPU_V6 && !CPU_V6K && !CC_IS_CLANG + default CPU_V7 || CPU_V7M || CPU_V6 || CPU_V6K || CC_IS_CLANG help This option allows for the kernel to be compiled using the latest ARM ABI (aka EABI). This is only useful if you are using a user
arch/arm/Makefile +4 -0
@@ -112,6 +112,10 @@ ifeq ($(CONFIG_ARM_UNWIND),y) CFLAGS_ABI +=-funwind-tables endif +ifeq ($(CONFIG_CC_IS_CLANG),y) +CFLAGS_ABI += -meabi gnu +endif + # Accept old syntax despite ".syntax unified" AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W)
arch/arm/boot/dts/am335x-icev2.dts +1 -1
@@ -432,7 +432,7 @@ pinctrl-0 = <&mmc0_pins_default>; }; -&gpio0 { +&gpio0_target { /* Do not idle the GPIO used for holding the VTT regulator */ ti,no-reset-on-init; ti,no-idle-on-init;
arch/arm/boot/dts/am33xx-l4.dtsi +4 -2
@@ -127,7 +127,7 @@ ranges = <0x0 0x5000 0x1000>; }; - target-module@7000 { /* 0x44e07000, ap 14 20.0 */ + gpio0_target: target-module@7000 { /* 0x44e07000, ap 14 20.0 */ compatible = "ti,sysc-omap2", "ti,sysc"; ti,hwmods = "gpio1"; reg = <0x7000 0x4>,
@@ -2038,7 +2038,9 @@ reg = <0xe000 0x4>, <0xe054 0x4>; reg-names = "rev", "sysc"; - ti,sysc-midle ; + ti,sysc-midle = <SYSC_IDLE_FORCE>, + <SYSC_IDLE_NO>, + <SYSC_IDLE_SMART>; ti,sysc-sidle = <SYSC_IDLE_FORCE>, <SYSC_IDLE_NO>, <SYSC_IDLE_SMART>;
arch/arm/boot/dts/am3517-evm.dts +4 -19
@@ -124,10 +124,11 @@ }; lcd0: display@0 { - compatible = "panel-dpi"; + /* This isn't the exact LCD, but the timings meet spec */ + /* To make it work, set CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4 */ + compatible = "newhaven,nhd-4.3-480272ef-atxl"; label = "15"; - status = "okay"; - pinctrl-names = "default"; + backlight = <&bl>; enable-gpios = <&gpio6 16 GPIO_ACTIVE_HIGH>; /* gpio176, lcd INI */ vcc-supply = <&vdd_io_reg>;
@@ -136,22 +137,6 @@ remote-endpoint = <&dpi_out>; }; }; - - panel-timing { - clock-frequency = <9000000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <3>; - hback-porch = <2>; - hsync-len = <42>; - vback-porch = <3>; - vfront-porch = <4>; - vsync-len = <11>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; }; bl: backlight {
arch/arm/boot/dts/am3874-iceboard.dts +1 -8
@@ -111,13 +111,13 @@ reg = <0x70>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; i2c@0 { /* FMC A */ #address-cells = <1>; #size-cells = <0>; reg = <0>; - i2c-mux-idle-disconnect; }; i2c@1 {
@@ -125,7 +125,6 @@ #address-cells = <1>; #size-cells = <0>; reg = <1>; - i2c-mux-idle-disconnect; }; i2c@2 {
@@ -133,7 +132,6 @@ #address-cells = <1>; #size-cells = <0>; reg = <2>; - i2c-mux-idle-disconnect; }; i2c@3 {
@@ -141,7 +139,6 @@ #address-cells = <1>; #size-cells = <0>; reg = <3>; - i2c-mux-idle-disconnect; }; i2c@4 {
@@ -149,14 +146,12 @@ #address-cells = <1>; #size-cells = <0>; reg = <4>; - i2c-mux-idle-disconnect; }; i2c@5 { #address-cells = <1>; #size-cells = <0>; reg = <5>; - i2c-mux-idle-disconnect; ina230@40 { compatible = "ti,ina230"; reg = <0x40>; shunt-resistor = <5000>; }; ina230@41 { compatible = "ti,ina230"; reg = <0x41>; shunt-resistor = <5000>; };
@@ -182,14 +177,12 @@ #address-cells = <1>; #size-cells = <0>; reg = <6>; - i2c-mux-idle-disconnect; }; i2c@7 { #address-cells = <1>; #size-cells = <0>; reg = <7>; - i2c-mux-idle-disconnect; u41: pca9575@20 { compatible = "nxp,pca9575";
arch/arm/boot/dts/am4372.dtsi +2 -0
@@ -337,6 +337,8 @@ ti,hwmods = "dss_dispc"; clocks = <&disp_clk>; clock-names = "fck"; + + max-memory-bandwidth = <230000000>; }; rfbi: rfbi@4832a800 {
arch/arm/boot/dts/bcm2837-rpi-cm3.dtsi +8 -0
@@ -8,6 +8,14 @@ reg = <0 0x40000000>; }; + leds { + /* + * Since there is no upstream GPIO driver yet, + * remove the incomplete node. + */ + /delete-node/ act; + }; + reg_3v3: fixed-regulator { compatible = "regulator-fixed"; regulator-name = "3V3";
arch/arm/boot/dts/dra7-l4.dtsi +21 -27
132 lines not on this page · raw message
arch/arm/boot/dts/exynos5420-peach-pit.dts +1 -0
@@ -440,6 +440,7 @@ regulator-name = "vdd_ldo10"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-state-mem { regulator-off-in-suspend; };
arch/arm/boot/dts/exynos5800-peach-pi.dts +1 -0
@@ -440,6 +440,7 @@ regulator-name = "vdd_ldo10"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; + regulator-always-on; regulator-state-mem { regulator-off-in-suspend; };
arch/arm/boot/dts/gemini-dlink-dir-685.dts +0 -1
@@ -72,7 +72,6 @@ reg = <0>; /* 50 ns min period = 20 MHz */ spi-max-frequency = <20000000>; - spi-cpol; /* Clock active low */ vcc-supply = <&vdisp>; iovcc-supply = <&vdisp>; vci-supply = <&vdisp>;
arch/arm/boot/dts/imx6-logicpd-som.dtsi +4 -0
@@ -207,6 +207,10 @@ vin-supply = <&sw1c_reg>; }; +&snvs_poweroff { + status = "okay"; +}; + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>;
arch/arm/boot/dts/imx7-colibri.dtsi +1 -0
@@ -323,6 +323,7 @@ vmmc-supply = <®_module_3v3>; vqmmc-supply = <®_DCDC3>; non-removable; + sdhci-caps-mask = <0x80000000 0x0>; }; &iomuxc {
arch/arm/boot/dts/imx7d-cl-som-imx7.dts +2 -2
@@ -44,7 +44,7 @@ <&clks IMX7D_ENET1_TIME_ROOT_CLK>; assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; assigned-clock-rates = <0>, <100000000>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <ðphy0>; fsl,magic-packet; status = "okay";
@@ -70,7 +70,7 @@ <&clks IMX7D_ENET2_TIME_ROOT_CLK>; assigned-clock-parents = <&clks IMX7D_PLL_ENET_MAIN_100M_CLK>; assigned-clock-rates = <0>, <100000000>; - phy-mode = "rgmii"; + phy-mode = "rgmii-id"; phy-handle = <ðphy1>; fsl,magic-packet; status = "okay";
arch/arm/boot/dts/imx7s.dtsi +4 -4
@@ -448,7 +448,7 @@ compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; reg = <0x302d0000 0x10000>; interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX7D_CLK_DUMMY>, + clocks = <&clks IMX7D_GPT1_ROOT_CLK>, <&clks IMX7D_GPT1_ROOT_CLK>; clock-names = "ipg", "per"; };
@@ -457,7 +457,7 @@ compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; reg = <0x302e0000 0x10000>; interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX7D_CLK_DUMMY>, + clocks = <&clks IMX7D_GPT2_ROOT_CLK>, <&clks IMX7D_GPT2_ROOT_CLK>; clock-names = "ipg", "per"; status = "disabled";
@@ -467,7 +467,7 @@ compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; reg = <0x302f0000 0x10000>; interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX7D_CLK_DUMMY>, + clocks = <&clks IMX7D_GPT3_ROOT_CLK>, <&clks IMX7D_GPT3_ROOT_CLK>; clock-names = "ipg", "per"; status = "disabled";
@@ -477,7 +477,7 @@ compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt"; reg = <0x30300000 0x10000>; interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clks IMX7D_CLK_DUMMY>, + clocks = <&clks IMX7D_GPT4_ROOT_CLK>, <&clks IMX7D_GPT4_ROOT_CLK>; clock-names = "ipg", "per"; status = "disabled";
arch/arm/boot/dts/logicpd-torpedo-baseboard.dtsi +6 -31
@@ -108,7 +108,6 @@ &dss { status = "ok"; vdds_dsi-supply = <&vpll2>; - vdda_video-supply = <&video_reg>; pinctrl-names = "default"; pinctrl-0 = <&dss_dpi_pins1>; port {
@@ -124,44 +123,20 @@ display0 = &lcd0; }; - video_reg: video_reg { - pinctrl-names = "default"; - pinctrl-0 = <&panel_pwr_pins>; - compatible = "regulator-fixed"; - regulator-name = "fixed-supply"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio5 27 GPIO_ACTIVE_HIGH>; /* gpio155, lcd INI */ - }; - lcd0: display { - compatible = "panel-dpi"; + /* This isn't the exact LCD, but the timings meet spec */ + /* To make it work, set CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=4 */ + compatible = "newhaven,nhd-4.3-480272ef-atxl"; label = "15"; - status = "okay"; - /* default-on; */ pinctrl-names = "default"; - + pinctrl-0 = <&panel_pwr_pins>; + backlight = <&bl>; + enable-gpios = <&gpio5 27 GPIO_ACTIVE_HIGH>; port { lcd_in: endpoint { remote-endpoint = <&dpi_out>; }; }; - - panel-timing { - clock-frequency = <9000000>; - hactive = <480>; - vactive = <272>; - hfront-porch = <3>; - hback-porch = <2>; - hsync-len = <42>; - vback-porch = <3>; - vfront-porch = <4>; - vsync-len = <11>; - hsync-active = <0>; - vsync-active = <0>; - de-active = <1>; - pixelclk-active = <1>; - }; }; bl: backlight {
arch/arm/boot/dts/logicpd-torpedo-som.dtsi +4 -0
@@ -192,3 +192,7 @@ &twl_gpio { ti,use-leds; }; + +&twl_keypad { + status = "disabled"; +};
arch/arm/boot/dts/omap3-gta04.dtsi +1 -0
@@ -120,6 +120,7 @@ spi-max-frequency = <100000>; spi-cpol; spi-cpha; + spi-cs-high; backlight= <&backlight>; label = "lcd";
arch/arm/boot/dts/omap4-droid4-xt894.dts +1 -1
@@ -369,7 +369,7 @@ compatible = "ti,wl1285", "ti,wl1283"; reg = <2>; /* gpio_100 with gpmc_wait2 pad as wakeirq */ - interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>, + interrupts-extended = <&gpio4 4 IRQ_TYPE_LEVEL_HIGH>, <&omap4_pmx_core 0x4e>; interrupt-names = "irq", "wakeup"; ref-clock-frequency = <26000000>;
arch/arm/boot/dts/omap4-panda-common.dtsi +1 -1
@@ -474,7 +474,7 @@ compatible = "ti,wl1271"; reg = <2>; /* gpio_53 with gpmc_ncs3 pad as wakeup */ - interrupts-extended = <&gpio2 21 IRQ_TYPE_EDGE_RISING>, + interrupts-extended = <&gpio2 21 IRQ_TYPE_LEVEL_HIGH>, <&omap4_pmx_core 0x3a>; interrupt-names = "irq", "wakeup"; ref-clock-frequency = <38400000>;
arch/arm/boot/dts/omap4-sdp.dts +1 -1
@@ -512,7 +512,7 @@ compatible = "ti,wl1281"; reg = <2>; interrupt-parent = <&gpio1>; - interrupts = <21 IRQ_TYPE_EDGE_RISING>; /* gpio 53 */ + interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 53 */ ref-clock-frequency = <26000000>; tcxo-clock-frequency = <26000000>; };
arch/arm/boot/dts/omap4-var-som-om44-wlan.dtsi +1 -1
@@ -69,7 +69,7 @@ compatible = "ti,wl1271"; reg = <2>; interrupt-parent = <&gpio2>; - interrupts = <9 IRQ_TYPE_EDGE_RISING>; /* gpio 41 */ + interrupts = <9 IRQ_TYPE_LEVEL_HIGH>; /* gpio 41 */ ref-clock-frequency = <38400000>; }; };
arch/arm/boot/dts/omap5-board-common.dtsi +1 -1
@@ -362,7 +362,7 @@ pinctrl-names = "default"; pinctrl-0 = <&wlcore_irq_pin>; interrupt-parent = <&gpio1>; - interrupts = <14 IRQ_TYPE_EDGE_RISING>; /* gpio 14 */ + interrupts = <14 IRQ_TYPE_LEVEL_HIGH>; /* gpio 14 */ ref-clock-frequency = <26000000>; }; };
arch/arm/boot/dts/vf610-zii-scu4-aib.dts +2 -0
@@ -600,6 +600,7 @@ #address-cells = <1>; #size-cells = <0>; reg = <0x70>; + i2c-mux-idle-disconnect; sff0_i2c: i2c@1 { #address-cells = <1>;
@@ -638,6 +639,7 @@ reg = <0x71>; #address-cells = <1>; #size-cells = <0>; + i2c-mux-idle-disconnect; sff5_i2c: i2c@1 { #address-cells = <1>;
arch/arm/configs/badge4_defconfig +0 -1
@@ -91,7 +91,6 @@ CONFIG_USB_SERIAL_PL2303=m CONFIG_USB_SERIAL_CYBERJACK=m CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_OMNINET=m -CONFIG_USB_RIO500=m CONFIG_EXT2_FS=m CONFIG_EXT3_FS=m CONFIG_MSDOS_FS=y
arch/arm/configs/corgi_defconfig +0 -1
@@ -195,7 +195,6 @@ CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m -CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_CYTHERM=m
arch/arm/configs/omap2plus_defconfig +1 -0
@@ -363,6 +363,7 @@ CONFIG_DRM_OMAP_PANEL_TPO_TD028TTEC1=m CONFIG_DRM_OMAP_PANEL_TPO_TD043MTEA1=m CONFIG_DRM_OMAP_PANEL_NEC_NL8048HL11=m CONFIG_DRM_TILCDC=m +CONFIG_DRM_PANEL_SIMPLE=m CONFIG_FB=y CONFIG_FIRMWARE_EDID=y CONFIG_FB_MODE_HELPERS=y
arch/arm/configs/pxa_defconfig +0 -1
@@ -581,7 +581,6 @@ CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m -CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_CYTHERM=m
arch/arm/configs/s3c2410_defconfig +0 -1
@@ -327,7 +327,6 @@ CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m CONFIG_USB_ADUTUX=m CONFIG_USB_SEVSEG=m -CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_CYPRESS_CY7C63=m
arch/arm/configs/spitz_defconfig +0 -1
@@ -189,7 +189,6 @@ CONFIG_USB_SERIAL_XIRCOM=m CONFIG_USB_SERIAL_OMNINET=m CONFIG_USB_EMI62=m CONFIG_USB_EMI26=m -CONFIG_USB_RIO500=m CONFIG_USB_LEGOTOWER=m CONFIG_USB_LCD=m CONFIG_USB_CYTHERM=m
arch/arm/include/asm/domain.h +4 -4
@@ -82,7 +82,7 @@ #ifndef __ASSEMBLY__ #ifdef CONFIG_CPU_CP15_MMU -static inline unsigned int get_domain(void) +static __always_inline unsigned int get_domain(void) { unsigned int domain;
@@ -94,7 +94,7 @@ static inline unsigned int get_domain(void)return domain; } -static inline void set_domain (unsigned val) +static __always_inline void set_domain(unsigned int val) { asmvolatile ( "mcr p15, 0, %0, c3, c0 @ set domain"
@@ -102,12 +102,12 @@ static inline void set_domain(unsigned val)isb (); }#else -static inline unsigned int get_domain (void ) +static __always_inline unsigned int get_domain(void) {return 0 ; } -static inline void set_domain (unsigned val) +static __always_inline void set_domain(unsigned int val) { }#endif
arch/arm/include/asm/uaccess.h +2 -2
@@ -22,7 +22,7 @@* perform such accesses (eg, via list poison values) which could then * be exploited for priviledge escalation. */ -static inline unsigned int uaccess_save_and_enable (void ) +static __always_inline unsigned int uaccess_save_and_enable(void) {#ifdef CONFIG_CPU_SW_DOMAIN_PAN unsigned int old_domain =get_domain ();
@@ -37,7 +37,7 @@ static inline unsigned int uaccess_save_and_enable(void)#endif } -static inline void uaccess_restore (unsigned int flags) +static __always_inline void uaccess_restore(unsigned int flags) {#ifdef CONFIG_CPU_SW_DOMAIN_PAN /* Restore the user access mask */
arch/arm/kernel/head-common.S +3 -2
@@ -68,7 +68,7 @@ ENDPROC(__vet_atags) * The following fragment of code is executed with the MMU on in MMU mode, * and uses absolute addresses; this is not position independent. * - * r0 = cp#15 control register + * r0 = cp#15 control register (exc_ret for M-class) * r1 = machine ID * r2 = atags/dtb pointer * r9 = processor ID
@@ -137,7 +137,8 @@ __mmap_switched_data: #ifdef CONFIG_CPU_CP15 .long cr_alignment @ r3 #else - .long 0 @ r3 +M_CLASS(.long exc_ret) @ r3 +AR_CLASS(.long 0) @ r3 #endif .size __mmap_switched_data, . - __mmap_switched_data
arch/arm/kernel/head-nommu.S +2 -0
@@ -201,6 +201,8 @@ M_CLASS(streq r3, [r12, #PMSAv8_MAIR1]) bic r0, r0, #V7M_SCB_CCR_IC #endif str r0, [r12, V7M_SCB_CCR] + /* Pass exc_ret to __mmap_switched */ + mov r0, r10 #endif /* CONFIG_CPU_CP15 elif CONFIG_CPU_V7M */ ret lr ENDPROC(__after_proc_init)
arch/arm/mach-at91/.gitignore new file +1 -0
@@ -0,0 +1 @@ +pm_data-offsets.h
arch/arm/mach-at91/Makefile +3 -2
@@ -19,9 +19,10 @@ ifeq ($(CONFIG_PM_DEBUG),y) CFLAGS_pm.o += -DDEBUG endif -include/generated/at91_pm_data-offsets.h: arch/arm/mach-at91/pm_data-offsets.s FORCE +$(obj)/pm_data-offsets.h: $(obj)/pm_data-offsets.s FORCE $(call filechk,offsets,__PM_DATA_OFFSETS_H__) -arch/arm/mach-at91/pm_suspend.o: include/generated/at91_pm_data-offsets.h +$(obj)/pm_suspend.o: $(obj)/pm_data-offsets.h targets += pm_data-offsets.s +clean-files += pm_data-offsets.h
arch/arm/mach-at91/pm_suspend.S +1 -1
@@ -10,7 +10,7 @@ #include <linux/linkage.h> #include <linux/clk/at91_pmc.h> #include "pm.h" -#include "generated/at91_pm_data-offsets.h" +#include "pm_data-offsets.h" #define SRAMC_SELF_FRESH_ACTIVE 0x01 #define SRAMC_SELF_FRESH_EXIT 0x00
arch/arm/mach-davinci/dm365.c +2 -2
@@ -462,8 +462,8 @@ static s8 dm365_queue_priority_mapping[][2] = { };static const struct dma_slave_map dm365_edma_map[] = { - {"davinci-mcbsp.0" ,"tx" ,EDMA_FILTER_PARAM (0 ,2 ) }, - {"davinci-mcbsp.0" ,"rx" ,EDMA_FILTER_PARAM (0 ,3 ) }, + {"davinci-mcbsp" ,"tx" ,EDMA_FILTER_PARAM (0 ,2 ) }, + {"davinci-mcbsp" ,"rx" ,EDMA_FILTER_PARAM (0 ,3 ) }, {"davinci_voicecodec" ,"tx" ,EDMA_FILTER_PARAM (0 ,2 ) }, {"davinci_voicecodec" ,"rx" ,EDMA_FILTER_PARAM (0 ,3 ) }, {"spi_davinci.2" ,"tx" ,EDMA_FILTER_PARAM (0 ,10 ) },
arch/arm/mach-ep93xx/edb93xx.c +1 -1
@@ -103,7 +103,7 @@ static struct spi_board_info edb93xx_spi_board_info[] __initdata = { };static struct gpiod_lookup_table edb93xx_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP ("A" ,6 ,"cs" ,GPIO_ACTIVE_LOW ), { },
arch/arm/mach-ep93xx/simone.c +1 -1
@@ -73,7 +73,7 @@ static struct spi_board_info simone_spi_devices[] __initdata = {* v1.3 parts will still work, since the signal on SFRMOUT is automatic. */ static struct gpiod_lookup_table simone_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP ("A" ,1 ,"cs" ,GPIO_ACTIVE_LOW ), { },
arch/arm/mach-ep93xx/ts72xx.c +2 -2
@@ -267,7 +267,7 @@ static struct spi_board_info bk3_spi_board_info[] __initdata = {* goes through CPLD */ static struct gpiod_lookup_table bk3_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP ("F" ,3 ,"cs" ,GPIO_ACTIVE_LOW ), { },
@@ -316,7 +316,7 @@ static struct spi_board_info ts72xx_spi_devices[] __initdata = { };static struct gpiod_lookup_table ts72xx_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {/* DIO_17 */ GPIO_LOOKUP ("F" ,2 ,"cs" ,GPIO_ACTIVE_LOW ),
arch/arm/mach-ep93xx/vision_ep9307.c +1 -1
@@ -242,7 +242,7 @@ static struct spi_board_info vision_spi_board_info[] __initdata = { };static struct gpiod_lookup_table vision_spi_cs_gpio_table = { - .dev_id ="ep93xx-spi.0" , + .dev_id ="spi0" , .table = {GPIO_LOOKUP_IDX ("A" ,6 ,"cs" ,0 ,GPIO_ACTIVE_LOW ),GPIO_LOOKUP_IDX ("A" ,7 ,"cs" ,1 ,GPIO_ACTIVE_LOW ),
arch/arm/mach-omap2/.gitignore new file +1 -0
@@ -0,0 +1 @@ +pm-asm-offsets.h
arch/arm/mach-omap2/Makefile +3 -2
@@ -223,9 +223,10 @@ obj-y += omap_phy_internal.o obj-$(CONFIG_MACH_OMAP2_TUSB6010) += usb-tusb6010.o -include/generated/ti-pm-asm-offsets.h: arch/arm/mach-omap2/pm-asm-offsets.s FORCE +$(obj)/pm-asm-offsets.h: $(obj)/pm-asm-offsets.s FORCE $(call filechk,offsets,__TI_PM_ASM_OFFSETS_H__) -$(obj)/sleep33xx.o $(obj)/sleep43xx.o: include/generated/ti-pm-asm-offsets.h +$(obj)/sleep33xx.o $(obj)/sleep43xx.o: $(obj)/pm-asm-offsets.h targets += pm-asm-offsets.s +clean-files += pm-asm-offsets.h
arch/arm/mach-omap2/omap_hwmod_33xx_43xx_ipblock_data.c +2 -1
@@ -811,7 +811,8 @@ static struct omap_hwmod_class_sysconfig am33xx_timer_sysc = { .rev_offs = 0x0000, .sysc_offs = 0x0010, .syss_offs = 0x0014, - .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET), + .sysc_flags =SYSC_HAS_SIDLEMODE |SYSC_HAS_SOFTRESET | + SYSC_HAS_RESET_STATUS, .idlemodes = (SIDLE_FORCE |SIDLE_NO |SIDLE_SMART | SIDLE_SMART_WKUP), .sysc_fields = &omap_hwmod_sysc_type2,
arch/arm/mach-omap2/omap_hwmod_33xx_data.c +3 -2
@@ -231,8 +231,9 @@ static struct omap_hwmod am33xx_control_hwmod = {static struct omap_hwmod_class_sysconfig lcdc_sysc = { .rev_offs =0x0 , .sysc_offs =0x54 , - .sysc_flags = (SYSC_HAS_SIDLEMODE |SYSC_HAS_MIDLEMODE ), - .idlemodes = (SIDLE_FORCE |SIDLE_NO |SIDLE_SMART ), + .sysc_flags =SYSC_HAS_SIDLEMODE |SYSC_HAS_MIDLEMODE , + .idlemodes =SIDLE_FORCE |SIDLE_NO |SIDLE_SMART | +MSTANDBY_FORCE |MSTANDBY_NO |MSTANDBY_SMART , .sysc_fields = &omap_hwmod_sysc_type2, };
arch/arm/mach-omap2/pm.c +0 -100
118 lines not on this page · raw message
arch/arm/mach-omap2/sleep33xx.S +1 -1
@@ -6,7 +6,6 @@ * Dave Gerlach, Vaibhav Bedia */ -#include <generated/ti-pm-asm-offsets.h> #include <linux/linkage.h> #include <linux/platform_data/pm33xx.h> #include <linux/ti-emif-sram.h>
@@ -15,6 +14,7 @@ #include "iomap.h" #include "cm33xx.h" +#include "pm-asm-offsets.h" #define AM33XX_CM_CLKCTRL_MODULESTATE_DISABLED 0x00030000 #define AM33XX_CM_CLKCTRL_MODULEMODE_DISABLE 0x0003
arch/arm/mach-omap2/sleep43xx.S +1 -1
@@ -6,7 +6,6 @@ * Dave Gerlach, Vaibhav Bedia */ -#include <generated/ti-pm-asm-offsets.h> #include <linux/linkage.h> #include <linux/ti-emif-sram.h> #include <linux/platform_data/pm33xx.h>
@@ -19,6 +18,7 @@ #include "iomap.h" #include "omap-secure.h" #include "omap44xx.h" +#include "pm-asm-offsets.h" #include "prm33xx.h" #include "prcm43xx.h"
arch/arm/mach-zynq/platsmp.c +1 -1
@@ -57,7 +57,7 @@ int zynq_cpun_start(u32 address, int cpu)* 0x4: Jump by mov instruction * 0x8: Jumping address */ -memcpy ((__force void *)zero, &zynq_secondary_trampoline, +memcpy_toio (zero, &zynq_secondary_trampoline, trampoline_size);writel (address, zero + trampoline_size);
arch/arm/mm/alignment.c +36 -8
75 lines not on this page · raw message
arch/arm/mm/copypage-xscale.c +4 -2
@@ -42,6 +42,7 @@ static void mc_copy_user_page(void *from, void *to)* when prefetching destination as well. (NP) */ asm volatile ("\ +.arch xscale \n\ pld [%0, #0] \n\ pld [%0, #32] \n\ pld [%1, #0] \n\
@@ -106,8 +107,9 @@ void xscale_mc_clear_user_highpage(struct page *page, unsigned long vaddr) { void *ptr, *kaddr = kmap_atomic(page); - asm volatile( - "mov r1, %2 \n\ + asm volatile("\ +.arch xscale \n\ + mov r1, %2 \n\ mov r2, #0 \n\ mov r3, #0 \n\ 1: mov ip, %0 \n\
arch/arm/mm/fault.c +2 -2
@@ -191,7 +191,7 @@ static inline bool access_error(unsigned int fsr, struct vm_area_struct *vma) {unsigned int mask =VM_READ |VM_WRITE |VM_EXEC ; -if (fsr &FSR_WRITE ) +if ((fsr &FSR_WRITE ) && !(fsr &FSR_CM )) mask =VM_WRITE ;if (fsr &FSR_LNX_PF ) mask =VM_EXEC ;
@@ -262,7 +262,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs)if (user_mode (regs)) flags |=FAULT_FLAG_USER ; -if (fsr &FSR_WRITE ) +if ((fsr &FSR_WRITE ) && !(fsr &FSR_CM )) flags |=FAULT_FLAG_WRITE ;/*
arch/arm/mm/fault.h +1 -0
@@ -6,6 +6,7 @@* Fault status register encodings. We steal bit 31 for our own purposes. */ #define FSR_LNX_PF (1 << 31) +#define FSR_CM (1 << 13)#define FSR_WRITE (1 << 11)#define FSR_FS4 (1 << 10)#define FSR_FS3_0 (15)
arch/arm/mm/mmap.c +13 -3
@@ -18,8 +18,9 @@ (((pgoff)<<PAGE_SHIFT) & (SHMLBA-1)))/* gap between mmap and stack */ -#define MIN_GAP (128*1024*1024UL) -#define MAX_GAP ((TASK_SIZE)/6*5) +#define MIN_GAP (128*1024*1024UL) +#define MAX_GAP ((STACK_TOP)/6*5) +#define STACK_RND_MASK (0x7ff >> (PAGE_SHIFT - 12))static int mmap_is_legacy (struct rlimit *rlim_stack) {
@@ -35,13 +36,22 @@ static int mmap_is_legacy(struct rlimit *rlim_stack)static unsigned long mmap_base (unsigned long rnd,struct rlimit *rlim_stack) {unsigned long gap = rlim_stack->rlim_cur; +unsigned long pad = stack_guard_gap; + +/* Account for stack randomization if necessary */ +if (current->flags &PF_RANDOMIZE ) + pad += (STACK_RND_MASK <<PAGE_SHIFT ); + +/* Values close to RLIM_INFINITY can overflow. */ +if (gap + pad > gap) + gap += pad;if (gap <MIN_GAP ) gap =MIN_GAP ;else if (gap >MAX_GAP ) gap =MAX_GAP ; -return PAGE_ALIGN (TASK_SIZE - gap - rnd); +return PAGE_ALIGN (STACK_TOP - gap - rnd); }/*
arch/arm/mm/mmu.c +16 -0
@@ -1177,6 +1177,22 @@ void __init adjust_lowmem_bounds(void)*/ vmalloc_limit = (u64 )(uintptr_t )vmalloc_min -PAGE_OFFSET +PHYS_OFFSET ; +/* +* The first usable region must be PMD aligned. Mark its start +* as MEMBLOCK_NOMAP if it isn't +*/ +for_each_memblock (memory, reg) { +if (!memblock_is_nomap (reg)) { +if (!IS_ALIGNED (reg->base,PMD_SIZE )) { +phys_addr_t len; + + len =round_up (reg->base,PMD_SIZE ) - reg->base; +memblock_mark_nomap (reg->base, len); + } +break ; + } + } +for_each_memblock (memory, reg) {phys_addr_t block_start = reg->base;phys_addr_t block_end = reg->base + reg->size;
arch/arm/mm/proc-v7m.S +2 -4
@@ -132,13 +132,11 @@ __v7m_setup_cont: dsb mov r6, lr @ save LR ldr sp, =init_thread_union + THREAD_START_SP - stmia sp, {r0-r3, r12} cpsie i svc #0 1: cpsid i - ldr r0, =exc_ret - orr lr, lr, #EXC_RET_THREADMODE_PROCESSSTACK - str lr, [r0] + /* Calculate exc_ret */ + orr r10, lr, #EXC_RET_THREADMODE_PROCESSSTACK ldmia sp, {r0-r3, r12} str r5, [r12, #11 * 4] @ restore the original SVC vector entry mov lr, r6 @ restore LR
arch/arm/plat-samsung/watchdog-reset.c +1 -0
@@ -62,6 +62,7 @@ void samsung_wdt_reset(void)#ifdef CONFIG_OF static const struct of_device_id s3c2410_wdt_match[] = { { .compatible ="samsung,s3c2410-wdt" }, + { .compatible ="samsung,s3c6410-wdt" }, {}, };
arch/arm/xen/efi.c +2 -0
@@ -19,7 +19,9 @@ void __init xen_efi_runtime_setup(void) efi.get_variable = xen_efi_get_variable; efi.get_next_variable = xen_efi_get_next_variable; efi.set_variable = xen_efi_set_variable; + efi.set_variable_nonblocking = xen_efi_set_variable; efi.query_variable_info = xen_efi_query_variable_info; + efi.query_variable_info_nonblocking = xen_efi_query_variable_info; efi.update_capsule = xen_efi_update_capsule; efi.query_capsule_caps = xen_efi_query_capsule_caps; efi.get_next_high_mono_count = xen_efi_get_next_high_mono_count;
arch/arm64/Kconfig +18 -1
@@ -111,7 +111,7 @@ config ARM64 select GENERIC_STRNLEN_USER select GENERIC_TIME_VSYSCALL select GENERIC_GETTIMEOFDAY - select GENERIC_COMPAT_VDSO if (!CPU_BIG_ENDIAN && COMPAT) + select GENERIC_COMPAT_VDSO if (!CPU_BIG_ENDIAN && COMPAT && "$(CROSS_COMPILE_COMPAT)" != "") select HANDLE_DOMAIN_IRQ select HARDIRQS_SW_RESEND select HAVE_PCI
@@ -601,6 +601,23 @@ config CAVIUM_ERRATUM_30115 If unsure, say Y. +config CAVIUM_TX2_ERRATUM_219 + bool "Cavium ThunderX2 erratum 219: PRFM between TTBR change and ISB fails" + default y + help + On Cavium ThunderX2, a load, store or prefetch instruction between a + TTBR update and the corresponding context synchronizing operation can + cause a spurious Data Abort to be delivered to any hardware thread in + the CPU core. + + Work around the issue by avoiding the problematic code sequence and + trapping KVM guest TTBRx_EL1 writes to EL2 when SMT is enabled. The + trap handler performs the corresponding register access, skips the + instruction and ensures context synchronization by virtue of the + exception return. + + If unsure, say Y. + config QCOM_FALKOR_ERRATUM_1003 bool "Falkor E1003: Incorrect translation due to ASID change" default y
arch/arm64/Makefile +9 -13
@@ -47,20 +47,16 @@ $(warning Detected assembler with broken .inst; disassembly will be unreliable) endif endif +ifeq ($(CONFIG_CC_IS_CLANG), y) +COMPATCC ?= $(CC) --target=$(notdir $(CROSS_COMPILE_COMPAT:%-=%)) +else +COMPATCC ?= $(CROSS_COMPILE_COMPAT)gcc +endif +export COMPATCC + ifeq ($(CONFIG_GENERIC_COMPAT_VDSO), y) - CROSS_COMPILE_COMPAT ?= $(CONFIG_CROSS_COMPILE_COMPAT_VDSO:"%"=%) - - ifeq ($(CONFIG_CC_IS_CLANG), y) - $(warning CROSS_COMPILE_COMPAT is clang, the compat vDSO will not be built) - else ifeq ($(strip $(CROSS_COMPILE_COMPAT)),) - $(warning CROSS_COMPILE_COMPAT not defined or empty, the compat vDSO will not be built) - else ifeq ($(shell which $(CROSS_COMPILE_COMPAT)gcc 2> /dev/null),) - $(error $(CROSS_COMPILE_COMPAT)gcc not found, check CROSS_COMPILE_COMPAT) - else - export CROSS_COMPILE_COMPAT - export CONFIG_COMPAT_VDSO := y - compat_vdso := -DCONFIG_COMPAT_VDSO=1 - endif + export CONFIG_COMPAT_VDSO := y + compat_vdso := -DCONFIG_COMPAT_VDSO=1 endif KBUILD_CFLAGS += -mgeneral-regs-only $(lseinstr) $(brokengasinst) $(compat_vdso)
arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-plus.dts +9 -0
@@ -63,3 +63,12 @@ reg = <1>; }; }; + +®_dc1sw { + /* + * Ethernet PHY needs 30ms to properly power up and some more + * to initialize. 100ms should be plenty of time to finish + * whole process. + */ + regulator-enable-ramp-delay = <100000>; +};
arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts +6 -0
@@ -159,6 +159,12 @@ }; ®_dc1sw { + /* + * Ethernet PHY needs 30ms to properly power up and some more + * to initialize. 100ms should be plenty of time to finish + * whole process. + */ + regulator-enable-ramp-delay = <100000>; regulator-name = "vcc-phy"; };
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +0 -9
@@ -142,15 +142,6 @@ clock-output-names = "ext-osc32k"; }; - pmu { - compatible = "arm,cortex-a53-pmu"; - interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, - <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>; - }; - psci { compatible = "arm,psci-0.2"; method = "smc";
arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts +2 -2
@@ -66,8 +66,8 @@ gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; gpios-states = <0>; - states = <3300000 0 - 1800000 1>; + states = <3300000 0>, + <1800000 1>; }; flash_1v8: regulator-flash_1v8 {
arch/arm64/boot/dts/amlogic/meson-gxbb-nexbox-a95x.dts +2 -2
@@ -75,8 +75,8 @@ gpios-states = <1>; /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */ - states = <1800000 0 - 3300000 1>; + states = <1800000 0>, + <3300000 1>; }; vddio_boot: regulator-vddio_boot {
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts +2 -2
@@ -77,8 +77,8 @@ gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; gpios-states = <0>; - states = <3300000 0 - 1800000 1>; + states = <3300000 0>, + <1800000 1>; }; vcc1v8: regulator-vcc1v8 {
arch/arm64/boot/dts/amlogic/meson-gxbb-p20x.dtsi +2 -2
@@ -46,8 +46,8 @@ gpios-states = <1>; /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */ - states = <1800000 0 - 3300000 1>; + states = <1800000 0>, + <3300000 1>; regulator-settling-time-up-us = <10000>; regulator-settling-time-down-us = <150000>;
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-hwacom-amazetv.dts +2 -2
@@ -38,8 +38,8 @@ gpios-states = <1>; /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */ - states = <1800000 0 - 3300000 1>; + states = <1800000 0>, + <3300000 1>; }; vddio_boot: regulator-vddio_boot {
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-nexbox-a95x.dts +2 -2
@@ -38,8 +38,8 @@ gpios-states = <1>; /* Based on P200 schematics, signal CARD_1.8V/3.3V_CTR */ - states = <1800000 0 - 3300000 1>; + states = <1800000 0>, + <3300000 1>; }; vddio_boot: regulator-vddio_boot {
arch/arm64/boot/dts/broadcom/stingray/stingray-pinctrl.dtsi +3 -2
@@ -42,13 +42,14 @@ pinmux: pinmux@14029c { compatible = "pinctrl-single"; - reg = <0x0014029c 0x250>; + reg = <0x0014029c 0x26c>; #address-cells = <1>; #size-cells = <1>; pinctrl-single,register-width = <32>; pinctrl-single,function-mask = <0xf>; pinctrl-single,gpio-range = < - &range 0 154 MODE_GPIO + &range 0 91 MODE_GPIO + &range 95 60 MODE_GPIO >; range: gpio-range { #pinctrl-single,gpio-range-cells = <3>;
arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi +1 -2
@@ -464,8 +464,7 @@ <&pinmux 108 16 27>, <&pinmux 135 77 6>, <&pinmux 141 67 4>, - <&pinmux 145 149 6>, - <&pinmux 151 91 4>; + <&pinmux 145 149 6>; }; i2c1: i2c@e0000 {
arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi +18 -18
@@ -33,7 +33,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster0_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@1 {
@@ -49,7 +49,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster0_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@100 {
@@ -65,7 +65,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster1_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@101 {
@@ -81,7 +81,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster1_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@200 {
@@ -97,7 +97,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster2_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@201 {
@@ -113,7 +113,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster2_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@300 {
@@ -129,7 +129,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster3_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@301 {
@@ -145,7 +145,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster3_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@400 {
@@ -161,7 +161,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster4_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@401 {
@@ -177,7 +177,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster4_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@500 {
@@ -193,7 +193,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster5_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@501 {
@@ -209,7 +209,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster5_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@600 {
@@ -225,7 +225,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster6_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@601 {
@@ -241,7 +241,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster6_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@700 {
@@ -257,7 +257,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster7_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cpu@701 {
@@ -273,7 +273,7 @@ i-cache-line-size = <64>; i-cache-sets = <192>; next-level-cache = <&cluster7_l2>; - cpu-idle-states = <&cpu_pw20>; + cpu-idle-states = <&cpu_pw15>; }; cluster0_l2: l2-cache0 {
@@ -340,9 +340,9 @@ cache-level = <2>; }; - cpu_pw20: cpu-pw20 { + cpu_pw15: cpu-pw15 { compatible = "arm,idle-state"; - idle-state-name = "PW20"; + idle-state-name = "PW15"; arm,psci-suspend-param = <0x0>; entry-latency-us = <2000>; exit-latency-us = <2000>;
arch/arm64/boot/dts/freescale/imx8mm.dtsi +3 -3
@@ -650,7 +650,7 @@ compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; reg = <0x30b40000 0x10000>; interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk IMX8MM_CLK_DUMMY>, + clocks = <&clk IMX8MM_CLK_IPG_ROOT>, <&clk IMX8MM_CLK_NAND_USDHC_BUS>, <&clk IMX8MM_CLK_USDHC1_ROOT>; clock-names = "ipg", "ahb", "per";
@@ -666,7 +666,7 @@ compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; reg = <0x30b50000 0x10000>; interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk IMX8MM_CLK_DUMMY>, + clocks = <&clk IMX8MM_CLK_IPG_ROOT>, <&clk IMX8MM_CLK_NAND_USDHC_BUS>, <&clk IMX8MM_CLK_USDHC2_ROOT>; clock-names = "ipg", "ahb", "per";
@@ -680,7 +680,7 @@ compatible = "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc"; reg = <0x30b60000 0x10000>; interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk IMX8MM_CLK_DUMMY>, + clocks = <&clk IMX8MM_CLK_IPG_ROOT>, <&clk IMX8MM_CLK_NAND_USDHC_BUS>, <&clk IMX8MM_CLK_USDHC3_ROOT>; clock-names = "ipg", "ahb", "per";
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +2 -2
@@ -101,8 +101,8 @@ regulator-min-microvolt = <900000>; regulator-max-microvolt = <1000000>; gpios = <&gpio3 19 GPIO_ACTIVE_HIGH>; - states = <1000000 0x0 - 900000 0x1>; + states = <1000000 0x1 + 900000 0x0>; regulator-always-on; }; };
arch/arm64/boot/dts/freescale/imx8mq.dtsi +4 -5
@@ -169,15 +169,14 @@ opp-1300000000 { opp-hz = /bits/ 64 <1300000000>; opp-microvolt = <1000000>; - opp-supported-hw = <0xc>, <0x7>; + opp-supported-hw = <0xc>, <0x4>; clock-latency-ns = <150000>; }; opp-1500000000 { opp-hz = /bits/ 64 <1500000000>; opp-microvolt = <1000000>; - /* Consumer only but rely on speed grading */ - opp-supported-hw = <0x8>, <0x7>; + opp-supported-hw = <0x8>, <0x3>; clock-latency-ns = <150000>; }; };
@@ -783,7 +782,7 @@ "fsl,imx7d-usdhc"; reg = <0x30b40000 0x10000>; interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk IMX8MQ_CLK_DUMMY>, + clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, <&clk IMX8MQ_CLK_USDHC1_ROOT>; clock-names = "ipg", "ahb", "per";
@@ -800,7 +799,7 @@ "fsl,imx7d-usdhc"; reg = <0x30b50000 0x10000>; interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; - clocks = <&clk IMX8MQ_CLK_DUMMY>, + clocks = <&clk IMX8MQ_CLK_IPG_ROOT>, <&clk IMX8MQ_CLK_NAND_USDHC_BUS>, <&clk IMX8MQ_CLK_USDHC2_ROOT>; clock-names = "ipg", "ahb", "per";
arch/arm64/boot/dts/qcom/Makefile +3 -0
@@ -6,6 +6,9 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8916-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8992-bullhead-rev-101.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8994-angler-rev-101.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8996-mtp.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8998-asus-novago-tp370ql.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8998-hp-envy-x2.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8998-lenovo-miix-630.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8998-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r1.dtb dtb-$(CONFIG_ARCH_QCOM) += sdm845-cheza-r2.dtb
arch/arm64/boot/dts/qcom/msm8998-asus-novago-tp370ql.dts new file +47 -0
47 lines not on this page · raw message
arch/arm64/boot/dts/qcom/msm8998-clamshell.dtsi new file +240 -0
240 lines not on this page · raw message
arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts new file +30 -0
@@ -0,0 +1,30 @@ +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ + +/dts-v1/; + +#include "msm8998-clamshell.dtsi" + +/ { + model = "HP Envy x2"; + compatible = "hp,envy-x2", "qcom,msm8998"; +}; + +&blsp1_i2c6 { + status = "okay"; + + keyboard@3a { + compatible = "hid-over-i2c"; + interrupt-parent = <&tlmm>; + interrupts = <0x79 IRQ_TYPE_LEVEL_LOW>; + reg = <0x3a>; + hid-descr-addr = <0x0001>; + + pinctrl-names = "default"; + pinctrl-0 = <&touchpad>; + }; +}; + +&sdhc2 { + cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>; +};
arch/arm64/boot/dts/qcom/msm8998-lenovo-miix-630.dts new file +30 -0
@@ -0,0 +1,30 @@ +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ + +/dts-v1/; + +#include "msm8998-clamshell.dtsi" + +/ { + model = "Lenovo Miix 630"; + compatible = "lenovo,miix-630", "qcom,msm8998"; +}; + +&blsp1_i2c6 { + status = "okay"; + + keyboard@3a { + compatible = "hid-over-i2c"; + interrupt-parent = <&tlmm>; + interrupts = <0x79 IRQ_TYPE_LEVEL_LOW>; + reg = <0x3a>; + hid-descr-addr = <0x0001>; + + pinctrl-names = "default"; + pinctrl-0 = <&touchpad>; + }; +}; + +&sdhc2 { + cd-gpios = <&tlmm 95 GPIO_ACTIVE_HIGH>; +};
arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +3 -1
@@ -61,7 +61,9 @@ protected-clocks = <GCC_BIMC_CDSP_CLK>, <GCC_CDSP_CFG_AHB_CLK>, <GCC_CDSP_BIMC_CLK_SRC>, - <GCC_CDSP_TBU_CLK>; + <GCC_CDSP_TBU_CLK>, + <141>, /* GCC_WCSS_Q6_AHB_CLK */ + <142>; /* GCC_WCSS_Q6_AXIM_CLK */ }; &pms405_spmi_regulators {
arch/arm64/boot/dts/rockchip/rk3328.dtsi +3 -0
@@ -801,6 +801,7 @@ <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };
@@ -812,6 +813,7 @@ <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };
@@ -823,6 +825,7 @@ <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample"; fifo-depth = <0x100>; + max-frequency = <150000000>; status = "disabled"; };
arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts +2 -2
@@ -644,7 +644,7 @@ status = "okay"; u2phy0_host: host-port { - phy-supply = <&vcc5v0_host>; + phy-supply = <&vcc5v0_typec>; status = "okay"; };
@@ -712,7 +712,7 @@ &usbdrd_dwc3_0 { status = "okay"; - dr_mode = "otg"; + dr_mode = "host"; }; &usbdrd3_1 {
arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dts +5 -7
@@ -166,7 +166,7 @@ regulator-always-on; regulator-boot-on; regulator-min-microvolt = <800000>; - regulator-max-microvolt = <1400000>; + regulator-max-microvolt = <1700000>; vin-supply = <&vcc5v0_sys>; }; };
@@ -240,8 +240,8 @@ rk808: pmic@1b { compatible = "rockchip,rk808"; reg = <0x1b>; - interrupt-parent = <&gpio1>; - interrupts = <21 IRQ_TYPE_LEVEL_LOW>; + interrupt-parent = <&gpio3>; + interrupts = <10 IRQ_TYPE_LEVEL_LOW>; #clock-cells = <1>; clock-output-names = "xin32k", "rk808-clkout2"; pinctrl-names = "default";
@@ -567,7 +567,7 @@ pmic { pmic_int_l: pmic-int-l { - rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>; + rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>; }; vsel1_gpio: vsel1-gpio {
@@ -613,7 +613,6 @@ &sdmmc { bus-width = <4>; - cap-mmc-highspeed; cap-sd-highspeed; cd-gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; disable-wp;
@@ -625,8 +624,7 @@ &sdhci { bus-width = <8>; - mmc-hs400-1_8v; - mmc-hs400-enhanced-strobe; + mmc-hs200-1_8v; non-removable; status = "okay"; };
arch/arm64/boot/dts/ti/k3-am65-main.dtsi +1 -1
@@ -42,7 +42,7 @@ */ interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>; - gic_its: gic-its@18200000 { + gic_its: gic-its@1820000 { compatible = "arm,gic-v3-its"; reg = <0x00 0x01820000 0x00 0x10000>; socionext,synquacer-pre-its = <0x1000000 0x400000>;
arch/arm64/include/asm/atomic_ll_sc.h +47 -42
197 lines not on this page · raw message
arch/arm64/include/asm/cmpxchg.h +3 -3
@@ -63,7 +63,7 @@ __XCHG_CASE( , , mb_, 64, dmb ish, nop, , a, l, "memory")#undef __XCHG_CASE#define __XCHG_GEN (sfx) \ -static inline unsigned long __xchg##sfx(unsigned long x, \ +static __always_inline unsigned long __xchg##sfx(unsigned long x, \ volatile void *ptr, \ int size) \ { \
@@ -105,7 +105,7 @@ __XCHG_GEN(_mb)#define arch_xchg (...) __xchg_wrapper( _mb, __VA_ARGS__)#define __CMPXCHG_GEN (sfx) \ -static inline unsigned long __cmpxchg##sfx(volatile void *ptr, \ +static __always_inline unsigned long __cmpxchg##sfx(volatile void *ptr, \ unsigned long old, \ unsigned long new, \ int size) \
@@ -212,7 +212,7 @@ __CMPWAIT_CASE( , , 64);#undef __CMPWAIT_CASE#define __CMPWAIT_GEN (sfx) \ -static inline void __cmpwait##sfx(volatile void *ptr, \ +static __always_inline void __cmpwait##sfx(volatile void *ptr, \ unsigned long val, \ int size) \ { \
arch/arm64/include/asm/cpucaps.h +3 -1
@@ -52,7 +52,9 @@#define ARM64_HAS_IRQ_PRIO_MASKING 42#define ARM64_HAS_DCPODP 43#define ARM64_WORKAROUND_1463225 44 +#define ARM64_WORKAROUND_CAVIUM_TX2_219_TVM 45 +#define ARM64_WORKAROUND_CAVIUM_TX2_219_PRFM 46 -#define ARM64_NCAPS 45 +#define ARM64_NCAPS 47#endif /* __ASM_CPUCAPS_H */
arch/arm64/include/asm/cputype.h +11 -10
@@ -51,14 +51,6 @@#define MIDR_CPU_MODEL_MASK (MIDR_IMPLEMENTOR_MASK | MIDR_PARTNUM_MASK | \ MIDR_ARCHITECTURE_MASK) -#define MIDR_IS_CPU_MODEL_RANGE (midr, model, rv_min, rv_max) \ -({ \ - u32 _model = (midr) & MIDR_CPU_MODEL_MASK; \ - u32 rv = (midr) & (MIDR_REVISION_MASK | MIDR_VARIANT_MASK); \ - \ - _model == (model) && rv >= (rv_min) && rv <= (rv_max); \ - }) -#define ARM_CPU_IMP_ARM 0x41#define ARM_CPU_IMP_APM 0x50#define ARM_CPU_IMP_CAVIUM 0x43
@@ -159,10 +151,19 @@ struct midr_range {#define MIDR_REV (m, v, r) MIDR_RANGE(m, v, r, v, r)#define MIDR_ALL_VERSIONS (m) MIDR_RANGE(m, 0, 0, 0xf, 0xf) +static inline bool midr_is_cpu_model_range (u32 midr,u32 model,u32 rv_min, +u32 rv_max) +{ +u32 _model = midr &MIDR_CPU_MODEL_MASK ; +u32 rv = midr & (MIDR_REVISION_MASK |MIDR_VARIANT_MASK ); + +return _model == model && rv >= rv_min && rv <= rv_max; +} +static inline bool is_midr_in_range (u32 midr,struct midr_range const *range) { -return MIDR_IS_CPU_MODEL_RANGE (midr, range->model, - range->rv_min, range->rv_max); +return midr_is_cpu_model_range (midr, range->model, + range->rv_min, range->rv_max); } static inline bool
arch/arm64/include/asm/exception.h +2 -0
@@ -30,4 +30,6 @@ static inline u32 disr_to_esr(u64 disr)return esr; } +asmlinkage void enter_from_user_mode(void); +#endif /* __ASM_EXCEPTION_H */
arch/arm64/include/asm/pgtable-prot.h +8 -7
@@ -32,11 +32,11 @@#define PROT_DEFAULT (_PROT_DEFAULT | PTE_MAYBE_NG)#define PROT_SECT_DEFAULT (_PROT_SECT_DEFAULT | PMD_MAYBE_NG) -#define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nGnRnE)) -#define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nGnRE)) -#define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC)) -#define PROT_NORMAL_WT (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_WT)) -#define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL)) +#define PROT_DEVICE_nGnRnE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nGnRnE)) +#define PROT_DEVICE_nGnRE (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_DEVICE_nGnRE)) +#define PROT_NORMAL_NC (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_NC)) +#define PROT_NORMAL_WT (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL_WT)) +#define PROT_NORMAL (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL))#define PROT_SECT_DEVICE_nGnRE (PROT_SECT_DEFAULT | PMD_SECT_PXN | PMD_SECT_UXN | PMD_ATTRINDX(MT_DEVICE_nGnRE))#define PROT_SECT_NORMAL (PROT_SECT_DEFAULT | PMD_SECT_PXN | PMD_SECT_UXN | PMD_ATTRINDX(MT_NORMAL))
@@ -80,8 +80,9 @@#define PAGE_S2_DEVICE __pgprot(_PROT_DEFAULT | PAGE_S2_MEMATTR(DEVICE_nGnRE) | PTE_S2_RDONLY | PAGE_S2_XN)#define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN) -#define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRITE) -#define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_WRITE) +/* shared+writable pages are clean by default, hence PTE_RDONLY|PTE_WRITE */ +#define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRITE) +#define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WRITE)#define PAGE_READONLY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN)#define PAGE_READONLY_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN)#define PAGE_EXECONLY __pgprot(_PAGE_DEFAULT | PTE_RDONLY | PTE_NG | PTE_PXN)
arch/arm64/include/asm/pgtable.h +9 -3
@@ -220,8 +220,10 @@ static inline void set_pte(pte_t *ptep, pte_t pte)* Only if the new pte is valid and kernel, otherwise TLB maintenance * or update_mmu_cache() have the necessary barriers. */ -if (pte_valid_not_user (pte)) +if (pte_valid_not_user (pte)) {dsb (ishst); +isb (); + } }extern void __sync_icache_dcache (pte_t pteval);
@@ -484,8 +486,10 @@ static inline void set_pmd(pmd_t *pmdp, pmd_t pmd)WRITE_ONCE (*pmdp, pmd); -if (pmd_valid (pmd)) +if (pmd_valid (pmd)) {dsb (ishst); +isb (); + } }static inline void pmd_clear (pmd_t *pmdp)
@@ -543,8 +547,10 @@ static inline void set_pud(pud_t *pudp, pud_t pud)WRITE_ONCE (*pudp, pud); -if (pud_valid (pud)) +if (pud_valid (pud)) {dsb (ishst); +isb (); + } }static inline void pud_clear (pud_t *pudp)
arch/arm64/include/asm/tlbflush.h +1 -0
@@ -251,6 +251,7 @@ static inline void __flush_tlb_kernel_pgtable(unsigned long kaddr)dsb (ishst);__tlbi (vaae1is, addr);dsb (ish); + isb(); }#endif
arch/arm64/include/asm/vdso/compat_barrier.h +1 -1
@@ -20,7 +20,7 @@#define dmb (option) __asm__ __volatile__ ("dmb " #option : : : "memory") -#if __LINUX_ARM_ARCH__ >=8 +#if __LINUX_ARM_ARCH__ >=8 && defined(CONFIG_AS_DMB_ISHLD )#define aarch32_smp_mb () dmb(ish)#define aarch32_smp_rmb () dmb(ishld)#define aarch32_smp_wmb () dmb(ishst)
arch/arm64/kernel/armv8_deprecated.c +5 -0
@@ -174,6 +174,9 @@ static void __init register_insn_emulation(struct insn_emulation_ops *ops)struct insn_emulation *insn; insn =kzalloc (sizeof (*insn),GFP_KERNEL ); +if (!insn) +return ; + insn->ops = ops; insn->min =INSN_UNDEF ;
@@ -233,6 +236,8 @@ static void __init register_insn_emulation_sysctl(void) insns_sysctl =kcalloc (nr_insn_emulated +1 ,sizeof (*sysctl),GFP_KERNEL ); +if (!insns_sysctl) +return ;raw_spin_lock_irqsave (&insn_emulation_lock, flags);list_for_each_entry (insn, &insn_emulation, node) {
arch/arm64/kernel/cpu_errata.c +39 -0
@@ -12,6 +12,7 @@#include <asm/cpu.h> #include <asm/cputype.h> #include <asm/cpufeature.h> +#include <asm/smp_plat.h> static bool __maybe_unused is_affected_midr_range (const struct arm64_cpu_capabilities *entry,int scope)
@@ -623,6 +624,30 @@ check_branch_predictor(const struct arm64_cpu_capabilities *entry, int scope)return (need_wa >0 ); } +static const __maybe_unused struct midr_range tx2_family_cpus[] = { +MIDR_ALL_VERSIONS (MIDR_BRCM_VULCAN ), +MIDR_ALL_VERSIONS (MIDR_CAVIUM_THUNDERX2 ), + {}, +}; + +static bool __maybe_unused +needs_tx2_tvm_workaround (const struct arm64_cpu_capabilities *entry, +int scope) +{ +int i; + +if (!is_affected_midr_range_list (entry, scope) || + !is_hyp_mode_available ()) +return false; + +for_each_possible_cpu (i) { +if (MPIDR_AFFINITY_LEVEL (cpu_logical_map (i),0 ) !=0 ) +return true; + } + +return false; +} +#ifdef CONFIG_HARDEN_EL2_VECTORS static const struct midr_range arm64_harden_el2_vectors[] = {
@@ -791,6 +816,7 @@ const struct arm64_cpu_capabilities arm64_errata[] = { { .desc = "Qualcomm Technologies Falkor/Kryo erratum 1003", .capability = ARM64_WORKAROUND_QCOM_FALKOR_E1003, + .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, .matches = cpucap_multi_entry_cap_matches, .match_list = qcom_erratum_1003_list, },
@@ -851,6 +877,19 @@ const struct arm64_cpu_capabilities arm64_errata[] = { .type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM, .matches = has_cortex_a76_erratum_1463225, }, + { + .desc = "Cavium ThunderX2 erratum 219 (PRFM removal)", + .capability = ARM64_WORKAROUND_CAVIUM_TX2_219_PRFM, + ERRATA_MIDR_RANGE_LIST(tx2_family_cpus), + }, +#endif +#ifdef CONFIG_CAVIUM_TX2_ERRATUM_219 + { + .desc = "Cavium ThunderX2 erratum 219 (KVM guest sysreg trapping)", + .capability = ARM64_WORKAROUND_CAVIUM_TX2_219_TVM, + ERRATA_MIDR_RANGE_LIST(tx2_family_cpus), + .matches = needs_tx2_tvm_workaround, + }, #endif { }
arch/arm64/kernel/cpufeature.c +2 -1
@@ -136,6 +136,7 @@ static const struct arm64_ftr_bits ftr_id_aa64isar0[] = {static const struct arm64_ftr_bits ftr_id_aa64isar1[] = {ARM64_FTR_BITS (FTR_VISIBLE ,FTR_STRICT ,FTR_LOWER_SAFE ,ID_AA64ISAR1_SB_SHIFT ,4 ,0 ), +ARM64_FTR_BITS (FTR_VISIBLE ,FTR_STRICT ,FTR_LOWER_SAFE ,ID_AA64ISAR1_FRINTTS_SHIFT ,4 ,0 ),ARM64_FTR_BITS (FTR_VISIBLE_IF_IS_ENABLED (CONFIG_ARM64_PTR_AUTH ),FTR_STRICT ,FTR_LOWER_SAFE ,ID_AA64ISAR1_GPI_SHIFT ,4 ,0 ), ARM64_FTR_BITS(FTR_VISIBLE_IF_IS_ENABLED(CONFIG_ARM64_PTR_AUTH),
@@ -894,7 +895,7 @@ static bool has_no_hw_prefetch(const struct arm64_cpu_capabilities *entry, int _u32 midr =read_cpuid_id ();/* Cavium ThunderX pass 1.x and 2.x */ -return MIDR_IS_CPU_MODEL_RANGE (midr,MIDR_THUNDERX , +return midr_is_cpu_model_range (midr,MIDR_THUNDERX ,MIDR_CPU_VAR_REV (0 ,0 ),MIDR_CPU_VAR_REV (1 ,MIDR_REVISION_MASK )); }
arch/arm64/kernel/entry.S +22 -17
@@ -30,9 +30,9 @@ * Context tracking subsystem. Used to instrument transitions * between user and kernel mode. */ - .macro ct_user_exit + .macro ct_user_exit_irqoff #ifdef CONFIG_CONTEXT_TRACKING - bl context_tracking_user_exit + bl enter_from_user_mode #endif .endm
@@ -775,6 +775,7 @@ el0_sync_compat: b.ge el0_dbg b el0_inv el0_svc_compat: + gic_prio_kentry_setup tmp=x1 mov x0, sp bl el0_svc_compat_handler b ret_to_user
@@ -792,8 +793,8 @@ el0_cp15: /* * Trapped CP15 (MRC, MCR, MRRC, MCRR) instructions */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_cp15instr
@@ -805,8 +806,8 @@ el0_da: * Data abort handling */ mrs x26, far_el1 + ct_user_exit_irqoff enable_daif - ct_user_exit clear_address_tag x0, x26 mov x1, x25 mov x2, sp
@@ -818,11 +819,11 @@ el0_ia: */ mrs x26, far_el1 gic_prio_kentry_setup tmp=x0 + ct_user_exit_irqoff enable_da_f #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_off #endif - ct_user_exit mov x0, x26 mov x1, x25 mov x2, sp
@@ -832,8 +833,8 @@ el0_fpsimd_acc: /* * Floating Point or Advanced SIMD access */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_fpsimd_acc
@@ -842,8 +843,8 @@ el0_sve_acc: /* * Scalable Vector Extension access */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_sve_acc
@@ -852,8 +853,8 @@ el0_fpsimd_exc: /* * Floating Point, Advanced SIMD or SVE exception */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_fpsimd_exc
@@ -868,11 +869,11 @@ el0_sp_pc: * Stack or PC alignment exception handling */ gic_prio_kentry_setup tmp=x0 + ct_user_exit_irqoff enable_da_f #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_off #endif - ct_user_exit mov x0, x26 mov x1, x25 mov x2, sp
@@ -882,8 +883,8 @@ el0_undef: /* * Undefined instruction */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, sp bl do_undefinstr b ret_to_user
@@ -891,8 +892,8 @@ el0_sys: /* * System instructions, for trapped cache maintenance instructions */ + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, x25 mov x1, sp bl do_sysinstr
@@ -902,17 +903,18 @@ el0_dbg: * Debug exception handling */ tbnz x24, #0, el0_inv // EL0 only + mrs x24, far_el1 gic_prio_kentry_setup tmp=x3 - mrs x0, far_el1 + ct_user_exit_irqoff + mov x0, x24 mov x1, x25 mov x2, sp bl do_debug_exception enable_da_f - ct_user_exit b ret_to_user el0_inv: + ct_user_exit_irqoff enable_daif - ct_user_exit mov x0, sp mov x1, #BAD_SYNC mov x2, x25
@@ -925,13 +927,13 @@ el0_irq: kernel_entry 0 el0_irq_naked: gic_prio_irq_setup pmr=x20, tmp=x0 + ct_user_exit_irqoff enable_da_f #ifdef CONFIG_TRACE_IRQFLAGS bl trace_hardirqs_off #endif - ct_user_exit #ifdef CONFIG_HARDEN_BRANCH_PREDICTOR tbz x22, #55, 1f bl do_el0_irq_bp_hardening
@@ -958,13 +960,14 @@ ENDPROC(el1_error) el0_error: kernel_entry 0 el0_error_naked: - mrs x1, esr_el1 + mrs x25, esr_el1 gic_prio_kentry_setup tmp=x2 + ct_user_exit_irqoff enable_dbg mov x0, sp + mov x1, x25 bl do_serror enable_da_f - ct_user_exit b ret_to_user ENDPROC(el0_error)
@@ -1068,7 +1071,9 @@ alternative_insn isb, nop, ARM64_WORKAROUND_QCOM_FALKOR_E1003 #else ldr x30, =vectors #endif +alternative_if_not ARM64_WORKAROUND_CAVIUM_TX2_219_PRFM prfm plil1strm, [x30, #(1b - tramp_vectors)] +alternative_else_nop_endif msr vbar_el1, x30 add x30, x30, #(1b - tramp_vectors) isb
arch/arm64/kernel/ftrace.c +9 -3
@@ -121,10 +121,16 @@ int ftrace_make_call(struct dyn_ftrace *rec, unsigned long addr)/* * Ensure updated trampoline is visible to instruction -* fetch before we patch in the branch. +* fetch before we patch in the branch. Although the +* architecture doesn't require an IPI in this case, +* Neoverse-N1 erratum #1542419 does require one +* if the TLB maintenance in module_enable_ro() is +* skipped due to rodata_enabled. It doesn't seem worth +* it to make it conditional given that this is +* certainly not a fast-path. */ -__flush_icache_range ((unsigned long )&dst[0 ], - (unsigned long)&dst[1]); +flush_icache_range ((unsigned long )&dst[0 ], + (unsigned long)&dst[1]); } addr = (unsigned long )dst;#else /* CONFIG_ARM64_MODULE_PLTS */
arch/arm64/kernel/image-vars.h new file +51 -0
51 lines not on this page · raw message
arch/arm64/kernel/image.h +0 -42
46 lines not on this page · raw message
arch/arm64/kernel/process.c +15 -17
@@ -323,22 +323,27 @@ void arch_release_task_struct(struct task_struct *tsk)fpsimd_release_task (tsk); } -/* -* src and dst may temporarily have aliased sve_state after task_struct -* is copied. We cannot fix this properly here, because src may have -* live SVE state and dst's thread_info may not exist yet, so tweaking -* either src's or dst's TIF_SVE is not safe. -* -* The unaliasing is done in copy_thread() instead. This works because -* dst is not schedulable or traceable until both of these functions -* have been called. -*/ int arch_dup_task_struct (struct task_struct *dst,struct task_struct *src) {if (current->mm)fpsimd_preserve_current_state (); *dst = *src; +/* We rely on the above assignment to initialize dst's thread_flags: */ +BUILD_BUG_ON (!IS_ENABLED (CONFIG_THREAD_INFO_IN_TASK )); + +/* +* Detach src's sve_state (if any) from dst so that it does not +* get erroneously used or freed prematurely. dst's sve_state +* will be allocated on demand later on if dst uses SVE. +* For consistency, also clear TIF_SVE here: this could be done
Lines of this file are not shown. View the raw message.
arch/arm64/kvm/hyp/switch.c +67 -2
69 lines not on this page · raw message
arch/mips/include/asm/barrier.h +28 -16
44 lines not on this page · raw message
arch/mips/include/asm/bitops.h +30 -17
47 lines not on this page · raw message
arch/mips/kernel/cpu-probe.c +46 -0
46 lines not on this page · raw message
arch/powerpc/kernel/eeh_driver.c +44 -3
47 lines not on this page · raw message
arch/powerpc/kvm/book3s_hv_rm_mmu.c +32 -10
42 lines not on this page · raw message
arch/powerpc/kvm/book3s_hv_rmhandlers.S +25 -13
Lines of this file are not shown. View the raw message.
arch/powerpc/kvm/book3s_xive.c +67 -17
84 lines not on this page · raw message
arch/powerpc/mm/book3s64/hash_native.c +27 -4
Lines of this file are not shown. View the raw message.
arch/powerpc/mm/book3s64/radix_pgtable.c +1 -1
Lines of this file are not shown. View the raw message.
arch/powerpc/mm/book3s64/radix_tlb.c +74 -10
84 lines not on this page · raw message
arch/powerpc/mm/kasan/kasan_init_32.c +46 -11
57 lines not on this page · raw message
arch/powerpc/platforms/powernv/opal-call.c +1 -1
Lines of this file are not shown. View the raw message.
arch/powerpc/platforms/powernv/opal-imc.c +6 -6
Lines of this file are not shown. View the raw message.
arch/powerpc/platforms/powernv/pci-ioda-tce.c +23 -15
Lines of this file are not shown. View the raw message.
arch/powerpc/platforms/powernv/smp.c +37 -16
53 lines not on this page · raw message
arch/powerpc/platforms/pseries/mobility.c +9 -0
Lines of this file are not shown. View the raw message.
arch/powerpc/sysdev/xive/common.c +64 -23
87 lines not on this page · raw message
arch/x86/kernel/apic/apic.c +71 -44
115 lines not on this page · raw message
arch/x86/kernel/smp.c +27 -19
46 lines not on this page · raw message
arch/x86/kvm/mmu.c +25 -22
47 lines not on this page · raw message
arch/x86/kvm/x86.c +38 -21
59 lines not on this page · raw message
arch/x86/platform/intel/iosf_mbi.c +62 -38
100 lines not on this page · raw message
crypto/skcipher.c +23 -19
42 lines not on this page · raw message
drivers/acpi/pptt.c +52 -0
52 lines not on this page · raw message
drivers/ata/ahci.c +71 -47
118 lines not on this page · raw message
drivers/block/nbd.c +60 -20
80 lines not on this page · raw message
drivers/char/ipmi/ipmi_msghandler.c +57 -57
114 lines not on this page · raw message
drivers/clk/zte/clk-zx296718.c +49 -60
109 lines not on this page · raw message
drivers/crypto/chelsio/chtls/chtls_cm.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/crypto/chelsio/chtls/chtls_io.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/crypto/hisilicon/sec/sec_algs.c +7 -6
Lines of this file are not shown. View the raw message.
drivers/crypto/qat/qat_common/adf_common_drv.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/edac/amd64_edac.c +87 -64
151 lines not on this page · raw message
drivers/firmware/google/vpd_decode.c +32 -23
55 lines not on this page · raw message
drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c +22 -12
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c +13 -8
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c +35 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +3 -35
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +15 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c +23 -12
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/gfxhub_v2_0.c +9 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c +9 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +21 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c +22 -11
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +42 -15
57 lines not on this page · raw message
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/calcs/Makefile +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c +23 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/dcn20_clk_mgr.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/core/dc_resource.c +8 -9
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dc_types.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce/dce_audio.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +11 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce120/dce120_resource.c +9 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_cm_common.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_optc.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_resource.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn20/Makefile +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +19 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dml/Makefile +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/dsc/Makefile +4 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/inc/resource.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/dc/irq/dcn20/irq_service_dcn20.c +18 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/display/modules/freesync/freesync.c +17 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/amd/powerplay/navi10_ppt.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/arm/display/komeda/komeda_kms.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/arm/display/komeda/komeda_wb_connector.c +4 -3
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +5 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/drm_kms_helper_common.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_bios.c +16 -6
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display.c +28 -10
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_display.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_dp.c +95 -89
184 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dp.h +2 -4
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_dp_mst.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/display/intel_dpll_mgr.c +15 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_mman.c +12 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_object.h +6 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_object_types.h +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gem/i915_gem_userptr.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/gt/intel_workarounds.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/i915/selftests/i915_gem.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/dispnv50/disp.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/dispnv50/wndw.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/nouveau/nvkm/subdev/bios/volt.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c +13 -0
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/panfrost/panfrost_job.c +11 -5
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/radeon/radeon_connectors.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/gpu/drm/rcar-du/rcar_du_writeback.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/hid/hid-apple.c +28 -21
49 lines not on this page · raw message
drivers/hid/hid-hyperv.c +10 -46
56 lines not on this page · raw message
drivers/hid/hid-logitech-hidpp.c +140 -108
248 lines not on this page · raw message
drivers/hid/i2c-hid/i2c-hid-dmi-quirks.c +19 -0
Lines of this file are not shown. View the raw message.
drivers/hwtracing/coresight/coresight-etm4x.c +13 -2
Lines of this file are not shown. View the raw message.
drivers/i2c/busses/i2c-aspeed.c +34 -20
54 lines not on this page · raw message
drivers/i2c/busses/i2c-cht-wc.c +46 -0
46 lines not on this page · raw message
drivers/iio/adc/stm32-adc-core.c +40 -30
70 lines not on this page · raw message
drivers/iio/adc/stm32-adc-core.h +137 -0
137 lines not on this page · raw message
drivers/iio/adc/stm32-adc.c +0 -109
109 lines not on this page · raw message
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/infiniband/hw/hfi1/mad.c +19 -26
45 lines not on this page · raw message
drivers/infiniband/hw/mlx5/devx.c +16 -42
58 lines not on this page · raw message
drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c +0 -2
Lines of this file are not shown. View the raw message.
drivers/input/mouse/elantech.c +29 -26
55 lines not on this page · raw message
drivers/iommu/amd_iommu_quirks.c new file +92 -0
92 lines not on this page · raw message
drivers/irqchip/irq-sifive-plic.c +27 -18
45 lines not on this page · raw message
drivers/mailbox/qcom-apcs-ipc-mailbox.c +6 -2
Lines of this file are not shown. View the raw message.
drivers/md/dm-snap.c +77 -17
94 lines not on this page · raw message
drivers/media/common/videobuf2/videobuf2-v4l2.c +5 -3
Lines of this file are not shown. View the raw message.
drivers/media/dvb-frontends/dvb-pll.c +24 -16
Lines of this file are not shown. View the raw message.
drivers/media/pci/saa7134/saa7134-i2c.c +8 -4
Lines of this file are not shown. View the raw message.
drivers/media/pci/saa7146/hexium_gemini.c +3 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/exynos4-is/fimc-is.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/exynos4-is/media-dev.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/mtk-mdp/mtk_mdp_core.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispccdc.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispccp2.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispcsi2.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/isppreview.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispresizer.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/omap3isp/ispstat.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/media/platform/vivid/vivid-ctrls.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/platform/vivid/vivid-kthread-cap.c +6 -3
Lines of this file are not shown. View the raw message.
drivers/media/radio/si470x/radio-si470x-usb.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/media/rc/mceusb.c +196 -138
334 lines not on this page · raw message
drivers/media/usb/dvb-usb/dib0700_devices.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/media/usb/dvb-usb/technisat-usb2.c +10 -12
Lines of this file are not shown. View the raw message.
drivers/media/usb/em28xx/em28xx-cards.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/media/usb/stkwebcam/stk-webcam.c +1 -2
Lines of this file are not shown. View the raw message.
drivers/media/usb/ttusb-dec/ttusb_dec.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/media/v4l2-core/videobuf-core.c +3 -2
Lines of this file are not shown. View the raw message.
drivers/mmc/host/sdhci-tegra.c +28 -20
48 lines not on this page · raw message
drivers/mtd/nand/raw/stm32_fmc2_nand.c +29 -61
90 lines not on this page · raw message
drivers/net/dsa/sja1105/sja1105_main.c +14 -10
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/aq_main.c +1 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/aq_nic.c +16 -16
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/aq_ring.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c +18 -5
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c +15 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h +5 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh_internal.h +19 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils_fw2x.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmgenet.c +9 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmgenet.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/broadcom/genet/bcmmii.c +8 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c +22 -15
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/chelsio/cxgb4/sge.c +2 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/faraday/ftgmac100.c +12 -13
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hip04_eth.c +9 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hnae3.h +2 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c +20 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c +9 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +25 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/hisilicon/hns_mdio.c +5 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/i825xx/lasi_82596.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/i825xx/sni_82596.c +3 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/ich8lan.c +10 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/e1000e/ich8lan.h +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/intel/i40e/i40e_main.c +5 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx4/resource_tracker.c +26 -16
42 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c +9 -3
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c +4 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c +3 -12
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c +53 -36
89 lines not on this page · raw message
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads_termtbl.c +16 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/main.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlx5/core/mr.c +1 -7
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/core.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/mscc/ocelot_board.c +8 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/abm/cls.c +10 -4
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/netronome/nfp/flower/main.c +7 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/realtek/r8169_main.c +4 -0
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/socionext/netsec.c +7 -23
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c +7 -6
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +26 -7
Lines of this file are not shown. View the raw message.
drivers/net/phy/micrel.c +40 -5
45 lines not on this page · raw message
drivers/net/wireless/ath/ath10k/wmi-tlv.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/ath/ath10k/wmi-tlv.h +16 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/mvm/fw.c +9 -5
Lines of this file are not shown. View the raw message.
drivers/net/wireless/intel/iwlwifi/pcie/drv.c +137 -137
274 lines not on this page · raw message
drivers/net/wireless/marvell/libertas/if_usb.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mmio.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c +6 -9
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/mt7615/mt7615.h +3 -3
Lines of this file are not shown. View the raw message.
drivers/net/wireless/mediatek/mt76/usb.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/pci.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtlwifi/ps.c +6 -0
Lines of this file are not shown. View the raw message.
drivers/net/wireless/realtek/rtw88/pci.c +42 -29
71 lines not on this page · raw message
drivers/net/wireless/realtek/rtw88/rtw8822b.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/net/wireless/zydas/zd1211rw/zd_mac.c +0 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pci-exynos.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pci-layerscape-ep.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/pci/controller/dwc/pcie-histb.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/pci/controller/pcie-rockchip-host.c +8 -8
Lines of this file are not shown. View the raw message.
drivers/phy/renesas/phy-rcar-gen3-usb2.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-cherryview.c +0 -4
Lines of this file are not shown. View the raw message.
drivers/pinctrl/intel/pinctrl-intel.c +14 -13
Lines of this file are not shown. View the raw message.
drivers/pinctrl/meson/pinctrl-meson-gxbb.c +6 -6
Lines of this file are not shown. View the raw message.
drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +13 -13
Lines of this file are not shown. View the raw message.
drivers/platform/chrome/cros_ec_rpmsg.c +28 -4
Lines of this file are not shown. View the raw message.
drivers/platform/x86/i2c-multi-instantiate.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel_int0002_vgpio.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/platform/x86/intel_pmc_core_pltdrv.c +8 -0
Lines of this file are not shown. View the raw message.
drivers/power/supply/power_supply_hwmon.c +14 -1
Lines of this file are not shown. View the raw message.
drivers/regulator/core.c +31 -11
42 lines not on this page · raw message
drivers/regulator/da9062-regulator.c +47 -71
118 lines not on this page · raw message
drivers/s390/block/dasd_eckd.c +11 -70
81 lines not on this page · raw message
drivers/scsi/device_handler/scsi_dh_alua.c +16 -5
Lines of this file are not shown. View the raw message.
drivers/scsi/device_handler/scsi_dh_rdac.c +2 -0
Lines of this file are not shown. View the raw message.
drivers/scsi/qla2xxx/qla_init.c +98 -36
134 lines not on this page · raw message
drivers/scsi/scsi_logging.c +3 -45
48 lines not on this page · raw message
drivers/soc/amlogic/meson-clk-measure.c +11 -1
Lines of this file are not shown. View the raw message.
drivers/staging/media/hantro/hantro_drv.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/staging/media/imx/imx6-mipi-csi2.c +4 -8
Lines of this file are not shown. View the raw message.
drivers/staging/media/tegra-vde/Kconfig +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8188eu/hal/hal8188e_rate_adaptive.c +1 -1
Lines of this file are not shown. View the raw message.
drivers/staging/rtl8188eu/os_dep/usb_intf.c +4 -2
Lines of this file are not shown. View the raw message.
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c +2 -2
Lines of this file are not shown. View the raw message.
drivers/staging/vc04_services/bcm2835-audio/bcm2835-vchiq.c +1 -0
Lines of this file are not shown. View the raw message.
drivers/target/iscsi/cxgbit/cxgbit_cm.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/usb/host/xhci.c +100 -16
116 lines not on this page · raw message
drivers/usb/misc/ldusb.c +27 -26
53 lines not on this page · raw message
drivers/usb/misc/legousbtower.c +26 -37
63 lines not on this page · raw message
drivers/usb/misc/rio500.c deleted +0 -561
561 lines not on this page · raw message
drivers/usb/renesas_usbhs/mod_gadget.c +15 -3
Lines of this file are not shown. View the raw message.
drivers/usb/typec/ucsi/ucsi_ccg.c +4 -38
42 lines not on this page · raw message
drivers/virt/vboxguest/vboxguest_utils.c +2 -1
Lines of this file are not shown. View the raw message.
drivers/xen/xenbus/xenbus_dev_frontend.c +18 -2
Lines of this file are not shown. View the raw message.
fs/btrfs/file.c +32 -24
56 lines not on this page · raw message
fs/btrfs/qgroup.c +25 -17
42 lines not on this page · raw message
fs/btrfs/tree-checker.c +98 -0
98 lines not on this page · raw message
fs/cifs/file.c +35 -27
62 lines not on this page · raw message
fs/cifs/transport.c +23 -19
42 lines not on this page · raw message
fs/ext4/block_validity.c +138 -51
189 lines not on this page · raw message
fs/fuse/dev.c +48 -45
93 lines not on this page · raw message
fs/io_uring.c +120 -65
185 lines not on this page · raw message
fs/libfs.c +69 -65
134 lines not on this page · raw message
fs/nfs/direct.c +43 -35
78 lines not on this page · raw message
fs/ocfs2/xattr.c +23 -33
56 lines not on this page · raw message
fs/overlayfs/super.c +47 -26
73 lines not on this page · raw message
fs/readdir.c +93 -35
128 lines not on this page · raw message
include/linux/mailbox/mtk-cmdq-mailbox.h +3 -0
Lines of this file are not shown. View the raw message.
include/linux/platform_data/dma-imx-sdma.h +3 -0
Lines of this file are not shown. View the raw message.
include/linux/skbuff.h +29 -12
41 lines not on this page · raw message
kernel/events/core.c +37 -10
47 lines not on this page · raw message
kernel/sched/core.c +51 -14
65 lines not on this page · raw message
kernel/sched/fair.c +41 -97
138 lines not on this page · raw message
kernel/time/tick-broadcast-hrtimer.c +29 -28
57 lines not on this page · raw message
mm/compaction.c +17 -25
42 lines not on this page · raw message
mm/z3fold.c +51 -113
164 lines not on this page · raw message
net/batman-adv/bat_iv_ogm.c +52 -9
61 lines not on this page · raw message
net/bridge/netfilter/nf_conntrack_bridge.c +4 -1
Lines of this file are not shown. View the raw message.
net/ipv4/route.c +30 -22
52 lines not on this page · raw message
net/ipv4/udp.c +30 -15
45 lines not on this page · raw message
net/sched/act_api.c +23 -18
41 lines not on this page · raw message
net/sched/cls_api.c +37 -5
42 lines not on this page · raw message
net/sched/sch_cbq.c +29 -14
43 lines not on this page · raw message
net/sunrpc/xprt.c +31 -23
54 lines not on this page · raw message
net/vmw_vsock/virtio_transport_common.c +1 -1
Lines of this file are not shown. View the raw message.
net/wireless/nl80211.c +45 -5
50 lines not on this page · raw message
scripts/gcc-plugins/randomize_layout_plugin.c +5 -5
Lines of this file are not shown. View the raw message.
sound/firewire/tascam/tascam-stream.c +28 -14
42 lines not on this page · raw message
sound/pci/hda/patch_hdmi.c +28 -15
43 lines not on this page · raw message
sound/pci/hda/patch_realtek.c +115 -0
115 lines not on this page · raw message
sound/soc/atmel/mchp-i2s-mcc.c +27 -14
41 lines not on this page · raw message
sound/soc/codecs/msm8916-wcd-digital.c +22 -0
Lines of this file are not shown. View the raw message.
sound/soc/codecs/sgtl5000.c +207 -38
245 lines not on this page · raw message
sound/soc/codecs/wm8994.c +26 -17
43 lines not on this page · raw message
sound/soc/sof/intel/hda-stream.c +38 -7
45 lines not on this page · raw message
tools/perf/arch/arm/annotate/instructions.c +2 -2
Lines of this file are not shown. View the raw message.
tools/perf/arch/arm64/annotate/instructions.c +2 -2
Lines of this file are not shown. View the raw message.
tools/perf/arch/s390/annotate/instructions.c +4 -2
Lines of this file are not shown. View the raw message.
tools/perf/arch/x86/annotate/instructions.c +4 -2
Lines of this file are not shown. View the raw message.
tools/perf/arch/x86/util/unwind-libunwind.c +1 -1
Lines of this file are not shown. View the raw message.
tools/perf/tests/shell/trace+probe_vfs_getname.sh +4 -0
Lines of this file are not shown. View the raw message.
tools/perf/util/unwind-libunwind-local.c +9 -9
Lines of this file are not shown. View the raw message.
tools/power/x86/intel-speed-select/isst-config.c +14 -5
Lines of this file are not shown. View the raw message.
tools/testing/selftests/bpf/progs/strobemeta.h +4 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/kselftest/runner.sh +33 -3
Lines of this file are not shown. View the raw message.
tools/testing/selftests/kvm/x86_64/sync_regs_test.c +11 -10
Lines of this file are not shown. View the raw message.
tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c +1 -6
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/fib_nexthop_multiprefix.sh +4 -2
Lines of this file are not shown. View the raw message.
tools/testing/selftests/net/fib_tests.sh +40 -2
42 lines not on this page · raw message
tools/testing/selftests/net/reuseport_dualstack.c +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/mm/Makefile +2 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/powerpc/mm/tlbie_test.c new file +734 -0
734 lines not on this page · raw message
tools/testing/selftests/powerpc/tm/tm.h +2 -1
Lines of this file are not shown. View the raw message.
tools/testing/selftests/rtc/settings new file +1 -0
Lines of this file are not shown. View the raw message.
tools/testing/selftests/seccomp/seccomp_bpf.c +5 -0
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Part of the diff is not shown here. View the raw message.