Merge tag 'android12-5.10.160_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.160 into the android12-5.10 branch. It contains the following commits:003c389455
Merge 5.10.160 into android12-5.10-ltsa2428a8dcb
Linux 5.10.16054c15f67cb
ASoC: ops: Correct bounds check for second channel on SX controls74b139c63f
nvme-pci: clear the prp2 field when not used77ebf88e00
ASoC: cs42l51: Correct PGA Volume minimum value4db1d19b74
can: mcba_usb: Fix termination command argument683837f2f6
can: sja1000: fix size of OCR_MODE_MASK define434b523671
pinctrl: meditatek: Startup with the IRQs disabled5cb4abb0ca
libbpf: Use page size as max_entries when probing ring buffer map50b5f6d4d9
ASoC: ops: Check bounds for second channel in snd_soc_put_volsw_sx()344739dc56
ASoC: fsl_micfil: explicitly clear CHnF flagsa49c1a7307
ASoC: fsl_micfil: explicitly clear software reset bit75454b4bbf
io_uring: add missing item types for splice request17f386e6b7
fuse: always revalidate if exclusive createeb6313c129
nfp: fix use-after-free in area_cache_get()965d93fb39
vfs: fix copy_file_range() averts filesystem freeze protectioned96733949
vfs: fix copy_file_range() regression in cross-fs copies970862a96c
x86/smpboot: Move rcu_cpu_starting() earlier32e45c58a0
Merge "Merge 5.10.159 into android12-5.10-lts" into android12-5.10-ltsd31626cbea
ANDROID: usb: gadget: uvc: remove duplicate code in unbind01ef2d0b53
Merge 5.10.159 into android12-5.10-lts931578be69
Linux 5.10.1594fd6f84e0a
can: esd_usb: Allow REC and TEC to return to zerocf0e423106
macsec: add missing attribute validation for offload6b03e41767
net: mvneta: Fix an out of bounds check8208d7e56b
ipv6: avoid use-after-free in ip6_fragment()3d59adad12
net: plip: don't call kfree_skb/dev_kfree_skb() under spin_lock_irq()a00444e25b
xen/netback: fix build warning87277bdf2c
ethernet: aeroflex: fix potential skb leak in greth_init_rings()cc668fddde
tipc: call tipc_lxc_xmit without holding node_read_lock4be43e46c3
net: dsa: sja1105: fix memory leak in sja1105_setup_devlink_regions()8e3f9ac009
ipv4: Fix incorrect route flushing when table ID 0 is used5211e5ff9d
ipv4: Fix incorrect route flushing when source address is deleted36e248269a
tipc: Fix potential OOB in tipc_link_proto_rcv()93aaa4bb72
net: hisilicon: Fix potential use-after-free in hix5hd2_rx()296a50aa8b
net: hisilicon: Fix potential use-after-free in hisi_femac_rx()8d1aed7a11
net: thunderx: Fix missing destroy_workqueue of nicvf_rx_mode_wqa5cfbc1995
ip_gre: do not report erspan version on GRE interface696e34d54c
net: stmmac: fix "snps,axi-config" node property parsingca26f45083
nvme initialize core quirks before calling nvme_init_subsystem27eb2d7a1b
NFC: nci: Bounds check struct nfc_target arraysa2506b19d7
i40e: Disallow ip4 and ip6 l4_4_bytes8329b65e34
i40e: Fix for VF MAC address 0215f3ac53b
i40e: Fix not setting default xps_cpus after reset146ebee8fc
net: mvneta: Prevent out of bounds read in mvneta_config_rss()e6860c889f
xen-netfront: Fix NULL sring after live migration3d3b30718a
net: encx24j600: Fix invalid logic in reading of MISTAT register51ba1820e7
net: encx24j600: Add parentheses to fix precedence42c319635c
mac802154: fix missing INIT_LIST_HEAD in ieee802154_if_add()4c693330ce
selftests: rtnetlink: correct xfrm policy rule in kci_test_ipsec_offloadbccda3ad07
net: dsa: ksz: Check return valuee7b9504581
Bluetooth: Fix not cleanup led when bt_init fails1717354d77
Bluetooth: 6LoWPAN: add missing hci_dev_put() in get_l2cap_conn()80c69b31aa
vmxnet3: correctly report encapsulated LRO packet575a6266f6
af_unix: Get user_ns from in_skb in unix_diag_get_exact().6c788c0a25
drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420de918d9738
igb: Allocate MSI-X vector when testing6595c9208d
e1000e: Fix TX dispatch condition5ee6413d3d
gpio: amd8111: Fix PCI device reference count leakb9aca69a6c
drm/bridge: ti-sn65dsi86: Fix output polarity setting bugb46e8c50c3
netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark0a8e66e375
ca8210: Fix crash by zero initializing data27c71825ff
ieee802154: cc2520: Fix error return code in cc2520_hw_init()a0418d0a6b
netfilter: nft_set_pipapo: Actually validate intervals in fields after the first onecb283cca1d
rtc: mc146818-lib: fix signedness bug in mc146818_get_time()5c432383b6
rtc: mc146818-lib: fix locking in mc146818_set_time5e26531d81
rtc: cmos: Disable irq around direct invocation of cmos_interrupt()fccee93eb2
mm/hugetlb: fix races when looking up a CONT-PTE/PMD size hugetlb pagec42221efb1
can: af_can: fix NULL pointer dereference in can_rcv_filterbc03f809da
HID: core: fix shift-out-of-bounds in hid_report_raw_event959a23a4d1
HID: hid-lg4ff: Add check for empty lbuf4dde75945a
HID: usbhid: Add ALWAYS_POLL quirk for some mice11e95d85c3
drm/shmem-helper: Avoid vm_open error paths6a4da05acd
drm/shmem-helper: Remove errant put in error path007f561f59
drm/vmwgfx: Don't use screen objects when SEV is active3cb78c3925
KVM: s390: vsie: Fix the initialization of the epoch extension (epdx) field549b46f813
Bluetooth: Fix crash when replugging CSR fake controllers380d183e99
Bluetooth: btusb: Add debug message for CSR controllersf1cf856123
mm/gup: fix gup_pud_range() for daxf1f7f36cf6
memcg: fix possible use-after-free in memcg_write_event_control()32f01f0306
media: v4l2-dv-timings.c: fix too strict blanking sanity checks043b2bc96c
Revert "ARM: dts: imx7: Fix NAND controller size-cells"abfb8ae69b
media: videobuf2-core: take mmap_lock in vb2_get_unmapped_area()83632fc414
xen/netback: don't call kfree_skb() with interrupts disabled3eecd2bc10
xen/netback: do some code cleanup49e07c0768
xen/netback: Ensure protocol headers don't fall in the non-linear areadb44a9443e
rtc: mc146818: Reduce spinlock section in mc146818_set_time()17293d630f
rtc: cmos: Replace spin_lock_irqsave with spin_lock in hard IRQacfd8ef683
rtc: cmos: avoid UIP when reading alarm time949bae0282
rtc: cmos: avoid UIP when writing alarm time33ac73a41a
rtc: mc146818-lib: extract mc146818_avoid_UIP8bb5fe5830
rtc: mc146818-lib: fix RTC presence check775d4661f1
rtc: Check return value from mc146818_get_time()b9a5c470e0
rtc: mc146818-lib: change return values of mc146818_get_time()94eaf9966e
rtc: cmos: remove stale REVISIT commentsf5b51f8550
rtc: mc146818: Dont test for bit 0-5 in Register D3736972360
rtc: mc146818: Detect and handle broken RTCs7c7075c88d
rtc: mc146818: Prevent reading garbage7f445ca2e0
mm/khugepaged: invoke MMU notifiers in shmem/file collapse paths4a1cdb49d0
mm/khugepaged: fix GUP-fast interaction by sending IPIcdfd3739b2
mm/khugepaged: take the right locks for page table retraction1c0eec6a1d
net: usb: qmi_wwan: add u-blox 0x1342 compositiona8c5ffb4df
9p/xen: check logical size for buffer sizeec36ebae36
usb: dwc3: gadget: Disable GUSB2PHYCFG.SUSPHY for End Transferd9b53caf01
fbcon: Use kzalloc() in fbcon_prepare_logo()8b130c770d
regulator: twl6030: fix get status of twl6032 regulatorsf6f45e5383
ASoC: soc-pcm: Add NULL check in BE reparenting688a45aff2
btrfs: send: avoid unaligned encoded writes when attempting to clone range15c42ab8d4
ALSA: seq: Fix function prototype mismatch in snd_seq_expand_var_eventd38e021416
regulator: slg51000: Wait after asserting CS pin1331bcfcac
9p/fd: Use P9_HDRSZ for header size96b43f36a5
ARM: dts: rockchip: disable arm_global_timer on rk3066 and rk3188ddf58f5939
ASoC: wm8962: Wait for updated value of WM8962_CLOCKING1 registerdbd78abd69
ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementationbb1866cf1e
ARM: 9251/1: perf: Fix stacktraces for tracepoint events in THUMB2 kernelsb1f40a0cdf
ARM: dts: rockchip: rk3188: fix lcdc1-rgb24 node name5f9474d07b
arm64: dts: rockchip: fix ir-receiver node names060d58924a
ARM: dts: rockchip: fix ir-receiver node names3e0c466771
arm: dts: rockchip: fix node name for hym8563 rtc3ada63a876
arm64: dts: rockchip: keep I2S1 disabled for GPIO function on ROCK Pi 4 series202ee06349
Revert "mmc: sdhci: Fix voltage switch delay"0b0939466f
ANDROID: gki_defconfig: add CONFIG_FUNCTION_ERROR_INJECTION5ab4c6b843
Merge 5.10.158 into android12-5.10-lts592346d5dc
Linux 5.10.158cc1b4718cc
ipc/sem: Fix dangling sem_array access in semtimedop raced072a10c81
v4l2: don't fall back to follow_pfn() if pin_user_pages_fast() fails9ba389863a
proc: proc_skip_spaces() shouldn't think it is working on C strings4aa32aaef6
proc: avoid integer type confusion in get_proc_long5f2f775605
block: unhash blkdev part inode when the part is deleteda82869ac52
Input: raydium_ts_i2c - fix memory leak in raydium_i2c_send()4e0d6c687c
char: tpm: Protect tpm_pm_suspend with locks5a6f935ef3
Revert "clocksource/drivers/riscv: Events are stopped during CPU suspend"f075cf139f
ACPI: HMAT: Fix initiator registration for single-initiator systemsf3b76b4d38
ACPI: HMAT: remove unnecessary variable initialization63e72417a1
i2c: imx: Only DMA messages with I2C_M_DMA_SAFE flag setdf76136598
i2c: npcm7xx: Fix error handling in npcm_i2c_init()7462cd2443
x86/pm: Add enumeration check before spec MSRs save/restore setup5e3d4a68e2
x86/tsx: Add a feature bit for TSX control MSR supportb7f7a0402e
Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"481f9ed8eb
ipv4: Fix route deletion when nexthop info is not specified0b5394229e
ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference4919503426
selftests: net: fix nexthop warning cleanup double ip typo7ca14c5f24
selftests: net: add delete nexthop route warning testf09ac62f0e
Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled19d91d3798
parisc: Increase FRAME_WARN to 2048 bytes on pariscfcf20da099
xtensa: increase size of gcc stack frame checka1877001ed
parisc: Increase size of gcc stack frame checka5c65cd56a
iommu/vt-d: Fix PCI device refcount leak in dmar_dev_scope_init()10ed7655a1
iommu/vt-d: Fix PCI device refcount leak in has_external_pci()302edce1dd
pinctrl: single: Fix potential division by zerob50c964189
ASoC: ops: Fix bounds check for _sx controlsa2efc46524
io_uring: don't hold uring_lock when calling io_run_task_work*be111ebd88
tracing: Free buffers when a used dynamic event is removed648b92e576
drm/i915: Never return 0 if not all requests retired8649c023c4
drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame940b774069
mmc: sdhci: Fix voltage switch delayed19662453
mmc: sdhci-sprd: Fix no reset data and command after voltage switchef767907e7
mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check46ee041cd6
mmc: core: Fix ambiguous TRIM and DISCARD argb79be962b5
mmc: mmc_test: Fix removal of debugfs filed4fc344c0d
net: stmmac: Set MAC's flow control register to reflect current settings549e24409a
pinctrl: intel: Save and restore pins in "direct IRQ" mode471fb7b735
x86/bugs: Make sure MSR_SPEC_CTRL is updated properly upon resume from S3e858917ab7
nilfs2: fix NULL pointer dereference in nilfs_palloc_commit_free_entry()6ddf788400
tools/vm/slabinfo-gnuplot: use "grep -E" instead of "egrep"c099d12c55
error-injection: Add prompt for function error injection26b6f927bb
riscv: vdso: fix section overlapping under some conditions2b1d8f27e2
net/mlx5: DR, Fix uninitialized var warningc40db1e5f3
hwmon: (coretemp) fix pci device refcount leak in nv1a_ram_new()f06e0cd01e
hwmon: (coretemp) Check for null before removing sysfs attrsd93522d04f
net: ethernet: renesas: ravb: Fix promiscuous mode after system resumed176ee6c673
sctp: fix memory leak in sctp_stream_outq_migrate()1c38c88acc
packet: do not set TP_STATUS_CSUM_VALID on CHECKSUM_COMPLETE5f442e1d40
net: tun: Fix use-after-free in tun_detach()5fa0fc5876
afs: Fix fileserver probe RTT handling7ca81a161e
net: hsr: Fix potential use-after-freea1ba595e35
tipc: re-fetch skb cb after tipc_msg_validate4621bdfff5
dsa: lan9303: Correct stat name45752af024
net: ethernet: nixge: fix NULL dereferencee01c154237
net/9p: Fix a potential socket leak in p9_socket_openb080d4668f
net: net_netdev: Fix error handling in ntb_netdev_init_module()fe6bc99c27
net: phy: fix null-ptr-deref while probe() failed0184ede0ec
wifi: mac8021: fix possible oob access in ieee80211_get_rate_duratione2ed90fd3a
wifi: cfg80211: don't allow multi-BSSID in S1G9e6b79a3cd
wifi: cfg80211: fix buffer overflow in elem comparison6922948c2e
aquantia: Do not purge addresses when setting the number of ringsfa59d49a49
qlcnic: fix sleep-in-atomic-context bugs caused by msleepd753f554f2
can: cc770: cc770_isa_probe(): add missing free_cc770dev()e74746bf04
can: sja1000_isa: sja1000_isa_probe(): add missing free_sja1000dev()0d2f9d95d9
net/mlx5e: Fix use-after-free when reverting termination table2cb84ff349
net/mlx5: Fix uninitialized variable bug in outlen_write()b775f37d94
e100: Fix possible use after free in e100_xmit_prepare086f656e44
e100: switch from 'pci_' to 'dma_' API971c55f076
iavf: Fix error handling in iavf_init_module()d389a4c698
iavf: remove redundant ret variablefd4960ea53
fm10k: Fix error handling in fm10k_init_module()dd425cec79
i40e: Fix error handling in i40e_init_module()f166c62cad
ixgbevf: Fix resource leak in ixgbevf_init_module()8f7047f418
of: property: decrement node refcount in of_fwnode_get_reference_args()be006212bd
bpf: Do not copy spin lock field from user in bpf_selem_alloc90907cd4d1
hwmon: (ibmpex) Fix possible UAF when ibmpex_register_bmc() fails7649bba263
hwmon: (i5500_temp) fix missing pci_disable_device()dddfc03f04
hwmon: (ina3221) Fix shunt sum critical calculation984fcd3ec1
hwmon: (ltc2947) fix temperature scaling8a549ab672
libbpf: Handle size overflow for ringbuf mmapcc140c729c
ARM: at91: rm9200: fix usb device clock id592724b14d
scripts/faddr2line: Fix regression in name resolution on ppc64le353c3aaaf3
bpf, perf: Use subprog name when reporting subprog ksymbold48f6a5784
iio: light: rpr0521: add missing Kconfig dependencies5eb114f55b
iio: health:afe4404
: Fix oob read in afe4404_[read|write]_rawb1756af172
iio: health: afe4403: Fix oob read in afe4403_read_raw01d7c41eac
btrfs: qgroup: fix sleep from invalid context bug in btrfs_qgroup_inherit()d3f5be8246
drm/amdgpu: Partially revert "drm/amdgpu: update drm_display_info correctly when the edid is read"00570fafc2
drm/amdgpu: update drm_display_info correctly when the edid is read44b204730b
drm/display/dp_mst: Fix drm_dp_mst_add_affected_dsc_crtcs() return code1faf21bdd1
btrfs: move QUOTA_ENABLED check to rescan_should_stop from btrfs_qgroup_rescan_worker6050872f9f
spi: spi-imx: Fix spi_bus_clk if requested clock is higher than input clock7b020665d4
btrfs: free btrfs_path before copying inodes to userspaced5b7a34379
btrfs: sink iterator parameter to btrfs_ioctl_logical_to_inof3226d86f8
Revert "xfrm: fix "disable_policy" on ipv4 early demux"982d7f3eb8
Merge 5.10.157 into android12-5.10-lts37d3df60cb
ANDROID: CRC ABI fixups in ip.h and ipv6.hf4245f0538
Linux 5.10.1574801672fb0
fuse: lock inode unconditionally in fuse_fallocate()86f0082fb9
drm/i915: fix TLB invalidation for Gen12 video and compute enginesfeb97cf45e
drm/amdgpu: always register an MMU notifier for userptr596b7d55d7
drm/amd/dc/dce120: Fix audio register mapping, stop triggering KASANc86c1a7037
btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()1581830c0e
btrfs: free btrfs_path before copying subvol info to userspace0bdb8f7ef8
btrfs: free btrfs_path before copying fspath to userspace24a37ba2cb
btrfs: free btrfs_path before copying root refs to userspaceb56d6e5585
genirq: Take the proposed affinity at face value if force==true9d90a2b98e
irqchip/gic-v3: Always trust the managed affinity provided by the core codee0d2c59ee9
genirq: Always limit the affinity to online CPUsf8f80d532f
genirq/msi: Shutdown managed interrupts with unsatifiable affinities3eb6b89a4e
wifi: wilc1000: validate number of channels5a068535c0
wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_CHANNEL_LIST attribute905f886eae
wifi: wilc1000: validate length of IEEE80211_P2P_ATTR_OPER_CHANNEL attribute7c6535fb4d
wifi: wilc1000: validate pairwise and authentication suite offsets64b7f9a7dd
dm integrity: clear the journal on suspendd306f73079
dm integrity: flush the journal on suspend79d9a11679
gpu: host1x: Avoid trying to use GART on Tegra20a7f30b5b8d
net: usb: qmi_wwan: add Telit 0x103a composition7e8eaa939e
tcp: configurable source port perturb table size0acc008cf9
platform/x86: hp-wmi: Ignore Smart Experience App event0964b77bab
zonefs: fix zone report size in __zonefs_io_error()a5937dae66
platform/x86: acer-wmi: Enable SW_TABLET_MODE on Switch V 10 (SW5-017)52fb7bcea0
platform/x86: asus-wmi: add missing pci_dev_put() in asus_wmi_set_xusb2pr()4fa717ba2d
xen/platform-pci: add missing free_irq() in error pathf45a5a6c9f
xen-pciback: Allow setting PCI_MSIX_FLAGS_MASKALL too9bbb587472
Input: soc_button_array - add Acer Switch V 10 to dmi_use_low_level_irq[]4ea4316dff
Input: soc_button_array - add use_low_level_irq module parameterc1620e996d
Input: goodix - try resetting the controller when no config is setf4db050958
serial: 8250: 8250_omap: Avoid RS485 RTS glitch on ->set_termios()7c3e39ccf5
ASoC: Intel: bytcht_es8316: Add quirk for the Nanote UMPC-0136e0b97619
Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI modeae9e0cc973
binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0017de84253
binder: Address corner cases in deferred copy and fixup2e3c27f241
binder: fix pointer cast warningc9d3f25a7f
binder: defer copies of pre-patched txn data5204296fc7
binder: read pre-translated fds from sender buffer23e9d815fa
binder: avoid potential data leakage when copying txn22870431cd
x86/ioremap: Fix page aligned size calculation in __ioremap_caller()3fdeacf087
KVM: x86: remove exit_int_info warning in svm_handle_exit7e5cb13091
KVM: x86: nSVM: leave nested mode on vCPU freed925dd3e44
mm: vmscan: fix extreme overreclaim and swap floodsa4a62a23fa
gcov: clang: fix the buffer overflow issuee7f21d10e9
nilfs2: fix nilfs_sufile_mark_dirty() not set segment usage as dirtyf06b7e6a77
usb: dwc3: gadget: Clear ep descriptor lastcff7523ab8
usb: dwc3: gadget: Return -ESHUTDOWN on ep disablea32635528d
usb: dwc3: gadget: conditionally remove requestsca3a08e9d9
ceph: fix NULL pointer dereference for req->r_session00c004c070
ceph: Use kcalloc for allocating multiple elements69263bf781
ceph: fix possible NULL pointer dereference for req->r_session8e137ace53
ceph: put the requests/sessions when it fails to alloc memory38993788f4
ceph: fix off by one bugs in unsafe_request_wait()8a31ae7f77
ceph: flush the mdlog before waiting on unsafe reqs78b2f546f7
ceph: flush mdlog before umountingd94ba7b3b7
ceph: make iterate_sessions a global symbol9ac038d3c2
ceph: make ceph_create_session_msg a global symbol8382cdf0ab
usb: cdns3: Add support for DRD CDNSP57112da86b
mmc: sdhci-brcmstb: Fix SDHCI_RESET_ALL for CQHCIb5d770977b
mmc: sdhci-brcmstb: Enable Clock Gating to save power049194538c
mmc: sdhci-brcmstb: Re-organize flagsfbe955be26
nios2: add FORCE for vmlinuz.gzc0a9c9973d
init/Kconfig: fix CC_HAS_ASM_GOTO_TIED_OUTPUT test with dash456e895fd0
iio: core: Fix entry not deleted when iio_register_sw_trigger_type() failsfa9efcbfbf
iio: light: apds9960: fix wrong register for gesture gainbd1b8041c2
arm64: dts: rockchip: lower rk3399-puma-haikou SD controller clock frequency86ba9c8595
ext4: fix use-after-free in ext4_ext_shift_extents350e98a08a
usb: dwc3: exynos: Fix remove() functiond21d26e65b
lib/vdso: use "grep -E" instead of "egrep"c0cf8bc259
net: enetc: preserve TX ring priority across reconfigurationde4dd4f9b3
net: enetc: cache accesses to &priv->si->hw1f080b8caa
net: enetc: manage ENETC_F_QBV in priv->active_offloads only when enabled1d840c5d67
s390/crashdump: fix TOD programmable field size11052f1188
net: thunderx: Fix the ACPI memory leakb034fe2a08
nfc: st-nci: fix memory leaks in EVT_TRANSACTIONe14583073f
nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION9cc863d523
arcnet: fix potential memory leak in com20020_probe()4d2be0cf27
net: arcnet: Fix RESET flag handlinge61b00374a
s390/dasd: fix no record found for raw_track_accessaeebb07499
ipv4: Fix error return code in fib_table_insert()c0af4d005a
dccp/tcp: Reset saddr on failure after inet6?_hash_connect().b8e494240e
netfilter: flowtable_offload: add missing lockingaf9de5cdcb
dma-buf: fix racing conflict of dma_heap_add()c40b76dfa7
bnx2x: fix pci device refcount leak in bnx2x_vf_is_pcie_pending()f81e9c0510
regulator: twl6030: re-add TWL6032_SUBCLASS32b944b9c4
NFC: nci: fix memory leak in nci_rx_data_packet()68a7aec3f4
net: sched: allow act_ct to be built without NF_NAT8e2664e12b
sfc: fix potential memleak in __ef100_hard_start_xmit()6b638a16ea
xfrm: Fix ignored return value in xfrm6_init()c7788361a6
tipc: check skb_linearize() return value in tipc_disc_rcv()4058e3b74a
tipc: add an extra conn_get in tipc_conn_alloce87a077d09
tipc: set con sock in tipc_conn_alloc891daa95b0
net/mlx5: Fix handling of entry refcount when command is not issued to FWe06ff9f8fe
net/mlx5: Fix FW tracer timestamp calculation5689eba90a
netfilter: ipset: regression in ip_set_hash_ip.ce62e62ea91
netfilter: ipset: Limit the maximal range of consecutive elements to add/delete8dca384970
Drivers: hv: vmbus: fix possible memory leak in vmbus_device_register()909186cf34
Drivers: hv: vmbus: fix double free in the error path of vmbus_add_channel_work()f42802e14a
macsec: Fix invalid error code set72be055615
nfp: add port from netdev validation for EEPROM accessce41e03cac
nfp: fill splittable of devlink_port_attrs correctly0b553ded34
net: pch_gbe: fix pci device refcount leak while module exiting2c59ef9ab6
net/qla3xxx: fix potential memleak in ql3xxx_send()a24d5f6c8b
net/mlx4: Check retval of mlx4_bitmap_initda86a63479
net: ethernet: mtk_eth_soc: fix error handling in mtk_open()756534f7cf
ARM: dts: imx6q-prti6q: Fix ref/tcxo-clock-frequency properties290a71ff72
ARM: mxs: fix memory leak in mxs_machine_init()5c97af75f5
netfilter: conntrack: Fix data-races around ct mark459332f8db
9p/fd: fix issue of list_del corruption in p9_fd_cancel()26bb8f6aaa
net: pch_gbe: fix potential memleak in pch_gbe_tx_queue()398a860a44
nfc/nci: fix race with opening and closing3535c632e6
rxrpc: Fix race between conn bundle lookup and bundle removal [ZDI-CAN-15975]23c03ee0ee
rxrpc: Use refcount_t rather than atomic_tbddde342c6
rxrpc: Allow list of in-use local UDP endpoints to be viewed in /proca2d5dba2fc
net: liquidio: simplify if expression8124a02e17
ARM: dts: at91: sam9g20ek: enable udc vbus gpio pinctrlb547bf71fa
tee: optee: fix possible memory leak in optee_register_device()b76c5a99f4
bus: sunxi-rsb: Support atomic transfers0c059b7d2a
regulator: core: fix UAF in destroy_regulator()fcb2d28636
spi: dw-dma: decrease reference count in dw_spi_dma_init_mfld()0b6441abfa
regulator: core: fix kobject release warning and memory leak in regulator_register()26d3d3ffa8
scsi: storvsc: Fix handling of srb_status and capacity change eventsc34db0d6b8
ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open()4f6c7344ab
ASoC: sgtl5000: Reset the CHIP_CLK_CTRL reg on remove164a5b50d1
ASoC: hdac_hda: fix hda pcm buffer overflow issue7cfb4b8579
ARM: dts: am335x-pcm-953: Define fixed regulators in root nodeb7000254c1
af_key: Fix send_acquire race with pfkey_register51969d679b
xfrm: replay: Fix ESN wrap around for GSO497653f6d2
xfrm: fix "disable_policy" on ipv4 early demux836bbdfcf8
MIPS: pic32: treat port as signed integerc0bb600f07
RISC-V: vdso: Do not add missing symbols to version section in linker script81cc6d8400
arm64/syscall: Include asm/ptrace.h in syscall_wrapper header.fa5f2c72d3
block, bfq: fix null pointer dereference in bfq_bio_bfqg()d29bde8689
drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 (SW5-017)f7ce6fb04e
scsi: scsi_debug: Make the READ CAPACITY response compliant with ZBC2574903ee2
scsi: ibmvfc: Avoid path failures during live migration7fc62181c1
platform/x86: touchscreen_dmi: Add info for the RCA Cambio W101 v2 2-in-1f54a11b6bf
Revert "net: macsec: report real_dev features when HW offloading is enabled"f4b8c0710a
selftests/bpf: Add verifier test for release_reference()361a165098
spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run2c1ca23555
wifi: mac80211: Fix ack frame idr leak when mesh has no route8d39913158
wifi: airo: do not assign -1 to unsigned char8552e6048e
audit: fix undefined behavior in bit shift for AUDIT_BIT1c9eb641d1
riscv: dts: sifive unleashed: Add PWM controlled LEDs92ae6facd1
wifi: mac80211_hwsim: fix debugfs attribute ps with rc table support2fcc593b50
wifi: mac80211: fix memory free error when registering wiphy fail044bc6d3c2
ceph: avoid putting the realm twice when decoding snaps failsd43219bb33
ceph: do not update snapshot context when there is no new snapshot49c71b6814
iio: pressure: ms5611: fixed value compensation bug879139bc7a
iio: ms5611: Simplify IO callback parameters80c825e1e3
nvme-pci: add NVME_QUIRK_BOGUS_NID for Micron Nitrof4066fb910
nvme: add a bogus subsystem NQN quirk for Micron MTFDKBA2T0TFH4f0cea018e
drm/display: Don't assume dual mode adaptors support i2c sub-addressing347f1793b5
bridge: switchdev: Fix memory leaks when changing VLAN protocol89a7f155e6
bridge: switchdev: Notify about VLAN protocol changesf5cbd86ebf
ata: libata-core: do not issue non-internal commands once EH is pending4034d06a4d
ata: libata-scsi: simplify __ata_scsi_queuecmd()03aabcb88a
scsi: scsi_transport_sas: Fix error handling in sas_phy_add()d9b90a99f3
Merge 5.10.156 into android12-5.10-lts25af5a11f1
Merge 5.10.155 into android12-5.10-ltse5d2cd6ad8
ANDROID: abi preservation for fscrypt change in 5.10.1545bc3ece380
Revert "serial: 8250: Let drivers request full 16550A feature probing"f466ca1247
Merge 5.10.154 into android12-5.10-lts6d46ef50b1
Linux 5.10.1567be134eb69
Revert "net: broadcom: Fix BCMGENET Kconfig"957732a09c
ntfs: check overflow when iterating ATTR_RECORDs6322dda483
ntfs: fix out-of-bounds read in ntfs_attr_find()b825bfbbaa
ntfs: fix use-after-free in ntfs_attr_find()294ef12dcc
mm: fs: initialize fsdata passed to write_begin/write_end interfacea8e2fc8f7b
9p/trans_fd: always use O_NONBLOCK read/writea5da76df46
gfs2: Switch from strlcpy to strscpy5fa30be7ba
gfs2: Check sb_bsize_shift after reading superblockf14858bc77
9p: trans_fd/p9_conn_cancel: drop client lock earlier4154b6afa2
kcm: close race conditions on sk_receive_queue7deb7a9d33
kcm: avoid potential race in kcm_tx_work35309be06b
tcp: cdg: allow tcp_cdg_release() to be called multiple timese929ec98c0
macvlan: enforce a consistent minimal mtu95ebea5a15
uapi/linux/stddef.h: Add include guards3f25add5ec
Input: i8042 - fix leaking of platform device on module removal7d606ae1ab
kprobes: Skip clearing aggrprobe's post_handler in kprobe-on-ftrace case89ece5ff7d
scsi: scsi_debug: Fix possible UAF in sdebug_add_host_helper()75205f1b47
scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()6e9334436d
net: use struct_group to copy ip/ipv6 header addresses9fd7bdaffe
stddef: Introduce struct_group() helper macro47c3bdd955
usbnet: smsc95xx: Fix deadlock on runtime resume8208c266fe
ring-buffer: Include dropped pages in counting dirty patches36b5095b07
net: fix a concurrency bug in l2tp_tunnel_register()023435a095
nvme: ensure subsystem reset is single threadedb9a5ecf241
nvme: restrict management ioctls to admin5e2f14d772
perf/x86/intel/pt: Fix sampling using single range output62634b43d3
misc/vmw_vmci: fix an infoleak in vmci_host_do_receive_datagram()c1eb46a65b
docs: update mediator contact information in CoC doc4423866d31
mmc: sdhci-pci: Fix possible memory leak caused by missing pci_dev_put()440653a180
mmc: sdhci-pci-o2micro: fix card detect fail issue caused by CD# debounce timeout8e70b14131
mmc: core: properly select voltage range without power cycle05b0f6624d
firmware: coreboot: Register bus in module initdeda86a0d8
iommu/vt-d: Set SRE bit only when hardware has SRS capd2c7d8f58e
scsi: zfcp: Fix double free of FSF request when qdio send failsdb744288af
maccess: Fix writing offset in case of fault in strncpy_from_kernel_nofault()24cc679abb
Input: iforce - invert valid length check when fetching device IDs5f4611fe01
serial: 8250_lpss: Configure DMA also w/o DMA filter8679087e93
serial: 8250: Flush DMA Rx on RLSIa5eaad87bf
serial: 8250: Fall back to non-DMA Rx if IIR_RDI occursf59f5a269c
dm ioctl: fix misbehavior if list_versions races with module loading67a75a9480
iio: pressure: ms5611: changed hardcoded SPI speed to value limitedd95b85c508
iio: adc: mp2629: fix potential array out of bound access46b8bc62c5
iio: adc: mp2629: fix wrong comparison of channel8dddf2699d
iio: trigger: sysfs: fix possible memory leak in iio_sysfs_trig_init()85d2a8b287
iio: adc: at91_adc: fix possible memory leak in at91_adc_allocate_trigger()85cc1a2fd8
usb: typec: mux: Enter safe mode only when pins need to be reconfiguredefaab05520
usb: chipidea: fix deadlock in ci_otg_del_timer143ba5c2d2
usb: add NO_LPM quirk for Realforce 87U Keyboard249cef723f
USB: serial: option: add Fibocom FM160 0x0111 composition5c44c60358
USB: serial: option: add u-blox LARA-L6 modem0e88a3cfa6
USB: serial: option: add u-blox LARA-R6 00B modemde707957d9
USB: serial: option: remove old LARA-R6 PID878227a3dd
USB: serial: option: add Sierra Wireless EM919125c652811d
USB: bcma: Make GPIO explicitly optionaleb3af3ea5b
speakup: fix a segfault caused by switching consoles8cbaf4ed53
slimbus: stream: correct presence rate frequencies15155f7c0e
Revert "usb: dwc3: disable USB core PHY management"100d1e53bb
ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book Pro 360c7dcc89482
ALSA: hda/realtek: fix speakers for Samsung Galaxy Book Proa80369c8ca
ALSA: usb-audio: Drop snd_BUG_ON() from snd_usbmidi_output_open()28a54854a9
tracing: kprobe: Fix potential null-ptr-deref on trace_array in kprobe_event_gen_test_exit()bb70fcae41
tracing: kprobe: Fix potential null-ptr-deref on trace_event_file in kprobe_event_gen_test_exit()315b149f08
tracing: Fix wild-memory-access in register_synth_event()65ba7e7c24
tracing: Fix memory leak in test_gen_synth_cmd() and test_empty_synth_event()5d4cc7bc1a
tracing/ring-buffer: Have polling block on watermark5fdebbeca5
ring_buffer: Do not deactivate non-existant pages6a14828cad
ftrace: Fix null pointer dereference in ftrace_add_mod()6ed60c60ec
ftrace: Optimize the allocation for mcount entries9569eed79b
ftrace: Fix the possible incorrect kernel message5fc19c8313
cifs: add check for returning value of SMB2_set_info_init0aeb0de528
net: thunderbolt: Fix error handling in tbnet_init()e13ef43813
cifs: Fix wrong return value checking when GETFLAGS9f00da9c86
net/x25: Fix skb leak in x25_lapb_receive_frame()94822d2331
net: ag71xx: call phylink_disconnect_phy if ag71xx_hw_enable() fail in ag71xx_open()3aeb13bc3d
cifs: add check for returning value of SMB2_close_initc24013273e
platform/x86/intel: pmc: Don't unconditionally attach Intel PMC when virtualized9ed51414ae
drbd: use after free in drbd_create_device()6b23a4b252
net: ena: Fix error handling in ena_init()2d5a495501
net: ionic: Fix error handling in ionic_init_module()bb9924a6ed
xen/pcpu: fix possible memory leak in register_pcpu()d6a561bd4c
bnxt_en: Remove debugfs when pci_register_driver failed389738f5db
net: caif: fix double disconnect client in chnl_net_open()fb5ee1560b
net: macvlan: Use built-in RCU list checking709aa1f73d
mISDN: fix misuse of put_device() in mISDN_register_device()417f2d2edf
net: liquidio: release resources when liquidio driver open failed4cba73f2d6
net: hinic: Fix error handling in hinic_module_init()083a2c9ef8
mISDN: fix possible memory leak in mISDN_dsp_element_register()6b23993d5b
net: bgmac: Drop free_netdev() from bgmac_enet_remove()1f6a73b25d
bpf: Initialize same number of free nodes for each pcpu_freelistef2ac07ab8
ata: libata-transport: fix error handling in ata_tdev_add()7377a14598
ata: libata-transport: fix error handling in ata_tlink_add()b5362dc163
ata: libata-transport: fix error handling in ata_tport_add()ac471468f7
ata: libata-transport: fix double ata_host_put() in ata_tport_add()ac4f404c25
arm64: dts: imx8mn: Fix NAND controller size-cells30ece7dbee
arm64: dts: imx8mm: Fix NAND controller size-cellsf68a9efd78
ARM: dts: imx7: Fix NAND controller size-cells1d160dfb3f
drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()c47a823ea1
drm/drv: Fix potential memory leak in drm_dev_init()c776a49d09
drm/panel: simple: set bpc field for logic technologies displays777430aa4d
pinctrl: devicetree: fix null pointer dereferencing in pinctrl_dt_to_mapbce3e6fe8b
parport_pc: Avoid FIFO port location truncationa4b5423f88
siox: fix possible memory leak in siox_device_add()0679f571d3
arm64: Fix bit-shifting UB in the MIDR_CPU_MODEL() macro58636b5ff3
block: sed-opal: kmalloc the cmd/resp bufferse27458b18b
sctp: clear out_curr if all frag chunks of current msg are pruned0b4c259b63
sctp: remove the unnecessary sinfo_stream check in sctp_prsctp_prune_unsent7360e7c29d
ASoC: soc-utils: Remove __exit for snd_soc_util_exit()e60f37a1d3
bpf, test_run: Fix alignment problem in bpf_prog_test_run_skb()b8fe1a5aa7
tty: n_gsm: fix sleep-in-atomic-context bug in gsm_control_send0a3160f4ff
serial: imx: Add missing .thaw_noirq hook7e1f908e65
serial: 8250: omap: Flush PM QOS work on removed833cba201
serial: 8250: omap: Fix unpaired pm_runtime_put_sync() in omap8250_remove()b0b6ea651e
serial: 8250_omap: remove wait loop from Errata i202 workaroundf14c312c21
serial: 8250: omap: Fix missing PM runtime calls for omap8250_set_mctrl()85cdbf04b4
serial: 8250: Remove serial_rs485 sanitization from em485f5dedad405
ASoC: tas2764: Fix set_tdm_slot in case of single slot9e82d78fbe
ASoC: tas2770: Fix set_tdm_slot in case of single slot8d21554ec7
ASoC: core: Fix use-after-free in snd_soc_exit()38ca9bd336
spi: stm32: Print summary 'callbacks suppressed' messagea180da5564
drm/amdgpu: disable BACO on special BEIGE_GOBY cardf3adf0adf3
drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cardsb0faeff69a
drm/amd/pm: Read BIF STRAP also for BACO check6958556285
drm/amd/pm: support power source switch on Sienna Cichlid7daab001a6
mmc: sdhci-esdhc-imx: use the correct host caps for MMC_CAP_8_BIT_DATA65ac4d1807
spi: intel: Use correct mask for flash and protected regions23793518a7
mtd: spi-nor: intel-spi: Disable write protection only if askeda326fffdc7
ALSA: hda/realtek: fix speakers and micmute on HP 855 G824839d027c
ASoC: codecs: jz4725b: Fix spelling mistake "Sourc" -> "Source", "Routee" -> "Route"bd48793240
Bluetooth: L2CAP: Fix l2cap_global_chan_by_psmce75e90859
btrfs: remove pointless and double ulist frees in error paths of qgroup tests16743c4bf3
drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_validdf2747f295
i2c: i801: add lis3lv02d's I2C address for Vostro 5568959cb0fd69
i2c: tegra: Allocate DMA memory for DMA engine6cb657722e
NFSv4: Retry LOCK on OLD_STATEID during delegation returnf0187227e2
drm/amd/display: Remove wrong pipe control lockbb3edbd092
ASoC: rt1308-sdw: add the default value of some registersb1619f0307
selftests/intel_pstate: fix build for ARCH=x86_64fdf6807606
selftests/futex: fix build for clangc1f0defecb
ASoC: codecs: jz4725b: fix capture selector namingaeb7e8bc0d
ASoC: codecs: jz4725b: use right control for Capture Volumec87945c173
ASoC: codecs: jz4725b: fix reported volume for Master ctl9aae00961a
ASoC: codecs: jz4725b: add missed Line In power control bit0b4d650f90
spi: intel: Fix the offset to get the 64K erase opcode6910e7279f
ASoC: wm8962: Add an event handler for TEMP_HP and TEMP_SPKc7432616f6
ASoC: mt6660: Keep the pm_runtime enables before component stuff in mt6660_i2c_probea47606064c
ASoC: wm8997: Revert "ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe"f8f254c8b5
ASoC: wm5110: Revert "ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probe"c73aa2cc41
ASoC: wm5102: Revert "ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probe"673a7341bd
Merge 5.10.153 into android12-5.10-lts27b36ba7c2
Merge 5.10.152 into android12-5.10-ltsbf759deb0f
Merge 5.10.151 into android12-5.10-lts6b31c548a1
ANDROID: fix up struct sk_buf ABI breakagebd66e91ad2
ANDROID: fix up CRC issue with struct tcp_sock3905cfd1d6
Revert "serial: 8250: Toggle IER bits on only after irq has been set up"41217963b1
Linux 5.10.1550f544353fe
io_uring: kill goto error handling in io_sqpoll_wait_sq()154d744fbe
x86/cpu: Restore AMD's DE_CFG MSR after resumee7294b01de
mmc: sdhci-esdhc-imx: Convert the driver to DT-only534762e261
net: tun: call napi_schedule_prep() to ensure we own a napi367bc0fa98
dmaengine: at_hdmac: Check return code of dma_async_device_register85f97c97ef
dmaengine: at_hdmac: Fix impossible conditionf53a233eaa
dmaengine: at_hdmac: Don't allow CPU to reorder channel enablef451285522
dmaengine: at_hdmac: Fix completion of unissued descriptor in case of errors6be4ab08c8
dmaengine: at_hdmac: Fix descriptor handling when issuing it to hardwarea35dd5dd98
dmaengine: at_hdmac: Fix concurrency over the active list0f603bf553
dmaengine: at_hdmac: Free the memset buf without holding the chan lock7f07cecc74
dmaengine: at_hdmac: Fix concurrency over descriptor1582cc3b48
dmaengine: at_hdmac: Fix concurrency problems by removing atc_complete_all()9b69060a72
dmaengine: at_hdmac: Protect atchan->status with the channel lockee35682261
dmaengine: at_hdmac: Do not call the complete callback on device_terminate_all7078e935b4
dmaengine: at_hdmac: Fix premature completion of desc in issue_pendingad4cbe8e9c
dmaengine: at_hdmac: Start transfer for cyclic channels in issue_pending24f9e93e50
dmaengine: at_hdmac: Don't start transactions at tx_submit level4b51cce72a
dmaengine: at_hdmac: Fix at_lli struct definitiond37dfb9357
cert host tools: Stop complaining about deprecated OpenSSL functionsf8e0edeaa0
can: j1939: j1939_send_one(): fix missing CAN header initialization0b692d41ee
mm/memremap.c: map FS_DAX device memory as decrypted03f9582a6a
udf: Fix a slab-out-of-bounds write bug in udf_find_entry()4ea3aa3b98
mms: sdhci-esdhc-imx: Fix SDHCI_RESET_ALL for CQHCI9c0accfa5a
btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()8fa0c22ef8
platform/x86: hp_wmi: Fix rfkill causing soft blocked wifib5ee579fcb
drm/i915/dmabuf: fix sg_table handling in map_dma_buf4feedde548
nilfs2: fix use-after-free bug of ns_writer on remount1d4ff73062
nilfs2: fix deadlock in nilfs_count_free_blocks()344ddbd688
ata: libata-scsi: fix SYNCHRONIZE CACHE (16) command failure516f9f2300
vmlinux.lds.h: Fix placement of '.data..decrypted' sectionf6896fb69d
ALSA: usb-audio: Add DSD support for Accuphase DAC-602032c2d32b
ALSA: usb-audio: Add quirk entry for M-Audio Microa414a6d6ef
ALSA: hda/realtek: Add Positivo C6300 model quirk3a79f9568d
ALSA: hda: fix potential memleak in 'add_widget_node'380d64168d
ALSA: hda/ca0132: add quirk for EVGA Z390 DARK181cfff57b
ALSA: hda/hdmi - enable runtime pm for more AMD display audioea6787e482
mmc: sdhci-tegra: Fix SDHCI_RESET_ALL for CQHCI0a8d4531a0
mmc: sdhci_am654: Fix SDHCI_RESET_ALL for CQHCI3f558930ad
mmc: sdhci-of-arasan: Fix SDHCI_RESET_ALL for CQHCIb55e64d0a3
mmc: cqhci: Provide helper for resetting both SDHCI and CQHCI4631cb0406
MIPS: jump_label: Fix compat branch range check475fd3991a
arm64: efi: Fix handling of misaligned runtime regions and drop warning94ab8f88fe
riscv: fix reserved memory setup0cf9cb0614
riscv: Separate memory init from paging initd7716240bc
riscv: Enable CMA supportecf78af514
riscv: vdso: fix build with llvme56d18a976
riscv: process: fix kernel info leakage956e0216a1
net: macvlan: fix memory leaks of macvlan_common_newlink59ec132386
ethernet: tundra: free irq when alloc ring failed in tsi108_open()dd7beaec8b
net: mv643xx_eth: disable napi when init rxq or txq failed in mv643xx_eth_open()56d3b5531b
ethernet: s2io: disable napi when start nic failed in s2io_card_up()05b2228434
net: atlantic: macsec: clear encryption keys from the stack1a4e495edf
net: phy: mscc: macsec: clear encryption keys when freeing a flow4ad684ba02
cxgb4vf: shut down the adapter when t4vf_update_port_info() failed in cxgb4vf_open()38aa7ed8c2
net: cxgb3_main: disable napi when bind qsets failed in cxgb_up()fd52dd2d6e
net: cpsw: disable napi in cpsw_ndo_open()3b27e20601
net/mlx5e: E-Switch, Fix comparing termination table instanceeb6fa0ac2a
net/mlx5: Allow async trigger completion execution on single CPU systemsbdd282bba7
net: nixge: disable napi when enable interrupts failed in nixge_open()5333cf1b7f
net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()cf4853880e
perf stat: Fix printing os->prefix in CSV metrics output3a4a3c3b1f
drivers: net: xgene: disable napi when register irq failed in xgene_enet_open()0b7ee3d50f
dmaengine: mv_xor_v2: Fix a resource leak in mv_xor_v2_remove()6e2ffae69d
dmaengine: pxa_dma: use platform_get_irq_optionalf31dd15858
tipc: fix the msg->req tlv len check in tipc_nl_compat_name_table_dump_headerfbb4e8e6dc
net: broadcom: Fix BCMGENET Kconfigcb6d639bb1
net: stmmac: dwmac-meson8b: fix meson8b_devm_clk_prepare_enable()d68fa77ee3
can: af_can: fix NULL pointer dereference in can_rx_register()a033b86c7f
ipv6: addrlabel: fix infoleak when sending struct ifaddrlblmsg to network02f8dfee75
tcp: prohibit TCP_REPAIR_OPTIONS if data was already sentf3aa8a7d95
drm/vc4: Fix missing platform_unregister_drivers() call in vc4_drm_register()bcb3bb1069
hamradio: fix issue of dev reference count leakage in bpq_device_event()bc4591a86b
net: lapbether: fix issue of dev reference count leakage in lapbeth_device_event()2bf8b1c111
KVM: s390: pv: don't allow userspace to set the clock under PVa60cc64db7
KVM: s390x: fix SCK lockingfcbd2b3368
capabilities: fix undefined behavior in bit shift for CAP_TO_MASK8aae24b0ed
net: fman: Unregister ethernet device on removale2c5ee3b62
bnxt_en: fix potentially incorrect return value for ndo_rx_flow_steer38147073c9
bnxt_en: Fix possible crash in bnxt_hwrm_set_coal()3401f96402
net: tun: Fix memory leaks of napi_get_fragsadaa0f180d
macsec: clear encryption keys from the stack after setting up offload9dc7503bae
macsec: fix detection of RXSCs when toggling offloading7f4456f011
macsec: fix secy->n_rx_sc accounting3b05d9073a
macsec: delete new rxsc when offload fails50868de7dc
net: gso: fix panic on frag_list with mixed head alloc typescedd4f01f6
bpf: Fix wrong reg type conversion in release_reference()9069db2579
bpf: Add helper macro bpf_for_each_reg_in_vstate95b6ec7337
bpf: Support for pointers beyond pkt_end.8597b59e3d
HID: hyperv: fix possible memory leak in mousevsc_probe()8c80b2fca4
bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILEcc21dc48a7
bpf, sockmap: Fix the sk->sk_forward_alloc warning of sk_stream_kill_queuese1e1218032
wifi: cfg80211: fix memory leak in query_regdb_file()914cb94e73
wifi: cfg80211: silence a sparse RCU warning72ea2fc299
phy: stm32: fix an error code in probe925bf1ba76
hwspinlock: qcom: correct MMIO max register for newer SoCs76eba54f0d
fuse: fix readdir cache race7bcea6c5c9
ANDROID: gki_defconfig: remove CONFIG_INIT_STACK_ALL_ZERO=yd2bc3376cd
Revert "serial: 8250: Fix restoring termios speed after suspend"0b500f5b16
Merge 5.10.150 into android12-5.10-ltsf5b40c0eb9
Linux 5.10.154bf506e366d
ipc: remove memcg accounting for sops objects in do_semtimedop()c6678c8f4f
wifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()a6c57adec5
drm/i915/sdvo: Setup DDC fully before output initb86830cc95
drm/i915/sdvo: Filter out invalid outputs more sensibly9f3b867808
drm/rockchip: dsi: Force synchronous probe23f1fc7ce5
ext4,f2fs: fix readahead of verity datae5cef906cb
KVM: x86: emulator: update the emulation mode after CR0 writece9261accc
KVM: x86: emulator: introduce emulator_recalc_and_set_modec8a2fd7a71
KVM: x86: emulator: em_sysexit should update ctxt->modee0c7410378
KVM: x86: Mask off reserved bits in CPUID.80000001H9302ebc1c2
KVM: x86: Mask off reserved bits in CPUID.80000008Hcc40c5f3e9
KVM: x86: Mask off reserved bits in CPUID.8000001AHbd64a88f36
KVM: x86: Mask off reserved bits in CPUID.80000006H156451a67b
ext4: fix BUG_ON() when directory entry has invalid rec_len5370b965b7
ext4: fix warning in 'ext4_da_release_space'c9598cf629
parisc: Avoid printing the hardware path twice98f836e80d
parisc: Export iosapic_serial_irq() symbol for serial port driver814af9a32b
parisc: Make 8250_gsc driver dependend on CONFIG_PARISC29d106d086
perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]98f6e7c337
perf/x86/intel: Fix pebs event constraints for ICL3be2d66822
efi: random: Use 'ACPI reclaim' memory for random seed83294f7c77
efi: random: reduce seed size to 32 bytesf8e8cda869
fuse: add file_modified() to fallocatecdf01c807e
capabilities: fix potential memleak on error path from vfs_getxattr_alloc()ff32d8a099
tracing/histogram: Update document for KEYS_MAX size533bfacbac
tools/nolibc/string: Fix memcmp() implementationf100a02748
kprobe: reverse kp->flags when arm_kprobe failedbef08acbe5
tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()2bf33b5ea4
tcp/udp: Make early_demux back namespacified.ea5f2fd464
ftrace: Fix use-after-free for dynamic ftrace_ops06de93a47c
btrfs: fix type of parameter generation in btrfs_get_dentrye33ce54cef
coresight: cti: Fix hang in cti_disable_hw()015ac18be7
binder: fix UAF of alloc->vma in race with munmap()836686e1a0
memcg: enable accounting of ipc resourcese4e4b24b42
mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times818c36b988
tcp/udp: Fix memory leak in ipv6_renew_options().29997a6fa6
fscrypt: fix keyring memory leak on mount failure391cceee6d
fscrypt: stop using keyrings subsystem for fscrypt_master_key092401142b
fscrypt: simplify master key locking54c13d3520
ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devicesa0e2577cf3
block, bfq: protect 'bfqd->queued' by 'bfqd->lock'26ca2ac091
Bluetooth: L2CAP: Fix attempting to access uninitialized memory6b6f94fb9a
Bluetooth: L2CAP: Fix accepting connection request for invalid SPSMbfd5e62f9a
i2c: piix4: Fix adapter not be removed in piix4_remove()fc3e2fa0a5
arm64: dts: juno: Add thermal critical trip pointsb743ecf29c
firmware: arm_scmi: Make Rx chan_setup fail on memory errors29e8e9bfc2
firmware: arm_scmi: Suppress the driver's bind attributesd7b1e2cbe0
ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset160d8904b2
efi/tpm: Pass correct address to memblock_reservec40b4d604b
i2c: xiic: Add platform module alias5bf8c7798b
drm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case496eb203d0
HID: saitek: add madcatz variant of MMO7 mouse device IDff06067b70
scsi: core: Restrict legal sdev_state transitions via sysfs9edf20e5a1
ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()be6e22f546
media: meson: vdec: fix possible refcount leak in vdec_probe()c5fd54a65c
media: dvb-frontends/drxk: initialize err to 07fdc58d8c2
media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE1609231f86
media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZEc46759e370
media: rkisp1: Zero v4l2_subdev_format fields in when validating links3144ce5574
media: rkisp1: Initialize color space on resizer sink and source pads6b24d9c2ac
s390/boot: add secure boot trailerefc6420d65
xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices37bb57908d
mtd: parsers: bcm47xxpart: Fix halfblock reads85e458369c
mtd: parsers: bcm47xxpart: print correct offset on read errorec54104feb
fbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cardsf8c86d7829
video/fbdev/stifb: Implement the stifb_fillrect() functione975d7aeca
mmc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lakeafeae13b8a
mmc: sdhci-pci: Avoid comma separated statementsa06721767c
mmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus59400c9b0d
drm/msm/hdmi: fix IRQ lifetime8225bdaec5
drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag5dbb47ee89
ipv6: fix WARNING in ip6_route_net_exit_late()1c89642e7f
net, neigh: Fix null-ptr-deref in neigh_table_clear()634f066d02
net: mdio: fix undefined behavior in bit shift for __mdiobus_registerd9ec6e2fbd
Bluetooth: L2CAP: fix use-after-free in l2cap_conn_del()cb1c012099
Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu0a0dead4ad
btrfs: fix ulist leaks in error paths of qgroup self tests61e0612811
btrfs: fix inode list leak during backref walking at find_parent_nodes()a52e24c7fc
btrfs: fix inode list leak during backref walking at resolve_indirect_refs()81204283ea
isdn: mISDN: netjet: fix wrong check of device registratione77d213843
mISDN: fix possible memory leak in mISDN_register_device()f06186e527
rose: Fix NULL pointer dereference in rose_send_frame()2c8d81bdb2
ipvs: fix WARNING in ip_vs_app_net_cleanup()931f56d59c
ipvs: fix WARNING in __ip_vs_cleanup_batch()d69328cdb9
ipvs: use explicitly signed charsb2d7a92aff
netfilter: nf_tables: release flow rule object from commit path3583826b44
net: tun: fix bugs for oversize packet when napi frags enabled5960b9081b
net: sched: Fix use after free in red_enqueue()24f9c41435
ata: pata_legacy: fix pdc20230_set_piomode()c85ee1c3cb
net: fec: fix improper use of NETDEV_TX_BUSY52438e734c
nfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()0acfcd2aed
nfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()9ae2c9a91f
nfc: nxp-nci: Fix potential memory leak in nxp_nci_send()eecea068bf
NFC: nxp-nci: remove unnecessary labelse8c11ee2d0
nfc: fdp: Fix potential memory leak in fdp_nci_send()31b83d6990
nfc: fdp: drop ftrace-like debugging messages4e1e4485b2
RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()d360e875c0
RDMA/core: Fix null-ptr-deref in ib_core_cleanup()37a098fc9b
net: dsa: Fix possible memory leaks in dsa_loop_init()45aea4fbf6
nfs4: Fix kmemleak when allocate slot failedf0f1c74fa6
NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot10c554d722
NFSv4.1: Handle RECLAIM_COMPLETE trunking errors4813dd737d
NFSv4: Fix a potential state reclaim deadlock7c4260f8f1
IB/hfi1: Correctly move list in sc_disable()87ac93c8dd
RDMA/cma: Use output interface for net_dev check4dbb739eb2
KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTERbb584caee8
KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()9faacf442d
KVM: x86: Protect the unused bits in MSR exiting flags5bdbccc79c
x86/topology: Fix duplicated core ID within a package6c31fc028a
x86/topology: Fix multiple packages shown on a single-package systemf5ad52da14
x86/topology: Set cpu_die_id only if DIE_TYPE found570fa3bcd2
KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)e5d7c6786b
KVM: x86: Trace re-injected exceptions8364786152
KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02523e1dd9f8
KVM: nVMX: Pull KVM L0's desired controls directly from vmcs01028fcabd8a
serial: ar933x: Deassert Transmit Enable on ->rs485_config()e6da7808c9
serial: 8250: Let drivers request full 16550A feature probing95aa34f721
Linux 5.10.15326a2b9c468
serial: Deassert Transmit Enable on probe in driver-specific way4a230f65d6
serial: core: move RS485 configuration tasks from drivers into coreeb69c07eca
can: rcar_canfd: rcar_canfd_handle_global_receive(): fix IRQ storm on global FIFO received5924531dd
arm64/kexec: Test page size support with new TGRAN range valuesc911f03f8d
arm64/mm: Fix __enable_mmu() for new TGRAN range valuesd523384766
scsi: sd: Revert "scsi: sd: Remove a local variable"52a43b8200
arm64: Add AMPERE1 to the Spectre-BHB affected list9889ca7efa
net: enetc: survive memory pressure without crashingfdba224ab0
net/mlx5: Fix crash during sync firmware resetbbcc06933f
net/mlx5: Fix possible use-after-free in async command interface16376ba5cf
net/mlx5e: Do not increment ESN when updating IPsec ESN state0d88359092
nh: fix scope used to find saddr when adding non gw nh3519b5ddac
net: ehea: fix possible memory leak in ehea_register_port()79631daa5a
openvswitch: switch from WARN to pr_warn00d6f33f67
ALSA: aoa: Fix I2S device accountingce6fd1c382
ALSA: aoa: i2sbus: fix possible memory leak in i2sbus_add_dev()97262705c0
net: fec: limit register access on i.MX6ULdf67a8e625
PM: domains: Fix handling of unavailable/disabled idle states1f262d8088
net: ksz884x: fix missing pci_disable_device() on error in pcidev_init()6170b4579f
i40e: Fix flow-type by setting GL_HASH_INSET registers9abae363af
i40e: Fix VF hang when reset is triggered on another VF23d5599058
i40e: Fix ethtool rx-flow-hash setting for X72244affe7ede
ipv6: ensure sane device mtu in tunnels905f05c0ab
media: vivid: set num_in/outputs to 0 if not supportedb6c7446d0a
media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced'683015ae16
media: v4l2-dv-timings: add sanity checks for blanking values147b8f1892
media: vivid: dev->bitmap_cap wasn't freed in all cases1cf51d5158
media: vivid: s_fbuf: add more sanity checks3221c2701d
PM: hibernate: Allow hybrid sleep to work with s2idle0eb19ecbd0
can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path6b2d07fc0b
can: mscan: mpc5xxx: mpc5xxx_can_probe(): add missing put_clock() in error path1634d5d39c
tcp: fix indefinite deferral of RTO with SACK reneging4f23cb2be5
tcp: fix a signed-integer-overflow bug in tcp_add_backlog()49713d7c38
tcp: minor optimization in tcp_add_backlog()aab883bd60
net: lantiq_etop: don't free skb when returning NETDEV_TX_BUSYc3edc6e808
net: fix UAF issue in nfqnl_nf_hook_drop() when ops_init() failede2a28807b1
kcm: annotate data-races around kcm->rx_waitc325f92d8d
kcm: annotate data-races around kcm->rx_psockaf7879529e
atlantic: fix deadlock at aq_nic_stopd7ccd49c4d
amd-xgbe: add the bit rate quirk for Molex cables17350734fd
amd-xgbe: fix the SFP compliance codes check for DAC cablesb55d6ea965
x86/unwind/orc: Fix unreliable stack dump with gcov0ce1ef3353
net: hinic: fix the issue of double release MBOX callback of VF6603843c80
net: hinic: fix the issue of CMDQ memory leaksbb01910763
net: hinic: fix memory leak when reading function tablece605b68db
net: hinic: fix incorrect assignment issue in hinic_set_interrupt_cfg()62f0a08e82
net: netsec: fix error handling in netsec_register_mdio()32a3d4660b
tipc: fix a null-ptr-deref in tipc_topsrv_acceptfb94152aae
perf/x86/intel/lbr: Use setup_clear_cpu_cap() instead of clear_cpu_cap()bfce730886
ALSA: ac97: fix possible memory leak in snd_ac97_dev_register()2663b16c76
ASoC: qcom: lpass-cpu: Mark HDMI TX parity register as volatilea527557299
arc: iounmap() arg is volatile648ac633e7
ASoC: qcom: lpass-cpu: mark HDMI TX registers as volatile6571f6ca8a
drm/msm: Fix return type of mdp4_lvds_connector_mode_valid4953a989b7
media: v4l2: Fix v4l2_i2c_subdev_set_name function documentation9d00384270
net: ieee802154: fix error return code in dgram_bind()568e3812b1
mm,hugetlb: take hugetlb_lock before decrementing h->resv_huge_pages935a8b6202
mm/memory: add non-anonymous page check in the copy_present_page()49db6cb814
xen/gntdev: Prevent leaking grantsa3f2cc11d6
Xen/gntdev: don't ignore kernel unmapping error467230b9ef
s390/pci: add missing EX_TABLE entries to __pcistg_mio_inuser()/__pcilg_mio_inuser()fe187c801a
s390/futex: add missing EX_TABLE entry to __futex_atomic_op()449070996c
perf auxtrace: Fix address filter symbol name match for modules6f72a3977b
kernfs: fix use-after-free in __kernfs_remove0bcd1ab3e8
counter: microchip-tcb-capture: Handle Signal1 read and Synapse8bf037279b
mmc: core: Fix kernel panic when remove non-standard SDIO card5684808b26
mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIOb686ffc0ac
drm/msm/dp: fix IRQ lifetime08c7375fa2
drm/msm/hdmi: fix memory corruption with too many bridges21c4679af0
drm/msm/dsi: fix memory corruption with too many bridges44a86d96fa
scsi: qla2xxx: Use transport-defined speed mask for supported_speedsc368f751da
mac802154: Fix LQI recording9ba2990f4e
exec: Copy oldsighand->action under spin-lock7062153004
fs/binfmt_elf: Fix memory leak in load_elf_binary()d9ddfeb01f
fbdev: smscufx: Fix several use-after-free bugsf19f1a75d3
iio: temperature: ltc2983: allocate iio channels onceaf236da855
iio: light: tsl2583: Fix module unloading90ff5bef2b
tools: iio: iio_utils: fix digit calculation678d2cc204
xhci: Remove device endpoints from bandwidth list when freeing the device3b250824b6
xhci: Add quirk to reset host back to default state at shutdown63c7df3c81
mtd: rawnand: marvell: Use correct logic for nand-keep-config228101fc83
usb: xhci: add XHCI_SPURIOUS_SUCCESS to ASM1042 despite being a V0.96 controller2bc4f99ee2
usb: bdc: change state when port disconnectede440957f9c
usb: dwc3: gadget: Don't set IMI for no_interruptfb074d622c
usb: dwc3: gadget: Stop processing more requests on IMIc29fcef579
USB: add RESET_RESUME quirk for NVIDIA Jetson devices in RCM4cc7a360ec
ALSA: rme9652: use explicitly signed char8959092300
ALSA: au88x0: use explicitly signed char2bf5b16315
ALSA: Use del_timer_sync() before freeing timerca1034bff8
can: kvaser_usb: Fix possible completions during init_completion370be31cde
can: j1939: transport: j1939_session_skb_drop_old(): spin_unlock_irqrestore() before kfree_skb()7d51b4c67c
Linux 5.10.15243d5109296
udp: Update reuse->has_conns under reuseport_lock.a50ed2d287
mm: /proc/pid/smaps_rollup: fix no vma's null-deref31b1570677
blk-wbt: fix that 'rwb->wc' is always set to 1 in wbt_init()e2f9b62ead
mmc: core: Add SD card quirk for broken discard3a260e9844
Makefile.debug: re-enable debug info for .S files6ab2287b26
x86/Kconfig: Drop check for -mabi=ms for CONFIG_EFI_STUB67dafece56
ACPI: video: Force backlight native for more TongFang devicesdcaf631320
hv_netvsc: Fix race between VF offering and VF association message from hostda54c5f4b5
perf/x86/intel/pt: Relax address filter validation79c3482fbe
riscv: topology: fix default topology reportinga6e770733d
arm64: topology: move store_cpu_topology() to shared codecb1024d8a4
arm64: dts: qcom: sc7180-trogdor: Fixup modem memory regionf687e2111b
fcntl: fix potential deadlocks for &fown_struct.lockb1efc19644
fcntl: make F_GETOWN(EX) return 0 on dead owner taskca4c498382
perf: Skip and warn on unknown format 'configN' attrsdea47fefa6
perf pmu: Validate raw event with sysfs exported format bits86e995f964
riscv: always honor the CONFIG_CMDLINE_FORCE when parsing dtb0e4c06ae7c
riscv: Add machine name to kernel boot log and stack dump output7fba4a389d
mmc: sdhci-tegra: Use actual clock rate for SW tuning correction3c6a888e35
xen/gntdev: Accommodate VMA splitting5232411f37
xen: assume XENFEAT_gnttab_map_avail_bits being set for pv guestsea82edad0a
tracing: Do not free snapshot if tracer is on cmdlinebd6af07e79
tracing: Simplify conditional compilation code in tracing_set_tracer()4e3a15ca24
dmaengine: mxs: use platform_driver_register1da5d24970
dmaengine: mxs-dma: Remove the unused .id_table1414e9bf3c
drm/virtio: Use appropriate atomic state in virtio_gpu_plane_cleanup_fb()d74196bb27
iommu/vt-d: Clean up si_domain in the init_dmars() error pathef11e8ec00
iommu/vt-d: Allow NVS regions in arch_rmrr_sanity_check()35c92435be
net: phy: dp83822: disable MDI crossover status change interrupt7aa3d623c1
net: sched: fix race condition in qdisc_graft()2974f3b330
net: hns: fix possible memory leak in hnae_ae_register()3032e316e0
sfc: include vport_id in filter spec hash and equal()ded86c4191
net: sched: sfb: fix null pointer access issue when sfb_init() fails305aa36b62
net: sched: delete duplicate cleanup of backlog and qlenae48bee283
net: sched: cake: fix null pointer access issue when cake_init() fails2008ad08a2
nvme-hwmon: kmalloc the NVME SMART log buffer770b7e3a2c
nvme-hwmon: consistently ignore errors from nvme_hwmon_init67106ac272
nvme-hwmon: Return error code when registration failsbc17f727b0
nvme-hwmon: rework to avoid devm allocation191d71c635
ionic: catch NULL pointer issue on reconfigff7ba76675
net: hsr: avoid possible NULL deref in skb_clone()7286f87551
cifs: Fix xid leak in cifs_ses_add_channel()2d08311aa3
cifs: Fix xid leak in cifs_flock()bf49d4fe4a
cifs: Fix xid leak in cifs_copy_file_range()05cc22c008
net: phy: dp83867: Extend RX strap quirk for SGMII mode118f412bed
net/atm: fix proc_mpc_write incorrect return valuec8310a99e7
sfc: Change VF mac via PF as first preference if available.39d10f0dfb
HID: magicmouse: Do not set BTN_MOUSE on double reported5baf3d0a
i40e: Fix DMA mappings leake558e14893
tipc: fix an information leak in tipc_topsrv_kern_subscr1f4ed95ce6
tipc: Fix recognition of trial periodfc8c6b8bb2
ACPI: extlog: Handle multiple records57e157749a
btrfs: fix processing of delayed tree block refs during backref walking590929ef69
btrfs: fix processing of delayed data refs during backref walkingcc841a8a70
r8152: add PID for the Lenovo OneLink+ Dock51b96ecaed
arm64: errata: Remove AES hwcap for COMPAT tasks910ba49b33
blk-wbt: call rq_qos_add() after wb_normal is initialized392536023d
block: wbt: Remove unnecessary invoking of wbt_update_limits in wbt_initab6aaa8210
media: venus: dec: Handle the case where find_format failsbce5808fc9
media: mceusb: set timeout to at least timeout provided6d725672ce
KVM: arm64: vgic: Fix exit condition in scan_its_table()34db701dc6
kvm: Add support for arch compat vm ioctlse55feb31df
cpufreq: qcom: fix memory leak in error path303d0f7614
ata: ahci: Match EM_MAX_SLOTS with SATA_PMP_MAX_PORTS6a2aadcb01
ata: ahci-imx: Fix MODULE_ALIASd9f0159da0
hwmon/coretemp: Handle large core ID value0fb04676c4
x86/microcode/AMD: Apply the patch early on every logical thread6dcf1f0802
i2c: qcom-cci: Fix ordering of pm_runtime_xx and i2c_add_adapter794ded0bc4
cpufreq: qcom: fix writes in read-only memory region2723875e9d
selinux: enable use of both GFP_KERNEL and GFP_ATOMIC in convert_context()0d65f040fd
ocfs2: fix BUG when iput after ocfs2_mknod failsb838dcfda1
ocfs2: clear dinode links count in case of errorc34d1b22fe
Linux 5.10.151ecad331211
kbuild: Add skip_encoding_btf_enum64 option to paholec5006abb80
kbuild: Unify options for BTF generation for vmlinux and modulesf5f413cb3e
kbuild: skip per-CPU BTF generation for pahole v1.18-v1.2106481cd9f7
kbuild: Quote OBJCOPY var to avoid a pahole call break the buildbbaea0f1cd
bpf: Generate BTF_KIND_FLOAT when linking vmlinuxa10a57a224
Linux 5.10.150243c8f42ba
Revert "drm/amdgpu: make sure to init common IP before gmc"8026d58b49
gcov: support GCC 12.1 and newer compilerscbf2c43b36
f2fs: fix wrong condition to trigger background checkpoint correctly7b19858803
thermal: intel_powerclamp: Use first online CPU as control_cpuf039b43cba
inet: fully convert sk->sk_rx_dst to RCU rules67de22cb0b
ext4: continue to expand file system when the target size doesn't reach357db159e9
Revert "drm/amdgpu: use dirty framebuffer helper"98ab15bfdc
Revert "drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega"791489a5c5
net/ieee802154: don't warn zero-sized raw_sendmsg()a96336a5f2
Revert "net/ieee802154: reject zero-sized raw_sendmsg()"dc54ff9fc4
net: ieee802154: return -EINVAL for unknown addr type45c3396675
mm: hugetlb: fix UAF in hugetlb_handle_userfaultc378c479c5
io_uring/af_unix: defer registered files gc to io_uring release67cbc8865a
io_uring: correct pinned_vm accounting904f881b57
arm64: topology: fix possible overflow in amu_fie_setup()b5dc2f2578
perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc9b4e849777
clk: bcm2835: Make peripheral PLLC criticalb8bbae3236
usb: idmouse: fix an uninit-value in idmouse_opend5bb45f47b
nvmet-tcp: add bounds check on Transfer Tagb79da0080d
nvme: copy firmware_rev on each inite6cc39db24
staging: rtl8723bs: fix a potential memory leak in rtw_init_cmd_priv()3a5a34ed9d
Revert "usb: storage: Add quirk for Samsung Fit flash"acf0006f2b
usb: musb: Fix musb_gadget.c rxstate overflow bug91271a3e77
usb: host: xhci: Fix potential memory leak in xhci_alloc_stream_info()782b3e71c9
md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5ddbcca76435
HID: roccat: Fix use-after-free in roccat_read()f00c049ede
soundwire: intel: fix error handling on dai registration issuesf04a673d4a
soundwire: cadence: Don't overwrite msg->buf during write commandsc263516c2c
bcache: fix set_at_max_writeback_rate() for multiple attached devicesfcad2ac863
ata: libahci_platform: Sanity check the DT child nodes number19c010ae44
blk-throttle: prevent overflow while calculating wait time1b3cebeca9
staging: vt6655: fix potential memory leak89f305a714
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()b2700f98b3
nbd: Fix hung when signal interrupts nbd_start_device_ioctl()5942e5c63d
scsi: 3w-9xxx: Avoid disabling device if failing to enable it48727117bd
usb: host: xhci-plat: suspend/resume clks for brcmc13d0d2f5a
usb: host: xhci-plat: suspend and resume clocks12d31182de
clk: zynqmp: pll: rectify rate rounding in zynqmp_pll_round_ratec2257c8a50
media: cx88: Fix a null-ptr-deref bug in buffer_prepare()d9e2585c3b
clk: zynqmp: Fix stack-out-of-bounds in strncpy`70f8b48d0b
btrfs: scrub: try to fix super block errors8f554dd23c
arm64: dts: imx8mq-librem5: Add bq25895 as max17055's power supply451ce2521c
kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT017cabfb3f
ARM: dts: imx6sx: add missing properties for sram9d3ca48722
ARM: dts: imx6sll: add missing properties for sram9735f2b62b
ARM: dts: imx6sl: add missing properties for sram2829b6ad30
ARM: dts: imx6qp: add missing properties for sram0c3a0b3d5e
ARM: dts: imx6dl: add missing properties for sram2763a3b43a
ARM: dts: imx6q: add missing properties for sram82e0d91484
ARM: dts: imx7d-sdb: config the max pressure for tsc2046166feb964f
drm/amd/display: Remove interface for periodic interrupt 11bb6f4a8db
drm/dp: Don't rewrite link config when setting phy test patternbb91c06b0b
mmc: sdhci-msm: add compatible string check for sdm6708a427a2283
drm/meson: explicitly remove aggregate driver at module unload time1c7d957c5d
drm/amdgpu: fix initial connector audio value69130888b2
ASoC: SOF: pci: Change DMI match info to support all Chrome platforms54f2585e2d
platform/x86: msi-laptop: Change DMI match / alias strings to fix module autoloadinga9d6a7c9b6
platform/chrome: cros_ec: Notify the PM of wake events during resumee29d20deaf
drm: panel-orientation-quirks: Add quirk for Anbernic Win600bfdb391d57
drm/vc4: vec: Fix timings for VEC modesb70f8abc1a
drm: bridge: dw_hdmi: only trigger hotplug event on link changebbe2f6f903
udmabuf: Set ubuf->sg = NULL if the creation of sg table fails0a4fddc95c
drm/amd/display: fix overflow on MIN_I64 definition3959e8faf8
gpu: lontium-lt9611: Fix NULL pointer dereference in lt9611_connector_init()c28a8082b2
drm: Prevent drm_copy_field() to attempt copying a NULL pointere7d7018003
drm: Use size_t type for len variable in drm_copy_field()3339a51bcd
drm/nouveau/nouveau_bo: fix potential memory leak in nouveau_bo_alloc()484400d433
r8152: Rate limit overflow messages0c108cf3ad
Bluetooth: L2CAP: Fix user-after-free65029aaedd
net: If sock is dead don't access sock's sk_wq in sk_stream_wait_memory4851303c85
wifi: rt2x00: correctly set BBP register 86 for MT7620a016144479
wifi: rt2x00: set SoC wmac clock register5aa0461d11
wifi: rt2x00: set VGC gain for both chains of MT76208d9c00979a
wifi: rt2x00: set correct TX_SW_CFG1 MAC register for MT762027ed98e8a9
wifi: rt2x00: don't run Rt5592 IQ calibration on MT76203d67986e72
can: bcm: check the result of can_send() in bcm_can_tx()7b674dce41
Bluetooth: hci_sysfs: Fix attempting to call device_add multiple timese25ca9af8a
Bluetooth: L2CAP: initialize delayed works at l2cap_chan_create()b051d9bf98
regulator: core: Prevent integer underflowe01d96494a
wifi: brcmfmac: fix use-after-free bug in brcmf_netdev_start_xmit()be81c44242
xfrm: Update ipcomp_scratches with NULL when freed9661724f62
wifi: ath9k: avoid uninit memory read in ath9k_htc_rx_msg()0958e487e8
tcp: annotate data-race around tcp_md5sig_pool_populated129ca0db95
openvswitch: Fix overreporting of drops in dropwatch4398e8a7fd
openvswitch: Fix double reporting of drops in dropwatche3c9b94734
bpftool: Clear errno after libcap's checks50e45034c5
wifi: brcmfmac: fix invalid address access when enabling SCAN log levelbbacfcde5f
NFSD: fix use-after-free on source server when doing inter-server copy3de402a524
NFSD: Return nfserr_serverfault if splice_ok but buf->pages have data1f730d4ae6
x86/entry: Work around Clang __bdos() bug513943bf87
thermal: intel_powerclamp: Use get_cpu() instead of smp_processor_id() to avoid crash708b9abe1b
powercap: intel_rapl: fix UBSAN shift-out-of-bounds issueb434edb0e9
MIPS: BCM47XX: Cast memcmp() of function to (void *)6c61a37ea7
ACPI: video: Add Toshiba Satellite/Portege Z830 quirk0dd025483f
rcu-tasks: Convert RCU_LOCKDEP_WARN() to WARN_ONCE()36d4ffbedf
rcu: Back off upon fill_page_cache_func() allocation failure278d8ba2b2
selftest: tpm2: Add Client.__del__() to close /dev/tpm* handleb60aa21e2f
f2fs: fix to account FS_CP_DATA_IO correctly0b8230d44c
f2fs: fix to avoid REQ_TIME and CP_TIME collisionecbd95958c
f2fs: fix race condition on setting FI_NO_EXTENT flag110146ce8f
ACPI: APEI: do not add task_work to kernel thread to avoid memory leakdce07e87ee
thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id3a720eb890
crypto: cavium - prevent integer overflow loading firmware7bfa7d6773
crypto: marvell/octeontx - prevent integer overflowscdd42eb468
kbuild: rpm-pkg: fix breakage when V=1 is used6d1aef17e7
kbuild: remove the target in signal traps when interrupted8d76dd5080
tracing: kprobe: Make gen test module work in arm and riscvc6512a6f0c
tracing: kprobe: Fix kprobe event gen test module on exit9e6ba62d41
iommu/iova: Fix module config properly426d5bc089
crypto: qat - fix DMA transfer directiona43babc059
crypto: qat - use pre-allocated buffers in datapatha91af50850
crypto: qat - fix use of 'dma_map_single'8a4ed09ed8
crypto: inside-secure - Change swab to swab32d33935e666
crypto: ccp - Release dma channels before dmaengine unrgistera1354bdd19
crypto: akcipher - default implementation for setting a private key2fee0dbfae
iommu/omap: Fix buffer overflow in debugfscfde58a8e4
cgroup/cpuset: Enable update_tasks_cpumask() on top_cpusetab2485eb5d
hwrng: imx-rngc - Moving IRQ handler registering after imx_rngc_irq_mask_clear()d88b88514e
crypto: hisilicon/zip - fix mismatch in get/set sgl_sge_nr25f1342473
crypto: sahara - don't sleep when in softirq2d285164fb
powerpc: Fix SPE Power ISA properties for e500v1 platforms2bde4e1e4f
powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G57ae8bed908
x86/hyperv: Fix 'struct hv_enlightened_vmcs' definition6315998170
powerpc/powernv: add missing of_node_put() in opal_export_attrs()434db6d17b
powerpc/pci_dn: Add missing of_node_put()718e2d8023
powerpc/sysdev/fsl_msi: Add missing of_node_put()592d283a65
powerpc/math_emu/efp: Include module.h44c26ceffa
mailbox: bcm-ferxrm-mailbox: Fix error check for dma_map_sgb1616599c9
clk: ast2600: BCLK comes from EPLL6d01017247
clk: ti: dra7-atl: Fix reference leak in of_dra7_atl_clk_probe9b65fd6513
clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration9a6087a438
clk: baikal-t1: Add SATA internal ref clock buffer5f143f3bc2
clk: baikal-t1: Add shared xGMAC ref/ptp clocks internal parent823fd52391
clk: baikal-t1: Fix invalid xGMAC PTP clock divider2f19a1050e
clk: vc5: Fix 5P49V6901 outputs disabling when enabling FOD92f52770a7
spmi: pmic-arb: correct duplicate APID to PPID mapping logica01c0c1600
dmaengine: ioat: stop mod_timer from resurrecting deleted timer in __cleanup()1dd5148445
clk: mediatek: mt8183: mfgcfg: Propagate rate changes to parent6e58f2469e
mfd: sm501: Add check for platform_driver_register()3469dd8e22
mfd: fsl-imx25: Fix check for platform_get_irq() errorsb425e03c96
mfd: lp8788: Fix an error handling path in lp8788_irq_init() and lp8788_irq_init()f7b4388636
mfd: lp8788: Fix an error handling path in lp8788_probe()08d4051803
mfd: fsl-imx25: Fix an error handling path in mx25_tsadc_setup_irq()28868b940b
mfd: intel_soc_pmic: Fix an error handling path in intel_soc_pmic_i2c_probe()382a5fc49e
fsi: core: Check error number after calling ida_simple_geted8e6011b9
clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical884a788f06
scsi: iscsi: iscsi_tcp: Fix null-ptr-deref while calling getpeername()a9e5176ead
scsi: libsas: Fix use-after-free bug in smp_execute_task_sg()8f740c11d8
serial: 8250: Fix restoring termios speed after suspendab5a3e7144
firmware: google: Test spinlock on panic path to avoid lockups95ac62e854
staging: vt6655: fix some erroneous memory clean-up loops878f987166
phy: qualcomm: call clk_disable_unprepare in the error handling9a56ade124
tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown572fb97fce
serial: 8250: Toggle IER bits on only after irq has been set up3fbfa5e3cc
serial: 8250: Add an empty line and remove some useless {}71ffe5111f
drivers: serial: jsm: fix some leaks in probe7efdd91d54
usb: gadget: function: fix dangling pnp_string in f_printer.ccc952e3bf6
xhci: Don't show warning for reinit on known broken suspenddac769dd7d
IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers360386e11c
RDMA/cm: Use SLID in the work completion as the DLID in responder sidea1263294b5
md/raid5: Ensure stripe_fill happens on non-read IO with journal76694e9ce0
md: Replace snprintf with scnprintf7bd5f3b4a8
mtd: rawnand: meson: fix bit map use in meson_nfc_ecc_correct()f5325f3202
ata: fix ata_id_has_dipm()f5a6fa1877
ata: fix ata_id_has_ncq_autosense()3c34a91c8a
ata: fix ata_id_has_devslp()fc61a0c820
ata: fix ata_id_sense_reporting_enabled() and ata_id_has_sense_reporting()e3917c85f4
RDMA/siw: Always consume all skbuf data in sk_data_ready() upcall.3a9d7d8dcf
mtd: rawnand: fsl_elbc: Fix none ECC modef87f720811
mtd: devices: docg3: check the return value of devm_ioremap() in the probed06cc0e11d
dyndbg: drop EXPORTed dynamic_debug_exec_queries1d65985589
dyndbg: let query-modname override actual module namec0e206da44
dyndbg: fix module.dyndbg handling5047bd3bd7
dyndbg: fix static_branch manipulationaf12e209a9
dmaengine: hisilicon: Add multi-thread support for a DMA channeld3fd838536
dmaengine: hisilicon: Fix CQ head updated5065ca461
dmaengine: hisilicon: Disable channels when unregister hisi_dmaf59861946f
fpga: prevent integer overflow in dfl_feature_ioctl_set_irq()7ba19a60c7
misc: ocxl: fix possible refcount leak in afu_ioctl()cf3bb86edd
RDMA/rxe: Fix the error caused by qp->skcdce36a88d
RDMA/rxe: Fix "kernel NULL pointer dereference" error2630cc8832
media: xilinx: vipp: Fix refcount leak in xvip_graph_dma_init40aa0999a3
media: meson: vdec: add missing clk_disable_unprepare on error in vdec_hevc_start()551b87976a
tty: xilinx_uartps: Fix the ignore_status28cdf6c6fb
media: exynos4-is: fimc-is: Add of_node_put() when breaking out of loop1f683bff1a
HSI: omap_ssi_port: Fix dma_map_sg error check962f22e7f7
HSI: omap_ssi: Fix refcount leak in ssi_probe70f0a0a27d
clk: tegra20: Fix refcount leak in tegra20_clock_initc01bfd23cc
clk: tegra: Fix refcount leak in tegra114_clock_initf487137a53
clk: tegra: Fix refcount leak in tegra210_clock_init59e90c4d98
clk: sprd: Hold reference returned by of_get_parent()57141b1dd6
clk: berlin: Add of_node_put() for of_get_parent()dc190b46c6
clk: qoriq: Hold reference returned by of_get_parent()baadc6f58f
clk: oxnas: Hold reference returned by of_get_parent()b95f4f9054
clk: meson: Hold reference returned by of_get_parent()beec2f0255
usb: common: debug: Check non-standard control requests9d965a22f6
usb: common: move function's kerneldoc next to its definition20b63631a3
usb: common: add function to get interval expressed in us unitc1ef8c66a3
usb: common: Parse for USB SSP genXxYffffb159e1
usb: ch9: Add USB 3.2 SSP attributesaa7aada4b7
iio: ABI: Fix wrong format of differential capacitance channel ABI.b9a0526cd0
iio: inkern: only release the device node when done with it44ec4b04fc
iio: adc: at91-sama5d2_adc: disable/prepare buffer on suspend/resume513c72d76d
iio: adc: at91-sama5d2_adc: lock around oversampling and sample freqd259b90f0c
iio: adc: at91-sama5d2_adc: check return status for pressure and touchbc2b97e177
iio: adc: at91-sama5d2_adc: fix AT91_SAMA5D2_MR_TRACKTIM_MAX5b9bb0cbd9
ARM: dts: exynos: fix polarity of VBUS GPIO of Origen657de36c72
arm64: ftrace: fix module PLTs with mcount40e966a404
ARM: Drop CMDLINE_* dependency on ATAGS477dbf9d1b
ARM: dts: exynos: correct s5k6a3 reset polarity on Midas family5bbd3dd7f9
soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA09c35f1520
ia64: export memory_add_physaddr_to_nid to fix cxl build errore31c0e14cf
ARM: dts: kirkwood: lsxl: remove first ethernet portdf4f05b356
ARM: dts: kirkwood: lsxl: fix serial line43faaedf3a
ARM: dts: turris-omnia: Fix mpp26 pin name and commentd5c2051898
soc: qcom: smem_state: Add refcounting for the 'state->of_node'39781c98ad
soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe()1d312c12c9
memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()daaec4b3fe
memory: of: Fix refcount leak bug in of_get_ddr_timings()fde46754d5
memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()2c442b0c06
ALSA: hda/hdmi: Don't skip notification handling during PM operationf182de42d7
ASoC: mt6660: Fix PM disable depth imbalance in mt6660_i2c_probe37e3e01c9a
ASoC: wm5102: Fix PM disable depth imbalance in wm5102_probefb23569699
ASoC: wm5110: Fix PM disable depth imbalance in wm5110_probec1b269dda1
ASoC: wm8997: Fix PM disable depth imbalance in wm8997_probe71704c2e1b
mmc: wmt-sdmmc: Fix an error handling path in wmt_mci_probe()c940636d9c
ALSA: dmaengine: increment buffer pointer atomically4993c1511d
ASoC: da7219: Fix an error handling path in da7219_register_dai_clks()ef59819976
drm/msm/dp: correct 1.62G link rate at dp_catalog_ctrl_config_msa()598d8f7d86
drm/msm/dpu: index dpu_kms->hw_vbif using vbif_idxa9a60d6405
ASoC: eureka-tlv320: Hold reference returned from of_find_xxx APIad0b8ed172
mmc: au1xmmc: Fix an error handling path in au1xmmc_probe()1f340e1c1c
drm/omap: dss: Fix refcount leak bugscbe37857dd
ALSA: hda: beep: Simplify keep-power-at-enable behaviorf0fb0817eb
ASoC: rsnd: Add check for rsnd_mod_power_on877e92e9b1
drm/bridge: megachips: Fix a null pointer dereference bugc577b4e972
drm: fix drm_mipi_dbi build errors804d8e59f3
platform/x86: msi-laptop: Fix resource cleanupc21c08fab7
platform/x86: msi-laptop: Fix old-ec check for backlight registeringb77755f58e
ASoC: tas2764: Fix mute/unmute2e6b64df54
ASoC: tas2764: Drop conflicting set_bias_level power settingc2c6022e10
ASoC: tas2764: Allow mono streams868fc93b61
platform/chrome: fix memory corruption in ioctl84da5cdf43
platform/chrome: fix double-free in chromeos_laptop_prepare()5e25bfcd12
drm:pl111: Add of_node_put() when breaking out of for_each_available_child_of_node()ad06d6bed5
drm/dp_mst: fix drm_dp_dpcd_read return value checks3f5889fd65
drm/bridge: parade-ps8640: Fix regulator supply order45120fa5e5
drm/mipi-dsi: Detach devices when removing the host050b650507
drm/bridge: Avoid uninitialized variable warning7839f2b349
drm: bridge: adv7511: fix CEC power down control register offset29f50bcf0f
net: mvpp2: fix mvpp2 debugfs leak6cb54f2162
once: add DO_ONCE_SLOW() for sleepable contexts67cb80a9d2
net/ieee802154: reject zero-sized raw_sendmsg()6cc0e2afc6
bnx2x: fix potential memory leak in bnx2x_tpa_stop()da349221c4
net: rds: don't hold sock lock when cancelling work from rds_tcp_reset_callbacks()d9e25dc053
spi: Ensure that sg_table won't be used after being freed96a3ddb870
tcp: fix tcp_cwnd_validate() to not forget is_cwnd_limitedf65955340e
sctp: handle the error returned from sctp_auth_asoc_init_active_key2a1d036320
mISDN: fix use-after-free bugs in l1oip timer handlersb4a5905fd2
vhost/vsock: Use kvmalloc/kvfree for larger packets.d2b5dc3a53
wifi: rtl8xxxu: Fix AIFS written to REG_EDCA_*_PARAM17196f2f98
spi: s3c64xx: Fix large transfers with DMAb284e1fe15
netfilter: nft_fib: Fix for rpath check with VRF devicesb384e8fb16
Bluetooth: hci_core: Fix not handling link timeouts propertly129f01116b
i2c: mlxbf: support lock mechanism534909fe3c
spi/omap100k:Fix PM disable depth imbalance in omap1_spi100k_probe9da61e7b59
spi: dw: Fix PM disable depth imbalance in dw_spi_bt1_probe1ef5798638
x86/cpu: Include the header of init_ia32_feat_ctl()'s prototype6ed7b05a35
x86/microcode/AMD: Track patch allocation size explicitly07299e52e5
wifi: ath11k: fix number of VHT beamformee spatial streamsd7cc0d51ff
Bluetooth: hci_{ldisc,serdev}: check percpu_init_rwsem() failureed403bcd97
bpf: Ensure correct locking around vulnerable function find_vpid()2a1c29dc9b
net: fs_enet: Fix wrong check in do_pd_setup795954d751
wifi: rtl8xxxu: Remove copy-paste leftover in gen2_update_rate_mask226e6f2412
wifi: rtl8xxxu: gen2: Fix mistake in path B IQ calibration0a60ac7a0d
bpf: btf: fix truncated last_member_type_id in btf_struct_resolve8398a45d3d
spi: meson-spicc: do not rely on busy flag in pow2 clk ops351cf55595
wifi: rtl8xxxu: Fix skb misuse in TX queue selection1e91179057
spi: qup: add missing clk_disable_unprepare on error in spi_qup_pm_resume_runtime()7b83d11d48
spi: qup: add missing clk_disable_unprepare on error in spi_qup_resume()5576008305
selftests/xsk: Avoid use-after-free on ctxc823df0679
wifi: rtl8xxxu: tighten bounds checking in rtl8xxxu_read_efuse()ea1b6b5409
Bluetooth: btusb: mediatek: fix WMT failure during runtime suspend07194ccbb1
Bluetooth: btusb: fix excessive stack usagecdadf95435
Bluetooth: btusb: Fine-tune mt7663 mechanism.294395caac
x86/resctrl: Fix to restore to original value when re-enabling hardware prefetch register029a1de92c
spi: mt7621: Fix an error message in mt7621_spi_probe()2afb93e4e4
bpftool: Fix a wrong type cast in btf_dumper_int61905bbb61
wifi: mac80211: allow bw change during channel switch in mesh7565207066
leds: lm3601x: Don't use mutex after it was destroyed08faf07717
wifi: ath10k: add peer map clean up for peer delete in ath10k_sta_state()e060c4b9f3
nfsd: Fix a memory leak in an error handling path730191a098
objtool: Preserve special st_shndx indexes in elf_update_symbol84837738d4
ARM: 9247/1: mm: set readonly for MT_MEMORY_RO with ARM_LPAEf1d6edeaa8
ARM: 9244/1: dump: Fix wrong pg_level in walk_pmd()da2aecef86
MIPS: SGI-IP27: Fix platform-device leak in bridge_platform_create()0c667858c0
MIPS: SGI-IP27: Free some unused memory3598445698
sh: machvec: Use char[] for section boundaries6e4be747f1
userfaultfd: open userfaultfds with O_RDONLY28d9b39733
selinux: use "grep -E" instead of "egrep"d11e09953c
smb3: must initialize two ACL struct fields to zeroabd13b2100
drm/i915: Fix watermark calculations for gen12+ MC CCS modifierfd37286f39
drm/i915: Fix watermark calculations for gen12+ RC CCS modifier5d6093c49c
drm/nouveau: fix a use-after-free in nouveau_gem_prime_import_sg_table()57f1a89a8e
drm/nouveau/kms/nv140-: Disable interlacingd0febad83e
staging: greybus: audio_helper: remove unused and wrong debugfs usageceeb8d4a43
KVM: VMX: Drop bits 31:16 when shoving exception error code into VMCS83fe0b009b
KVM: nVMX: Unconditionally purge queued/injected events on nested "exit"085ca1d33b
KVM: x86/emulator: Fix handing of POP SS to correctly set interruptibilitybda8120e5b
media: cedrus: Set the platform driver data earlierdbdd3b1448
efi: libstub: drop pointless get_memory_map() call68158654b5
thunderbolt: Explicitly enable lane adapter hotplug events at startupfc08f84381
tracing: Disable interrupt or preemption before acquiring arch_spinlock_t0cf6c09daf
ring-buffer: Fix race between reset page and reading page588f02f8b9
ring-buffer: Add ring_buffer_wake_waiters()586f02c500
ring-buffer: Check pending waiters when doing wake ups as well6617e5132c
ring-buffer: Have the shortest_full queue be the shortest not longest4a3bbd40e4
ring-buffer: Allow splice to read previous partially read pagesf2ca4609d0
ftrace: Properly unset FTRACE_HASH_FL_MOD846f041203
livepatch: fix race between fork and KLP transition2189756eab
ext4: update 'state->fc_regions_size' after successful memory allocation2cfb769d60
ext4: fix potential memory leak in ext4_fc_record_regions()c9ce7766dc
ext4: fix potential memory leak in ext4_fc_record_modified_inode()d575fb52c4
ext4: fix miss release buffer head in ext4_fc_write_inode74d2a398d2
ext4: place buffer head allocation before handle startfbb0e601bd
ext4: ext4_read_bh_lock() should submit IO if the buffer isn't uptodate0e1764ad71
ext4: don't increase iversion counter for ea_inodes483831ad04
ext4: fix check for block being out of directory sizeac66db1a43
ext4: make ext4_lazyinit_thread freezablef34ab95162
ext4: fix null-ptr-deref in ext4_write_infofb98cb61ef
ext4: avoid crash when inline data creation follows DIO writee65506ff18
jbd2: add miss release buffer head in fc_do_one_pass()1d4d16daec
jbd2: fix potential use-after-free in jbd2_fc_wait_bufs7a33dde572
jbd2: fix potential buffer head reference count leakeea3e455a3
jbd2: wake up journal waiters in FIFO order, not LIFOba52e685d2
hardening: Remove Clang's enable flag for -ftrivial-auto-var-init=zerobdcb1d7cf2
hardening: Avoid harmless Clang option under CONFIG_INIT_STACK_ALL_ZEROd621a87064
hardening: Clarify Kconfig text for auto-var-init4a8e8bf280
f2fs: fix to do sanity check on summary info73fb4bd2c0
f2fs: fix to do sanity check on destination blkaddr during recovery12014eaf1b
f2fs: increase the limit for reserve_root47b5ffe863
btrfs: fix race between quota enable and quota rescan ioctle504729496
fbdev: smscufx: Fix use-after-free in ufx_ops_open()9931bd05bb
scsi: qedf: Populate sysfs attributes for vport102c4b6e8c
powerpc/boot: Explicitly disable usage of SPE instructions7db60fd46e
powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain9119a92ad9
PCI: Sanitise firmware BAR assignments behind a PCI-PCI bridgea3c08c0217
mm/mmap: undo ->mmap() when arch_validate_flags() fails7d551b7d61
block: fix inflight statistics of part00a12979089
drm/udl: Restore display mode on resumef134f261d7
drm/virtio: Check whether transferred 2D BO is shmem303436e301
nvme-pci: set min_align_mask before calculating max_hw_sectors6a73e6edcb
UM: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK1a053f597f
riscv: Pass -mno-relax only on lld < 15.0.0d15dca1d46
riscv: Make VM_WRITE imply VM_READd8c6f9b2e1
riscv: Allow PROT_WRITE-only mmap()a6dcc6cfa2
parisc: fbdev/stifb: Align graphics memory size to 4MB2ce9fab94b
RISC-V: Make port I/O string accessors actually workffb571e123
regulator: qcom_rpm: Fix circular deferral regression85909424a1
hwmon: (gsc-hwmon) Call of_node_get() before of_find_xxx API8ef0e1c0ae
ASoC: wcd934x: fix order of Slimbus unprepare/disable9b2c82af65
ASoC: wcd9335: fix order of Slimbus unprepare/disable1c20d672e3
platform/chrome: cros_ec_proto: Update version on GET_NEXT_EVENT failure6b7ae4a904
quota: Check next/prev free block number after reading from quota file5b1a56beb6
HID: multitouch: Add memory barriersbfe60d7641
fs: dlm: handle -EBUSY first in lock arg validation0b2d8e4db4
fs: dlm: fix race between test_bit() and queue_work()057d5838c7
mmc: sdhci-sprd: Fix minimum clock limit448fffc1ae
can: kvaser_usb_leaf: Fix CAN state after restarta3776e09b3
can: kvaser_usb_leaf: Fix TX queue out of sync after restart0f8c88978d
can: kvaser_usb_leaf: Fix overread with an invalid command5d1cb7bfad
can: kvaser_usb: Fix use of uninitialized completionb239a0993a
usb: add quirks for Lenovo OneLink+ Dockafbbf305db
iio: pressure: dps310: Reset chip after timeout9daadd1d10
iio: pressure: dps310: Refactor startup procedureae49d80400
iio: adc: ad7923: fix channel readings for some variantsea4dcd3d6a
iio: ltc2497: Fix reading conversion results30e1bd0d3e
iio: dac: ad5593r: Fix i2c read protocol requirements9312e04b6c
cifs: Fix the error length of VALIDATE_NEGOTIATE_INFO message64f23e5430
cifs: destage dirty pages before re-reading them for cache=none50d3d89537
mtd: rawnand: atmel: Unmap streaming DMA mappingse8eb44eeee
ALSA: hda/realtek: Add Intel Reference SSID to support headset keys4491fbd0a7
ALSA: hda/realtek: Add quirk for ASUS GV601R laptop4285d06d12
ALSA: hda/realtek: Correct pin configs for ASUS G533Z768cd2cd1a
ALSA: hda/realtek: remove ALC289_FIXUP_DUAL_SPK for Dell 55303e29645fba
ALSA: usb-audio: Fix NULL dererence at error pathbc1d16d282
ALSA: usb-audio: Fix potential memory leaksef1658bc48
ALSA: rawmidi: Drop register_mutex in snd_rawmidi_free()026fcb6336
ALSA: oss: Fix potential deadlock at unregistration Also update the .xml file to handle the few ABI changes in this merge that required an update due to private pointers changing types and ABI padding structures being used to preserve the ABI: Leaf changes summary: 4 artifacts changed (1 filtered out) Changed leaf types summary: 4 (1 filtered out) leaf types changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 'struct fscrypt_info at fscrypt_private.h:195:1' changed: type size hasn't changed there are data member changes: type 'key*' of 'fscrypt_info::ci_master_key' changed: pointer type changed from: 'key*' to: 'fscrypt_master_key*' 5197 impacted interfaces 'struct sk_buff at skbuff.h:717:1' changed: type size hasn't changed there are data member changes: data member u64 android_kabi_reserved1 at offset 1472 (in bits) became anonymous data member 'union {struct {__u8 scm_io_uring; __u8 android_kabi_reserved1_padding1; __u16 android_kabi_reserved1_padding2; __u32 android_kabi_reserved1_padding3;}; struct {u64 android_kabi_reserved1;}; union {};}' 5197 impacted interfaces 'struct super_block at fs.h:1450:1' changed: type size hasn't changed there are data member changes: type 'key*' of 'super_block::s_master_keys' changed: pointer type changed from: 'key*' to: 'fscrypt_keyring*' 5197 impacted interfaces 'struct tcp_sock at tcp.h:146:1' changed: type size hasn't changed one impacted interface Change-Id: I6f2a7b91e1df96bede8aafa944a04b3e08ed33a1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
commit
d0782c9411
@ -142,7 +142,7 @@ Description:
|
||||
Raw capacitance measurement from channel Y. Units after
|
||||
application of scale and offset are nanofarads.
|
||||
|
||||
What: /sys/.../iio:deviceX/in_capacitanceY-in_capacitanceZ_raw
|
||||
What: /sys/.../iio:deviceX/in_capacitanceY-capacitanceZ_raw
|
||||
KernelVersion: 3.2
|
||||
Contact: linux-iio@vger.kernel.org
|
||||
Description:
|
||||
|
@ -76,10 +76,14 @@ stable kernels.
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A57 | #1319537 | ARM64_ERRATUM_1319367 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A57 | #1742098 | ARM64_ERRATUM_1742098 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A72 | #853709 | N/A |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A72 | #1319367 | ARM64_ERRATUM_1319367 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A72 | #1655431 | ARM64_ERRATUM_1742098 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A73 | #858921 | ARM64_ERRATUM_858921 |
|
||||
+----------------+-----------------+-----------------+-----------------------------+
|
||||
| ARM | Cortex-A76 | #1188873,1418040| ARM64_ERRATUM_1418040 |
|
||||
|
@ -51,7 +51,7 @@ the Technical Advisory Board (TAB) or other maintainers if you're
|
||||
uncertain how to handle situations that come up. It will not be
|
||||
considered a violation report unless you want it to be. If you are
|
||||
uncertain about approaching the TAB or any other maintainers, please
|
||||
reach out to our conflict mediator, Joanna Lee <joanna.lee@gesmer.com>.
|
||||
reach out to our conflict mediator, Joanna Lee <jlee@linuxfoundation.org>.
|
||||
|
||||
In the end, "be kind to each other" is really what the end goal is for
|
||||
everybody. We know everyone is human and we all fail at times, but the
|
||||
|
@ -39,7 +39,7 @@ Documentation written by Tom Zanussi
|
||||
will use the event's kernel stacktrace as the key. The keywords
|
||||
'keys' or 'key' can be used to specify keys, and the keywords
|
||||
'values', 'vals', or 'val' can be used to specify values. Compound
|
||||
keys consisting of up to two fields can be specified by the 'keys'
|
||||
keys consisting of up to three fields can be specified by the 'keys'
|
||||
keyword. Hashing a compound key produces a unique entry in the
|
||||
table for each unique combination of component keys, and can be
|
||||
useful for providing more fine-grained summaries of event data.
|
||||
|
@ -215,6 +215,7 @@ KVM_S390_VM_TOD_EXT).
|
||||
:Parameters: address of a buffer in user space to store the data (u8) to
|
||||
:Returns: -EFAULT if the given address is not accessible from kernel space;
|
||||
-EINVAL if setting the TOD clock extension to != 0 is not supported
|
||||
-EOPNOTSUPP for a PV guest (TOD managed by the ultravisor)
|
||||
|
||||
3.2. ATTRIBUTE: KVM_S390_VM_TOD_LOW
|
||||
-----------------------------------
|
||||
@ -224,6 +225,7 @@ the POP (u64).
|
||||
|
||||
:Parameters: address of a buffer in user space to store the data (u64) to
|
||||
:Returns: -EFAULT if the given address is not accessible from kernel space
|
||||
-EOPNOTSUPP for a PV guest (TOD managed by the ultravisor)
|
||||
|
||||
3.3. ATTRIBUTE: KVM_S390_VM_TOD_EXT
|
||||
-----------------------------------
|
||||
@ -237,6 +239,7 @@ it, it is stored as 0 and not allowed to be set to a value != 0.
|
||||
(kvm_s390_vm_tod_clock) to
|
||||
:Returns: -EFAULT if the given address is not accessible from kernel space;
|
||||
-EINVAL if setting the TOD clock extension to != 0 is not supported
|
||||
-EOPNOTSUPP for a PV guest (TOD managed by the ultravisor)
|
||||
|
||||
4. GROUP: KVM_S390_VM_CRYPTO
|
||||
============================
|
||||
|
15
Makefile
15
Makefile
@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
VERSION = 5
|
||||
PATCHLEVEL = 10
|
||||
SUBLEVEL = 149
|
||||
SUBLEVEL = 160
|
||||
EXTRAVERSION =
|
||||
NAME = Dare mighty things
|
||||
|
||||
@ -480,6 +480,8 @@ LZ4 = lz4
|
||||
XZ = xz
|
||||
ZSTD = zstd
|
||||
|
||||
PAHOLE_FLAGS = $(shell PAHOLE=$(PAHOLE) $(srctree)/scripts/pahole-flags.sh)
|
||||
|
||||
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
|
||||
-Wbitwise -Wno-return-void -Wno-unknown-attribute $(CF)
|
||||
NOSTDINC_FLAGS :=
|
||||
@ -534,6 +536,7 @@ export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
|
||||
export KBUILD_AFLAGS AFLAGS_KERNEL AFLAGS_MODULE
|
||||
export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE KBUILD_LDFLAGS_MODULE
|
||||
export KBUILD_AFLAGS_KERNEL KBUILD_CFLAGS_KERNEL
|
||||
export PAHOLE_FLAGS
|
||||
|
||||
# Files to ignore in find ... statements
|
||||
|
||||
@ -837,12 +840,12 @@ endif
|
||||
|
||||
# Initialize all stack variables with a zero value.
|
||||
ifdef CONFIG_INIT_STACK_ALL_ZERO
|
||||
# Future support for zero initialization is still being debated, see
|
||||
# https://bugs.llvm.org/show_bug.cgi?id=45497. These flags are subject to being
|
||||
# renamed or dropped.
|
||||
KBUILD_CFLAGS += -ftrivial-auto-var-init=zero
|
||||
ifdef CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_ENABLER
|
||||
# https://github.com/llvm/llvm-project/issues/44842
|
||||
KBUILD_CFLAGS += -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang
|
||||
endif
|
||||
endif
|
||||
|
||||
DEBUG_CFLAGS :=
|
||||
|
||||
@ -860,7 +863,9 @@ else
|
||||
DEBUG_CFLAGS += -g
|
||||
endif
|
||||
|
||||
ifneq ($(LLVM_IAS),1)
|
||||
ifeq ($(LLVM_IAS),1)
|
||||
KBUILD_AFLAGS += -g
|
||||
else
|
||||
KBUILD_AFLAGS += -Wa,-gdwarf-2
|
||||
endif
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -80,7 +80,12 @@ init_rtc_epoch(void)
|
||||
static int
|
||||
alpha_rtc_read_time(struct device *dev, struct rtc_time *tm)
|
||||
{
|
||||
mc146818_get_time(tm);
|
||||
int ret = mc146818_get_time(tm);
|
||||
|
||||
if (ret < 0) {
|
||||
dev_err_ratelimited(dev, "unable to read current time\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Adjust for non-default epochs. It's easier to depend on the
|
||||
generic __get_rtc_time and adjust the epoch here than create
|
||||
|
@ -32,7 +32,7 @@ static inline void ioport_unmap(void __iomem *addr)
|
||||
{
|
||||
}
|
||||
|
||||
extern void iounmap(const void __iomem *addr);
|
||||
extern void iounmap(const volatile void __iomem *addr);
|
||||
|
||||
/*
|
||||
* io{read,write}{16,32}be() macros
|
||||
|
@ -93,7 +93,7 @@ void __iomem *ioremap_prot(phys_addr_t paddr, unsigned long size,
|
||||
EXPORT_SYMBOL(ioremap_prot);
|
||||
|
||||
|
||||
void iounmap(const void __iomem *addr)
|
||||
void iounmap(const volatile void __iomem *addr)
|
||||
{
|
||||
/* weird double cast to handle phys_addr_t > 32 bits */
|
||||
if (arc_uncached_addr_space((phys_addr_t)(u32)addr))
|
||||
|
@ -1792,7 +1792,6 @@ config CMDLINE
|
||||
choice
|
||||
prompt "Kernel command line type" if CMDLINE != ""
|
||||
default CMDLINE_FROM_BOOTLOADER
|
||||
depends on ATAGS
|
||||
|
||||
config CMDLINE_FROM_BOOTLOADER
|
||||
bool "Use bootloader kernel arguments if available"
|
||||
|
@ -12,22 +12,20 @@ / {
|
||||
compatible = "phytec,am335x-pcm-953", "phytec,am335x-phycore-som", "ti,am33xx";
|
||||
|
||||
/* Power */
|
||||
regulators {
|
||||
vcc3v3: fixedregulator@1 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc3v3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
vcc3v3: fixedregulator1 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc3v3";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
vcc1v8: fixedregulator@2 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc1v8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
vcc1v8: fixedregulator2 {
|
||||
compatible = "regulator-fixed";
|
||||
regulator-name = "vcc1v8";
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-boot-on;
|
||||
};
|
||||
|
||||
/* User IO */
|
||||
|
@ -307,7 +307,7 @@ spi0cs0_pins: spi0cs0-pins {
|
||||
marvell,function = "spi0";
|
||||
};
|
||||
|
||||
spi0cs1_pins: spi0cs1-pins {
|
||||
spi0cs2_pins: spi0cs2-pins {
|
||||
marvell,pins = "mpp26";
|
||||
marvell,function = "spi0";
|
||||
};
|
||||
@ -342,7 +342,7 @@ partition@100000 {
|
||||
};
|
||||
};
|
||||
|
||||
/* MISO, MOSI, SCLK and CS1 are routed to pin header CN11 */
|
||||
/* MISO, MOSI, SCLK and CS2 are routed to pin header CN11 */
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
|
@ -660,7 +660,7 @@ usb1: gadget@fffb0000 {
|
||||
compatible = "atmel,at91rm9200-udc";
|
||||
reg = <0xfffb0000 0x4000>;
|
||||
interrupts = <11 IRQ_TYPE_LEVEL_HIGH 2>;
|
||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>, <&pmc PMC_TYPE_SYSTEM 2>;
|
||||
clocks = <&pmc PMC_TYPE_PERIPHERAL 11>, <&pmc PMC_TYPE_SYSTEM 1>;
|
||||
clock-names = "pclk", "hclk";
|
||||
status = "disabled";
|
||||
};
|
||||
|
@ -39,6 +39,13 @@ pinctrl_pck0_as_mck: pck0_as_mck {
|
||||
|
||||
};
|
||||
|
||||
usb1 {
|
||||
pinctrl_usb1_vbus_gpio: usb1_vbus_gpio {
|
||||
atmel,pins =
|
||||
<AT91_PIOC 5 AT91_PERIPH_GPIO AT91_PINCTRL_DEGLITCH>; /* PC5 GPIO */
|
||||
};
|
||||
};
|
||||
|
||||
mmc0_slot1 {
|
||||
pinctrl_board_mmc0_slot1: mmc0_slot1-board {
|
||||
atmel,pins =
|
||||
@ -84,6 +91,8 @@ macb0: ethernet@fffc4000 {
|
||||
};
|
||||
|
||||
usb1: gadget@fffa4000 {
|
||||
pinctrl-0 = <&pinctrl_usb1_vbus_gpio>;
|
||||
pinctrl-names = "default";
|
||||
atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
};
|
||||
|
@ -588,7 +588,7 @@ s5k6a3@10 {
|
||||
clocks = <&camera 1>;
|
||||
clock-names = "extclk";
|
||||
samsung,camclk-out = <1>;
|
||||
gpios = <&gpm1 6 GPIO_ACTIVE_HIGH>;
|
||||
gpios = <&gpm1 6 GPIO_ACTIVE_LOW>;
|
||||
|
||||
port {
|
||||
is_s5k6a3_ep: endpoint {
|
||||
|
@ -95,7 +95,7 @@ &exynos_usbphy {
|
||||
};
|
||||
|
||||
&ehci {
|
||||
samsung,vbus-gpio = <&gpx3 5 1>;
|
||||
samsung,vbus-gpio = <&gpx3 5 GPIO_ACTIVE_HIGH>;
|
||||
status = "okay";
|
||||
phys = <&exynos_usbphy 2>, <&exynos_usbphy 3>;
|
||||
phy-names = "hsic0", "hsic1";
|
||||
|
@ -84,6 +84,9 @@ soc {
|
||||
ocram: sram@900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00900000 0x20000>;
|
||||
ranges = <0 0x00900000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6QDL_CLK_OCRAM>;
|
||||
};
|
||||
|
||||
|
@ -364,8 +364,8 @@ wifi {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_wifi>;
|
||||
interrupts-extended = <&gpio1 30 IRQ_TYPE_LEVEL_HIGH>;
|
||||
ref-clock-frequency = "38400000";
|
||||
tcxo-clock-frequency = "19200000";
|
||||
ref-clock-frequency = <38400000>;
|
||||
tcxo-clock-frequency = <19200000>;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -163,6 +163,9 @@ soc {
|
||||
ocram: sram@900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00900000 0x40000>;
|
||||
ranges = <0 0x00900000 0x40000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6QDL_CLK_OCRAM>;
|
||||
};
|
||||
|
||||
|
@ -31,7 +31,7 @@ gpio-keys {
|
||||
|
||||
user-pb {
|
||||
label = "user_pb";
|
||||
gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
|
||||
|
@ -28,7 +28,7 @@ gpio-keys {
|
||||
|
||||
user-pb {
|
||||
label = "user_pb";
|
||||
gpios = <&gsc_gpio 0 GPIO_ACTIVE_LOW>;
|
||||
gpios = <&gsc_gpio 2 GPIO_ACTIVE_LOW>;
|
||||
linux,code = <BTN_0>;
|
||||
};
|
||||
|
||||
|
@ -9,12 +9,18 @@ soc {
|
||||
ocram2: sram@940000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00940000 0x20000>;
|
||||
ranges = <0 0x00940000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6QDL_CLK_OCRAM>;
|
||||
};
|
||||
|
||||
ocram3: sram@960000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00960000 0x20000>;
|
||||
ranges = <0 0x00960000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6QDL_CLK_OCRAM>;
|
||||
};
|
||||
|
||||
|
@ -114,6 +114,9 @@ soc {
|
||||
ocram: sram@900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00900000 0x20000>;
|
||||
ranges = <0 0x00900000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6SL_CLK_OCRAM>;
|
||||
};
|
||||
|
||||
|
@ -115,6 +115,9 @@ soc {
|
||||
ocram: sram@900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00900000 0x20000>;
|
||||
ranges = <0 0x00900000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
};
|
||||
|
||||
intc: interrupt-controller@a01000 {
|
||||
|
@ -161,12 +161,18 @@ soc {
|
||||
ocram_s: sram@8f8000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x008f8000 0x4000>;
|
||||
ranges = <0 0x008f8000 0x4000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6SX_CLK_OCRAM_S>;
|
||||
};
|
||||
|
||||
ocram: sram@900000 {
|
||||
compatible = "mmio-sram";
|
||||
reg = <0x00900000 0x20000>;
|
||||
ranges = <0 0x00900000 0x20000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clks IMX6SX_CLK_OCRAM>;
|
||||
};
|
||||
|
||||
|
@ -199,12 +199,7 @@ tsc2046@0 {
|
||||
interrupt-parent = <&gpio2>;
|
||||
interrupts = <29 0>;
|
||||
pendown-gpio = <&gpio2 29 GPIO_ACTIVE_HIGH>;
|
||||
ti,x-min = /bits/ 16 <0>;
|
||||
ti,x-max = /bits/ 16 <0>;
|
||||
ti,y-min = /bits/ 16 <0>;
|
||||
ti,y-max = /bits/ 16 <0>;
|
||||
ti,pressure-max = /bits/ 16 <0>;
|
||||
ti,x-plate-ohms = /bits/ 16 <400>;
|
||||
touchscreen-max-pressure = <255>;
|
||||
wakeup-source;
|
||||
};
|
||||
};
|
||||
|
@ -10,6 +10,11 @@ chosen {
|
||||
|
||||
ocp@f1000000 {
|
||||
pinctrl: pin-controller@10000 {
|
||||
/* Non-default UART pins */
|
||||
pmx_uart0: pmx-uart0 {
|
||||
marvell,pins = "mpp4", "mpp5";
|
||||
};
|
||||
|
||||
pmx_power_hdd: pmx-power-hdd {
|
||||
marvell,pins = "mpp10";
|
||||
marvell,function = "gpo";
|
||||
@ -213,22 +218,11 @@ hdd_power: regulator@2 {
|
||||
&mdio {
|
||||
status = "okay";
|
||||
|
||||
ethphy0: ethernet-phy@0 {
|
||||
reg = <0>;
|
||||
};
|
||||
|
||||
ethphy1: ethernet-phy@8 {
|
||||
reg = <8>;
|
||||
};
|
||||
};
|
||||
|
||||
ð0 {
|
||||
status = "okay";
|
||||
ethernet0-port@0 {
|
||||
phy-handle = <ðphy0>;
|
||||
};
|
||||
};
|
||||
|
||||
ð1 {
|
||||
status = "okay";
|
||||
ethernet1-port@0 {
|
||||
|
@ -31,7 +31,7 @@ phy0: ethernet-phy@0 {
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
|
||||
hym8563: hym8563@51 {
|
||||
hym8563: rtc@51 {
|
||||
compatible = "haoyu,hym8563";
|
||||
reg = <0x51>;
|
||||
#clock-cells = <0>;
|
||||
|
@ -67,7 +67,7 @@ spdif_out: spdif-out {
|
||||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
ir_recv: gpio-ir-receiver {
|
||||
ir_recv: ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio0 RK_PB2 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -402,7 +402,7 @@ lcdc1_vsync: lcdc1-vsync {
|
||||
rockchip,pins = <2 RK_PD3 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
lcdc1_rgb24: ldcd1-rgb24 {
|
||||
lcdc1_rgb24: lcdc1-rgb24 {
|
||||
rockchip,pins = <2 RK_PA0 1 &pcfg_pull_none>,
|
||||
<2 RK_PA1 1 &pcfg_pull_none>,
|
||||
<2 RK_PA2 1 &pcfg_pull_none>,
|
||||
@ -630,7 +630,6 @@ &emac {
|
||||
|
||||
&global_timer {
|
||||
interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&local_timer {
|
||||
|
@ -54,7 +54,7 @@ vdd_gpu: syr828@41 {
|
||||
vin-supply = <&vcc_sys>;
|
||||
};
|
||||
|
||||
hym8563@51 {
|
||||
rtc@51 {
|
||||
compatible = "haoyu,hym8563";
|
||||
reg = <0x51>;
|
||||
|
||||
|
@ -233,7 +233,7 @@ vdd_gpu: syr828@41 {
|
||||
vin-supply = <&vcc_sys>;
|
||||
};
|
||||
|
||||
hym8563: hym8563@51 {
|
||||
hym8563: rtc@51 {
|
||||
compatible = "haoyu,hym8563";
|
||||
reg = <0x51>;
|
||||
#clock-cells = <0>;
|
||||
|
@ -157,7 +157,7 @@ vdd_gpu: syr828@41 {
|
||||
vin-supply = <&vcc_sys>;
|
||||
};
|
||||
|
||||
hym8563: hym8563@51 {
|
||||
hym8563: rtc@51 {
|
||||
compatible = "haoyu,hym8563";
|
||||
reg = <0x51>;
|
||||
#clock-cells = <0>;
|
||||
|
@ -165,7 +165,7 @@ &hdmi {
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
hym8563: hym8563@51 {
|
||||
hym8563: rtc@51 {
|
||||
compatible = "haoyu,hym8563";
|
||||
reg = <0x51>;
|
||||
#clock-cells = <0>;
|
||||
|
@ -111,6 +111,13 @@ global_timer: global-timer@1013c200 {
|
||||
reg = <0x1013c200 0x20>;
|
||||
interrupts = <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
|
||||
clocks = <&cru CORE_PERI>;
|
||||
status = "disabled";
|
||||
/* The clock source and the sched_clock provided by the arm_global_timer
|
||||
* on Rockchip rk3066a/rk3188 are quite unstable because their rates
|
||||
* depend on the CPU frequency.
|
||||
* Keep the arm_global_timer disabled in order to have the
|
||||
* DW_APB_TIMER (rk3066a) or ROCKCHIP_TIMER (rk3188) selected by default.
|
||||
*/
|
||||
};
|
||||
|
||||
local_timer: local-timer@1013c600 {
|
||||
|
@ -17,7 +17,7 @@ extern unsigned long perf_misc_flags(struct pt_regs *regs);
|
||||
|
||||
#define perf_arch_fetch_caller_regs(regs, __ip) { \
|
||||
(regs)->ARM_pc = (__ip); \
|
||||
(regs)->ARM_fp = (unsigned long) __builtin_frame_address(0); \
|
||||
frame_pointer((regs)) = (unsigned long) __builtin_frame_address(0); \
|
||||
(regs)->ARM_sp = current_stack_pointer; \
|
||||
(regs)->ARM_cpsr = SVC_MODE; \
|
||||
}
|
||||
|
@ -44,12 +44,6 @@
|
||||
|
||||
typedef pte_t *pte_addr_t;
|
||||
|
||||
/*
|
||||
* ZERO_PAGE is a global shared page that is always zero: used
|
||||
* for zero-mapped memory areas etc..
|
||||
*/
|
||||
#define ZERO_PAGE(vaddr) (virt_to_page(0))
|
||||
|
||||
/*
|
||||
* Mark the prot value as uncacheable and unbufferable.
|
||||
*/
|
||||
|
@ -10,6 +10,15 @@
|
||||
#include <linux/const.h>
|
||||
#include <asm/proc-fns.h>
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/*
|
||||
* ZERO_PAGE is a global shared page that is always zero: used
|
||||
* for zero-mapped memory areas etc..
|
||||
*/
|
||||
extern struct page *empty_zero_page;
|
||||
#define ZERO_PAGE(vaddr) (empty_zero_page)
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_MMU
|
||||
|
||||
#include <asm-generic/pgtable-nopud.h>
|
||||
@ -156,13 +165,6 @@ extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
|
||||
#define __S111 __PAGE_SHARED_EXEC
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
/*
|
||||
* ZERO_PAGE is a global shared page that is always zero: used
|
||||
* for zero-mapped memory areas etc..
|
||||
*/
|
||||
extern struct page *empty_zero_page;
|
||||
#define ZERO_PAGE(vaddr) (empty_zero_page)
|
||||
|
||||
|
||||
extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
|
||||
|
||||
|
@ -387,8 +387,10 @@ static void __init mxs_machine_init(void)
|
||||
|
||||
root = of_find_node_by_path("/");
|
||||
ret = of_property_read_string(root, "model", &soc_dev_attr->machine);
|
||||
if (ret)
|
||||
if (ret) {
|
||||
kfree(soc_dev_attr);
|
||||
return;
|
||||
}
|
||||
|
||||
soc_dev_attr->family = "Freescale MXS Family";
|
||||
soc_dev_attr->soc_id = mxs_get_soc_id();
|
||||
|
@ -342,7 +342,7 @@ static void walk_pmd(struct pg_state *st, pud_t *pud, unsigned long start)
|
||||
addr = start + i * PMD_SIZE;
|
||||
domain = get_domain_name(pmd);
|
||||
if (pmd_none(*pmd) || pmd_large(*pmd) || !pmd_present(*pmd))
|
||||
note_page(st, addr, 3, pmd_val(*pmd), domain);
|
||||
note_page(st, addr, 4, pmd_val(*pmd), domain);
|
||||
else
|
||||
walk_pte(st, pmd, addr, domain);
|
||||
|
||||
|
@ -300,7 +300,11 @@ static struct mem_type mem_types[] __ro_after_init = {
|
||||
.prot_pte = L_PTE_PRESENT | L_PTE_YOUNG | L_PTE_DIRTY |
|
||||
L_PTE_XN | L_PTE_RDONLY,
|
||||
.prot_l1 = PMD_TYPE_TABLE,
|
||||
#ifdef CONFIG_ARM_LPAE
|
||||
.prot_sect = PMD_TYPE_SECT | L_PMD_SECT_RDONLY | PMD_SECT_AP2,
|
||||
#else
|
||||
.prot_sect = PMD_TYPE_SECT,
|
||||
#endif
|
||||
.domain = DOMAIN_KERNEL,
|
||||
},
|
||||
[MT_ROM] = {
|
||||
|
@ -26,6 +26,13 @@
|
||||
|
||||
unsigned long vectors_base;
|
||||
|
||||
/*
|
||||
* empty_zero_page is a special page that is used for
|
||||
* zero-initialized data and COW.
|
||||
*/
|
||||
struct page *empty_zero_page;
|
||||
EXPORT_SYMBOL(empty_zero_page);
|
||||
|
||||
#ifdef CONFIG_ARM_MPU
|
||||
struct mpu_rgn_info mpu_rgn_info;
|
||||
#endif
|
||||
@ -148,9 +155,21 @@ void __init adjust_lowmem_bounds(void)
|
||||
*/
|
||||
void __init paging_init(const struct machine_desc *mdesc)
|
||||
{
|
||||
void *zero_page;
|
||||
|
||||
early_trap_init((void *)vectors_base);
|
||||
mpu_setup();
|
||||
|
||||
/* allocate the zero page. */
|
||||
zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE);
|
||||
if (!zero_page)
|
||||
panic("%s: Failed to allocate %lu bytes align=0x%lx\n",
|
||||
__func__, PAGE_SIZE, PAGE_SIZE);
|
||||
|
||||
bootmem_init();
|
||||
|
||||
empty_zero_page = virt_to_page(zero_page);
|
||||
flush_dcache_page(empty_zero_page);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -493,6 +493,22 @@ config ARM64_ERRATUM_834220
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
config ARM64_ERRATUM_1742098
|
||||
bool "Cortex-A57/A72: 1742098: ELR recorded incorrectly on interrupt taken between cryptographic instructions in a sequence"
|
||||
depends on COMPAT
|
||||
default y
|
||||
help
|
||||
This option removes the AES hwcap for aarch32 user-space to
|
||||
workaround erratum 1742098 on Cortex-A57 and Cortex-A72.
|
||||
|
||||
Affected parts may corrupt the AES state if an interrupt is
|
||||
taken between a pair of AES instructions. These instructions
|
||||
are only present if the cryptography extensions are present.
|
||||
All software should have a fallback implementation for CPUs
|
||||
that don't implement the cryptography extensions.
|
||||
|
||||
If unsure, say Y.
|
||||
|
||||
config ARM64_ERRATUM_845719
|
||||
bool "Cortex-A53: 845719: a load might read incorrect data"
|
||||
depends on COMPAT
|
||||
|
@ -595,12 +595,26 @@ pmic {
|
||||
polling-delay = <1000>;
|
||||
polling-delay-passive = <100>;
|
||||
thermal-sensors = <&scpi_sensors0 0>;
|
||||
trips {
|
||||
pmic_crit0: trip0 {
|
||||
temperature = <90000>;
|
||||
hysteresis = <2000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
polling-delay = <1000>;
|
||||
polling-delay-passive = <100>;
|
||||
thermal-sensors = <&scpi_sensors0 3>;
|
||||
trips {
|
||||
soc_crit0: trip0 {
|
||||
temperature = <80000>;
|
||||
hysteresis = <2000>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
big_cluster_thermal_zone: big-cluster {
|
||||
|
@ -939,10 +939,10 @@ dma_apbh: dma-controller@33000000 {
|
||||
clocks = <&clk IMX8MM_CLK_NAND_USDHC_BUS_RAWNAND_CLK>;
|
||||
};
|
||||
|
||||
gpmi: nand-controller@33002000{
|
||||
gpmi: nand-controller@33002000 {
|
||||
compatible = "fsl,imx8mm-gpmi-nand", "fsl,imx7d-gpmi-nand";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
|
||||
reg-names = "gpmi-nand", "bch";
|
||||
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
@ -809,7 +809,7 @@ dma_apbh: dma-controller@33000000 {
|
||||
gpmi: nand-controller@33002000 {
|
||||
compatible = "fsl,imx8mn-gpmi-nand", "fsl,imx7d-gpmi-nand";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0x33002000 0x2000>, <0x33004000 0x4000>;
|
||||
reg-names = "gpmi-nand", "bch";
|
||||
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
|
||||
|
@ -899,6 +899,7 @@ bat: fuel-gauge@36 {
|
||||
interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pinctrl_gauge>;
|
||||
power-supplies = <&bq25895>;
|
||||
maxim,over-heat-temp = <700>;
|
||||
maxim,over-volt = <4500>;
|
||||
maxim,rsns-microohm = <5000>;
|
||||
|
@ -9,6 +9,10 @@ &ap_sar_sensor {
|
||||
label = "proximity-wifi-lte";
|
||||
};
|
||||
|
||||
&mpss_mem {
|
||||
reg = <0x0 0x86000000 0x0 0x8c00000>;
|
||||
};
|
||||
|
||||
&remoteproc_mpss {
|
||||
firmware-name = "qcom/sc7180-trogdor/modem/mba.mbn",
|
||||
"qcom/sc7180-trogdor/modem/qdsp6sw.mbn";
|
||||
|
@ -39,7 +39,7 @@ atf_mem: memory@80b00000 {
|
||||
};
|
||||
|
||||
mpss_mem: memory@86000000 {
|
||||
reg = <0x0 0x86000000 0x0 0x8c00000>;
|
||||
reg = <0x0 0x86000000 0x0 0x2000000>;
|
||||
no-map;
|
||||
};
|
||||
|
||||
|
@ -13,7 +13,7 @@ chosen {
|
||||
stdout-path = "serial2:1500000n8";
|
||||
};
|
||||
|
||||
ir_rx {
|
||||
ir-receiver {
|
||||
compatible = "gpio-ir-receiver";
|
||||
gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
|
@ -203,7 +203,7 @@ &sdmmc {
|
||||
cap-sd-highspeed;
|
||||
cd-gpios = <&gpio0 RK_PA7 GPIO_ACTIVE_LOW>;
|
||||
disable-wp;
|
||||
max-frequency = <150000000>;
|
||||
max-frequency = <40000000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>;
|
||||
vmmc-supply = <&vcc3v3_baseboard>;
|
||||
|
@ -448,7 +448,6 @@ &i2s0 {
|
||||
&i2s1 {
|
||||
rockchip,playback-channels = <2>;
|
||||
rockchip,capture-channels = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2s2 {
|
||||
|
@ -648,7 +648,6 @@ CONFIG_HARDENED_USERCOPY=y
|
||||
CONFIG_STATIC_USERMODEHELPER=y
|
||||
CONFIG_STATIC_USERMODEHELPER_PATH=""
|
||||
CONFIG_SECURITY_SELINUX=y
|
||||
CONFIG_INIT_STACK_ALL_ZERO=y
|
||||
CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=y
|
||||
CONFIG_CRYPTO_ADIANTUM=y
|
||||
@ -697,4 +696,5 @@ CONFIG_BUG_ON_DATA_CORRUPTION=y
|
||||
CONFIG_TRACE_MMIO_ACCESS=y
|
||||
CONFIG_TRACEFS_DISABLE_AUTOMOUNT=y
|
||||
CONFIG_HIST_TRIGGERS=y
|
||||
CONFIG_FUNCTION_ERROR_INJECTION=y
|
||||
# CONFIG_RUNTIME_TESTING_MENU is not set
|
||||
|
@ -72,8 +72,9 @@
|
||||
#define ARM64_WORKAROUND_TSB_FLUSH_FAILURE 61
|
||||
#define ARM64_SPECTRE_BHB 62
|
||||
#define ARM64_WORKAROUND_2457168 63
|
||||
#define ARM64_WORKAROUND_1742098 64
|
||||
|
||||
/* kabi: reserve 64 - 76 for future cpu capabilities */
|
||||
/* kabi: reserve 65 - 76 for future cpu capabilities */
|
||||
#define ARM64_NCAPS 76
|
||||
|
||||
#endif /* __ASM_CPUCAPS_H */
|
||||
|
@ -662,7 +662,8 @@ static inline bool system_supports_4kb_granule(void)
|
||||
val = cpuid_feature_extract_unsigned_field(mmfr0,
|
||||
ID_AA64MMFR0_TGRAN4_SHIFT);
|
||||
|
||||
return val == ID_AA64MMFR0_TGRAN4_SUPPORTED;
|
||||
return (val >= ID_AA64MMFR0_TGRAN4_SUPPORTED_MIN) &&
|
||||
(val <= ID_AA64MMFR0_TGRAN4_SUPPORTED_MAX);
|
||||
}
|
||||
|
||||
static inline bool system_supports_64kb_granule(void)
|
||||
@ -674,7 +675,8 @@ static inline bool system_supports_64kb_granule(void)
|
||||
val = cpuid_feature_extract_unsigned_field(mmfr0,
|
||||
ID_AA64MMFR0_TGRAN64_SHIFT);
|
||||
|
||||
return val == ID_AA64MMFR0_TGRAN64_SUPPORTED;
|
||||
return (val >= ID_AA64MMFR0_TGRAN64_SUPPORTED_MIN) &&
|
||||
(val <= ID_AA64MMFR0_TGRAN64_SUPPORTED_MAX);
|
||||
}
|
||||
|
||||
static inline bool system_supports_16kb_granule(void)
|
||||
@ -686,7 +688,8 @@ static inline bool system_supports_16kb_granule(void)
|
||||
val = cpuid_feature_extract_unsigned_field(mmfr0,
|
||||
ID_AA64MMFR0_TGRAN16_SHIFT);
|
||||
|
||||
return val == ID_AA64MMFR0_TGRAN16_SUPPORTED;
|
||||
return (val >= ID_AA64MMFR0_TGRAN16_SUPPORTED_MIN) &&
|
||||
(val <= ID_AA64MMFR0_TGRAN16_SUPPORTED_MAX);
|
||||
}
|
||||
|
||||
static inline bool system_supports_mixed_endian_el0(void)
|
||||
|
@ -41,7 +41,7 @@
|
||||
(((midr) & MIDR_IMPLEMENTOR_MASK) >> MIDR_IMPLEMENTOR_SHIFT)
|
||||
|
||||
#define MIDR_CPU_MODEL(imp, partnum) \
|
||||
(((imp) << MIDR_IMPLEMENTOR_SHIFT) | \
|
||||
((_AT(u32, imp) << MIDR_IMPLEMENTOR_SHIFT) | \
|
||||
(0xf << MIDR_ARCHITECTURE_SHIFT) | \
|
||||
((partnum) << MIDR_PARTNUM_SHIFT))
|
||||
|
||||
@ -60,6 +60,7 @@
|
||||
#define ARM_CPU_IMP_FUJITSU 0x46
|
||||
#define ARM_CPU_IMP_HISI 0x48
|
||||
#define ARM_CPU_IMP_APPLE 0x61
|
||||
#define ARM_CPU_IMP_AMPERE 0xC0
|
||||
|
||||
#define ARM_CPU_PART_AEM_V8 0xD0F
|
||||
#define ARM_CPU_PART_FOUNDATION 0xD00
|
||||
@ -112,6 +113,8 @@
|
||||
#define APPLE_CPU_PART_M1_ICESTORM 0x022
|
||||
#define APPLE_CPU_PART_M1_FIRESTORM 0x023
|
||||
|
||||
#define AMPERE_CPU_PART_AMPERE1 0xAC3
|
||||
|
||||
#define MIDR_CORTEX_A53 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A53)
|
||||
#define MIDR_CORTEX_A57 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A57)
|
||||
#define MIDR_CORTEX_A72 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A72)
|
||||
@ -151,6 +154,7 @@
|
||||
#define MIDR_HISI_TSV110 MIDR_CPU_MODEL(ARM_CPU_IMP_HISI, HISI_CPU_PART_TSV110)
|
||||
#define MIDR_APPLE_M1_ICESTORM MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_ICESTORM)
|
||||
#define MIDR_APPLE_M1_FIRESTORM MIDR_CPU_MODEL(ARM_CPU_IMP_APPLE, APPLE_CPU_PART_M1_FIRESTORM)
|
||||
#define MIDR_AMPERE1 MIDR_CPU_MODEL(ARM_CPU_IMP_AMPERE, AMPERE_CPU_PART_AMPERE1)
|
||||
|
||||
/* Fujitsu Erratum 010001 affects A64FX 1.0 and 1.1, (v0r0 and v1r0) */
|
||||
#define MIDR_FUJITSU_ERRATUM_010001 MIDR_FUJITSU_A64FX
|
||||
|
@ -8,7 +8,7 @@
|
||||
#ifndef __ASM_SYSCALL_WRAPPER_H
|
||||
#define __ASM_SYSCALL_WRAPPER_H
|
||||
|
||||
struct pt_regs;
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
#define SC_ARM64_REGS_TO_ARGS(x, ...) \
|
||||
__MAP(x,__SC_ARGS \
|
||||
|
@ -852,15 +852,24 @@
|
||||
#define ID_AA64MMFR0_ASID_SHIFT 4
|
||||
#define ID_AA64MMFR0_PARANGE_SHIFT 0
|
||||
|
||||
#define ID_AA64MMFR0_TGRAN4_NI 0xf
|
||||
#define ID_AA64MMFR0_TGRAN4_SUPPORTED 0x0
|
||||
#define ID_AA64MMFR0_TGRAN64_NI 0xf
|
||||
#define ID_AA64MMFR0_TGRAN64_SUPPORTED 0x0
|
||||
#define ID_AA64MMFR0_TGRAN16_NI 0x0
|
||||
#define ID_AA64MMFR0_TGRAN16_SUPPORTED 0x1
|
||||
#define ID_AA64MMFR0_TGRAN4_NI 0xf
|
||||
#define ID_AA64MMFR0_TGRAN4_SUPPORTED_MIN 0x0
|
||||
#define ID_AA64MMFR0_TGRAN4_SUPPORTED_MAX 0x7
|
||||
#define ID_AA64MMFR0_TGRAN64_NI 0xf
|
||||
#define ID_AA64MMFR0_TGRAN64_SUPPORTED_MIN 0x0
|
||||
#define ID_AA64MMFR0_TGRAN64_SUPPORTED_MAX 0x7
|
||||
#define ID_AA64MMFR0_TGRAN16_NI 0x0
|
||||
#define ID_AA64MMFR0_TGRAN16_SUPPORTED_MIN 0x1
|
||||
#define ID_AA64MMFR0_TGRAN16_SUPPORTED_MAX 0xf
|
||||
|
||||
#define ID_AA64MMFR0_PARANGE_48 0x5
|
||||
#define ID_AA64MMFR0_PARANGE_52 0x6
|
||||
|
||||
#define ID_AA64MMFR0_TGRAN_2_SUPPORTED_DEFAULT 0x0
|
||||
#define ID_AA64MMFR0_TGRAN_2_SUPPORTED_NONE 0x1
|
||||
#define ID_AA64MMFR0_TGRAN_2_SUPPORTED_MIN 0x2
|
||||
#define ID_AA64MMFR0_TGRAN_2_SUPPORTED_MAX 0x7
|
||||
|
||||
#ifdef CONFIG_ARM64_PA_BITS_52
|
||||
#define ID_AA64MMFR0_PARANGE_MAX ID_AA64MMFR0_PARANGE_52
|
||||
#else
|
||||
@ -1026,14 +1035,17 @@
|
||||
#define ID_PFR1_PROGMOD_SHIFT 0
|
||||
|
||||
#if defined(CONFIG_ARM64_4K_PAGES)
|
||||
#define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN4_SHIFT
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED ID_AA64MMFR0_TGRAN4_SUPPORTED
|
||||
#define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN4_SHIFT
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN4_SUPPORTED_MIN
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX ID_AA64MMFR0_TGRAN4_SUPPORTED_MAX
|
||||
#elif defined(CONFIG_ARM64_16K_PAGES)
|
||||
#define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN16_SHIFT
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED ID_AA64MMFR0_TGRAN16_SUPPORTED
|
||||
#define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN16_SHIFT
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN16_SUPPORTED_MIN
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX ID_AA64MMFR0_TGRAN16_SUPPORTED_MAX
|
||||
#elif defined(CONFIG_ARM64_64K_PAGES)
|
||||
#define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN64_SHIFT
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED ID_AA64MMFR0_TGRAN64_SUPPORTED
|
||||
#define ID_AA64MMFR0_TGRAN_SHIFT ID_AA64MMFR0_TGRAN64_SHIFT
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED_MIN ID_AA64MMFR0_TGRAN64_SUPPORTED_MIN
|
||||
#define ID_AA64MMFR0_TGRAN_SUPPORTED_MAX ID_AA64MMFR0_TGRAN64_SUPPORTED_MAX
|
||||
#endif
|
||||
|
||||
#define MVFR2_FPMISC_SHIFT 4
|
||||
|
@ -358,6 +358,14 @@ static const struct midr_range tsb_flush_fail_cpus[] = {
|
||||
};
|
||||
#endif /* CONFIG_ARM64_WORKAROUND_TSB_FLUSH_FAILURE */
|
||||
|
||||
#ifdef CONFIG_ARM64_ERRATUM_1742098
|
||||
static struct midr_range broken_aarch32_aes[] = {
|
||||
MIDR_RANGE(MIDR_CORTEX_A57, 0, 1, 0xf, 0xf),
|
||||
MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
|
||||
{},
|
||||
};
|
||||
#endif
|
||||
|
||||
const struct arm64_cpu_capabilities arm64_errata[] = {
|
||||
#ifdef CONFIG_ARM64_WORKAROUND_CLEAN_CACHE
|
||||
{
|
||||
@ -566,6 +574,14 @@ const struct arm64_cpu_capabilities arm64_errata[] = {
|
||||
/* Cortex-A510 r0p0-r1p1 */
|
||||
CAP_MIDR_RANGE(MIDR_CORTEX_A510, 0, 0, 1, 1)
|
||||
},
|
||||
#endif
|
||||
#ifdef CONFIG_ARM64_ERRATUM_1742098
|
||||
{
|
||||
.desc = "ARM erratum 1742098",
|
||||
.capability = ARM64_WORKAROUND_1742098,
|
||||
CAP_MIDR_RANGE_LIST(broken_aarch32_aes),
|
||||
.type = ARM64_CPUCAP_LOCAL_CPU_ERRATUM,
|
||||
},
|
||||
#endif
|
||||
{
|
||||
}
|
||||
|
@ -79,6 +79,7 @@
|
||||
#include <asm/cpu_ops.h>
|
||||
#include <asm/fpsimd.h>
|
||||
#include <asm/kvm_host.h>
|
||||
#include <asm/hwcap.h>
|
||||
#include <asm/mmu_context.h>
|
||||
#include <asm/mte.h>
|
||||
#include <asm/processor.h>
|
||||
@ -1897,6 +1898,14 @@ static bool is_kvm_protected_mode(const struct arm64_cpu_capabilities *entry, in
|
||||
}
|
||||
#endif /* CONFIG_KVM */
|
||||
|
||||
static void elf_hwcap_fixup(void)
|
||||
{
|
||||
#ifdef CONFIG_ARM64_ERRATUM_1742098
|
||||
if (cpus_have_const_cap(ARM64_WORKAROUND_1742098))
|
||||
compat_elf_hwcap2 &= ~COMPAT_HWCAP2_AES;
|
||||
#endif /* ARM64_ERRATUM_1742098 */
|
||||
}
|
||||
|
||||
/* Internal helper functions to match cpu capability type */
|
||||
static bool
|
||||
cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap)
|
||||
@ -2921,8 +2930,10 @@ void __init setup_cpu_features(void)
|
||||
setup_system_capabilities();
|
||||
setup_elf_hwcaps(arm64_elf_hwcaps);
|
||||
|
||||
if (system_supports_32bit_el0())
|
||||
if (system_supports_32bit_el0()) {
|
||||
setup_elf_hwcaps(compat_elf_hwcaps);
|
||||
elf_hwcap_fixup();
|
||||
}
|
||||
|
||||
if (system_uses_ttbr0_pan())
|
||||
pr_info("emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching\n");
|
||||
|
@ -12,6 +12,14 @@
|
||||
|
||||
#include <asm/efi.h>
|
||||
|
||||
static bool region_is_misaligned(const efi_memory_desc_t *md)
|
||||
{
|
||||
if (PAGE_SIZE == EFI_PAGE_SIZE)
|
||||
return false;
|
||||
return !PAGE_ALIGNED(md->phys_addr) ||
|
||||
!PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT);
|
||||
}
|
||||
|
||||
/*
|
||||
* Only regions of type EFI_RUNTIME_SERVICES_CODE need to be
|
||||
* executable, everything else can be mapped with the XN bits
|
||||
@ -25,14 +33,22 @@ static __init pteval_t create_mapping_protection(efi_memory_desc_t *md)
|
||||
if (type == EFI_MEMORY_MAPPED_IO)
|
||||
return PROT_DEVICE_nGnRE;
|
||||
|
||||
if (WARN_ONCE(!PAGE_ALIGNED(md->phys_addr),
|
||||
"UEFI Runtime regions are not aligned to 64 KB -- buggy firmware?"))
|
||||
if (region_is_misaligned(md)) {
|
||||
static bool __initdata code_is_misaligned;
|
||||
|
||||
/*
|
||||
* If the region is not aligned to the page size of the OS, we
|
||||
* can not use strict permissions, since that would also affect
|
||||
* the mapping attributes of the adjacent regions.
|
||||
* Regions that are not aligned to the OS page size cannot be
|
||||
* mapped with strict permissions, as those might interfere
|
||||
* with the permissions that are needed by the adjacent
|
||||
* region's mapping. However, if we haven't encountered any
|
||||
* misaligned runtime code regions so far, we can safely use
|
||||
* non-executable permissions for non-code regions.
|
||||
*/
|
||||
return pgprot_val(PAGE_KERNEL_EXEC);
|
||||
code_is_misaligned |= (type == EFI_RUNTIME_SERVICES_CODE);
|
||||
|
||||
return code_is_misaligned ? pgprot_val(PAGE_KERNEL_EXEC)
|
||||
: pgprot_val(PAGE_KERNEL);
|
||||
}
|
||||
|
||||
/* R-- */
|
||||
if ((attr & (EFI_MEMORY_XP | EFI_MEMORY_RO)) ==
|
||||
@ -62,19 +78,16 @@ int __init efi_create_mapping(struct mm_struct *mm, efi_memory_desc_t *md)
|
||||
bool page_mappings_only = (md->type == EFI_RUNTIME_SERVICES_CODE ||
|
||||
md->type == EFI_RUNTIME_SERVICES_DATA);
|
||||
|
||||
if (!PAGE_ALIGNED(md->phys_addr) ||
|
||||
!PAGE_ALIGNED(md->num_pages << EFI_PAGE_SHIFT)) {
|
||||
/*
|
||||
* If the end address of this region is not aligned to page
|
||||
* size, the mapping is rounded up, and may end up sharing a
|
||||
* page frame with the next UEFI memory region. If we create
|
||||
* a block entry now, we may need to split it again when mapping
|
||||
* the next region, and support for that is going to be removed
|
||||
* from the MMU routines. So avoid block mappings altogether in
|
||||
* that case.
|
||||
*/
|
||||
/*
|
||||
* If this region is not aligned to the page size used by the OS, the
|
||||
* mapping will be rounded outwards, and may end up sharing a page
|
||||
* frame with an adjacent runtime memory region. Given that the page
|
||||
* table descriptor covering the shared page will be rewritten when the
|
||||
* adjacent region gets mapped, we must avoid block mappings here so we
|
||||
* don't have to worry about splitting them when that happens.
|
||||
*/
|
||||
if (region_is_misaligned(md))
|
||||
page_mappings_only = true;
|
||||
}
|
||||
|
||||
create_pgd_mapping(mm, md->phys_addr, md->virt_addr,
|
||||
md->num_pages << EFI_PAGE_SHIFT,
|
||||
@ -101,6 +114,9 @@ int __init efi_set_mapping_permissions(struct mm_struct *mm,
|
||||
BUG_ON(md->type != EFI_RUNTIME_SERVICES_CODE &&
|
||||
md->type != EFI_RUNTIME_SERVICES_DATA);
|
||||
|
||||
if (region_is_misaligned(md))
|
||||
return 0;
|
||||
|
||||
/*
|
||||
* Calling apply_to_page_range() is only safe on regions that are
|
||||
* guaranteed to be mapped down to pages. Since we are only called
|
||||
|
@ -216,11 +216,26 @@ int ftrace_make_nop(struct module *mod, struct dyn_ftrace *rec,
|
||||
unsigned long pc = rec->ip;
|
||||
u32 old = 0, new;
|
||||
|
||||
new = aarch64_insn_gen_nop();
|
||||
|
||||
/*
|
||||
* When using mcount, callsites in modules may have been initalized to
|
||||
* call an arbitrary module PLT (which redirects to the _mcount stub)
|
||||
* rather than the ftrace PLT we'll use at runtime (which redirects to
|
||||
* the ftrace trampoline). We can ignore the old PLT when initializing
|
||||
* the callsite.
|
||||
*
|
||||
* Note: 'mod' is only set at module load time.
|
||||
*/
|
||||
if (!IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_REGS) &&
|
||||
IS_ENABLED(CONFIG_ARM64_MODULE_PLTS) && mod) {
|
||||
return aarch64_insn_patch_text_nosync((void *)pc, new);
|
||||
}
|
||||
|
||||
if (!ftrace_find_callable_addr(rec, mod, &addr))
|
||||
return -EINVAL;
|
||||
|
||||
old = aarch64_insn_gen_branch_imm(pc, addr, AARCH64_INSN_BRANCH_LINK);
|
||||
new = aarch64_insn_gen_nop();
|
||||
|
||||
return ftrace_modify_code(pc, old, new, true);
|
||||
}
|
||||
|
@ -671,8 +671,10 @@ SYM_FUNC_END(__secondary_too_slow)
|
||||
SYM_FUNC_START(__enable_mmu)
|
||||
mrs x2, ID_AA64MMFR0_EL1
|
||||
ubfx x2, x2, #ID_AA64MMFR0_TGRAN_SHIFT, 4
|
||||
cmp x2, #ID_AA64MMFR0_TGRAN_SUPPORTED
|
||||
b.ne __no_granule_support
|
||||
cmp x2, #ID_AA64MMFR0_TGRAN_SUPPORTED_MIN
|
||||
b.lt __no_granule_support
|
||||
cmp x2, #ID_AA64MMFR0_TGRAN_SUPPORTED_MAX
|
||||
b.gt __no_granule_support
|
||||
update_early_cpu_boot_status 0, x2, x3
|
||||
adrp x2, idmap_pg_dir
|
||||
phys_to_ttbr x1, x1
|
||||
|
@ -868,6 +868,10 @@ u8 spectre_bhb_loop_affected(int scope)
|
||||
MIDR_ALL_VERSIONS(MIDR_NEOVERSE_N1),
|
||||
{},
|
||||
};
|
||||
static const struct midr_range spectre_bhb_k11_list[] = {
|
||||
MIDR_ALL_VERSIONS(MIDR_AMPERE1),
|
||||
{},
|
||||
};
|
||||
static const struct midr_range spectre_bhb_k8_list[] = {
|
||||
MIDR_ALL_VERSIONS(MIDR_CORTEX_A72),
|
||||
MIDR_ALL_VERSIONS(MIDR_CORTEX_A57),
|
||||
@ -878,6 +882,8 @@ u8 spectre_bhb_loop_affected(int scope)
|
||||
k = 32;
|
||||
else if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k24_list))
|
||||
k = 24;
|
||||
else if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k11_list))
|
||||
k = 11;
|
||||
else if (is_midr_in_range_list(read_cpuid_id(), spectre_bhb_k8_list))
|
||||
k = 8;
|
||||
|
||||
|
@ -22,46 +22,6 @@
|
||||
#include <asm/cputype.h>
|
||||
#include <asm/topology.h>
|
||||
|
||||
void store_cpu_topology(unsigned int cpuid)
|
||||
{
|
||||
struct cpu_topology *cpuid_topo = &cpu_topology[cpuid];
|
||||
u64 mpidr;
|
||||
|
||||
if (cpuid_topo->package_id != -1)
|
||||
goto topology_populated;
|
||||
|
||||
mpidr = read_cpuid_mpidr();
|
||||
|
||||
/* Uniprocessor systems can rely on default topology values */
|
||||
if (mpidr & MPIDR_UP_BITMASK)
|
||||
return;
|
||||
|
||||
/*
|
||||
* This would be the place to create cpu topology based on MPIDR.
|
||||
*
|
||||
* However, it cannot be trusted to depict the actual topology; some
|
||||
* pieces of the architecture enforce an artificial cap on Aff0 values
|
||||
* (e.g. GICv3's ICC_SGI1R_EL1 limits it to 15), leading to an
|
||||
* artificial cycling of Aff1, Aff2 and Aff3 values. IOW, these end up
|
||||
* having absolutely no relationship to the actual underlying system
|
||||
* topology, and cannot be reasonably used as core / package ID.
|
||||
*
|
||||
* If the MT bit is set, Aff0 *could* be used to define a thread ID, but
|
||||
* we still wouldn't be able to obtain a sane core ID. This means we
|
||||
* need to entirely ignore MPIDR for any topology deduction.
|
||||
*/
|
||||
cpuid_topo->thread_id = -1;
|
||||
cpuid_topo->core_id = cpuid;
|
||||
cpuid_topo->package_id = cpu_to_node(cpuid);
|
||||
|
||||
pr_debug("CPU%u: cluster %d core %d thread %d mpidr %#016llx\n",
|
||||
cpuid, cpuid_topo->package_id, cpuid_topo->core_id,
|
||||
cpuid_topo->thread_id, mpidr);
|
||||
|
||||
topology_populated:
|
||||
update_siblings_masks(cpuid);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ACPI
|
||||
static bool __init acpi_cpu_is_threaded(int cpu)
|
||||
{
|
||||
@ -158,7 +118,7 @@ static int validate_cpu_freq_invariance_counters(int cpu)
|
||||
}
|
||||
|
||||
/* Convert maximum frequency from KHz to Hz and validate */
|
||||
max_freq_hz = cpufreq_get_hw_max_freq(cpu) * 1000;
|
||||
max_freq_hz = cpufreq_get_hw_max_freq(cpu) * 1000ULL;
|
||||
if (unlikely(!max_freq_hz)) {
|
||||
pr_debug("CPU%d: invalid maximum frequency.\n", cpu);
|
||||
return -EINVAL;
|
||||
|
@ -344,16 +344,18 @@ int kvm_set_ipa_limit(void)
|
||||
}
|
||||
|
||||
switch (cpuid_feature_extract_unsigned_field(mmfr0, tgran_2)) {
|
||||
default:
|
||||
case 1:
|
||||
case ID_AA64MMFR0_TGRAN_2_SUPPORTED_NONE:
|
||||
kvm_err("PAGE_SIZE not supported at Stage-2, giving up\n");
|
||||
return -EINVAL;
|
||||
case 0:
|
||||
case ID_AA64MMFR0_TGRAN_2_SUPPORTED_DEFAULT:
|
||||
kvm_debug("PAGE_SIZE supported at Stage-2 (default)\n");
|
||||
break;
|
||||
case 2:
|
||||
case ID_AA64MMFR0_TGRAN_2_SUPPORTED_MIN ... ID_AA64MMFR0_TGRAN_2_SUPPORTED_MAX:
|
||||
kvm_debug("PAGE_SIZE supported at Stage-2 (advertised)\n");
|
||||
break;
|
||||
default:
|
||||
kvm_err("Unsupported value for TGRAN_2, giving up\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
kvm_ipa_limit = id_aa64mmfr0_parange_to_phys_shift(parange);
|
||||
|
@ -2096,7 +2096,7 @@ static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz,
|
||||
|
||||
memset(entry, 0, esz);
|
||||
|
||||
while (len > 0) {
|
||||
while (true) {
|
||||
int next_offset;
|
||||
size_t byte_offset;
|
||||
|
||||
@ -2109,6 +2109,9 @@ static int scan_its_table(struct vgic_its *its, gpa_t base, int size, u32 esz,
|
||||
return next_offset;
|
||||
|
||||
byte_offset = next_offset * esz;
|
||||
if (byte_offset >= len)
|
||||
break;
|
||||
|
||||
id += next_offset;
|
||||
gpa += byte_offset;
|
||||
len -= byte_offset;
|
||||
|
@ -106,5 +106,6 @@ int memory_add_physaddr_to_nid(u64 addr)
|
||||
return 0;
|
||||
return nid;
|
||||
}
|
||||
EXPORT_SYMBOL(memory_add_physaddr_to_nid);
|
||||
#endif
|
||||
#endif
|
||||
|
@ -86,7 +86,7 @@ static __init void prom_init_mem(void)
|
||||
pr_debug("Assume 128MB RAM\n");
|
||||
break;
|
||||
}
|
||||
if (!memcmp(prom_init, prom_init + mem, 32))
|
||||
if (!memcmp((void *)prom_init, (void *)prom_init + mem, 32))
|
||||
break;
|
||||
}
|
||||
lowmem = mem;
|
||||
@ -163,7 +163,7 @@ void __init bcm47xx_prom_highmem_init(void)
|
||||
|
||||
off = EXTVBASE + __pa(off);
|
||||
for (extmem = 128 << 20; extmem < 512 << 20; extmem <<= 1) {
|
||||
if (!memcmp(prom_init, (void *)(off + extmem), 16))
|
||||
if (!memcmp((void *)prom_init, (void *)(off + extmem), 16))
|
||||
break;
|
||||
}
|
||||
extmem -= lowmem;
|
||||
|
@ -26,6 +26,6 @@ extern char *fw_getcmdline(void);
|
||||
extern void fw_meminit(void);
|
||||
extern char *fw_getenv(char *name);
|
||||
extern unsigned long fw_getenvl(char *name);
|
||||
extern void fw_init_early_console(char port);
|
||||
extern void fw_init_early_console(void);
|
||||
|
||||
#endif /* __ASM_FW_H_ */
|
||||
|
@ -56,7 +56,7 @@ void arch_jump_label_transform(struct jump_entry *e,
|
||||
* The branch offset must fit in the instruction's 26
|
||||
* bit field.
|
||||
*/
|
||||
WARN_ON((offset >= BIT(25)) ||
|
||||
WARN_ON((offset >= (long)BIT(25)) ||
|
||||
(offset < -(long)BIT(25)));
|
||||
|
||||
insn.j_format.opcode = bc6_op;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define U_BRG(x) (UART_BASE(x) + 0x40)
|
||||
|
||||
static void __iomem *uart_base;
|
||||
static char console_port = -1;
|
||||
static int console_port = -1;
|
||||
|
||||
static int __init configure_uart_pins(int port)
|
||||
{
|
||||
@ -47,7 +47,7 @@ static int __init configure_uart_pins(int port)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __init configure_uart(char port, int baud)
|
||||
static void __init configure_uart(int port, int baud)
|
||||
{
|
||||
u32 pbclk;
|
||||
|
||||
@ -60,7 +60,7 @@ static void __init configure_uart(char port, int baud)
|
||||
uart_base + PIC32_SET(U_STA(port)));
|
||||
}
|
||||
|
||||
static void __init setup_early_console(char port, int baud)
|
||||
static void __init setup_early_console(int port, int baud)
|
||||
{
|
||||
if (configure_uart_pins(port))
|
||||
return;
|
||||
@ -130,16 +130,15 @@ static int __init get_baud_from_cmdline(char *arch_cmdline)
|
||||
return baud;
|
||||
}
|
||||
|
||||
void __init fw_init_early_console(char port)
|
||||
void __init fw_init_early_console(void)
|
||||
{
|
||||
char *arch_cmdline = pic32_getcmdline();
|
||||
int baud = -1;
|
||||
int baud, port;
|
||||
|
||||
uart_base = ioremap(PIC32_BASE_UART, 0xc00);
|
||||
|
||||
baud = get_baud_from_cmdline(arch_cmdline);
|
||||
if (port == -1)
|
||||
port = get_port_from_cmdline(arch_cmdline);
|
||||
port = get_port_from_cmdline(arch_cmdline);
|
||||
|
||||
if (port == -1)
|
||||
port = EARLY_CONSOLE_PORT;
|
||||
|
@ -60,7 +60,7 @@ void __init plat_mem_setup(void)
|
||||
strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE);
|
||||
|
||||
#ifdef CONFIG_EARLY_PRINTK
|
||||
fw_init_early_console(-1);
|
||||
fw_init_early_console();
|
||||
#endif
|
||||
pic32_config_init();
|
||||
}
|
||||
|
@ -27,15 +27,18 @@ static void bridge_platform_create(nasid_t nasid, int widget, int masterwid)
|
||||
{
|
||||
struct xtalk_bridge_platform_data *bd;
|
||||
struct sgi_w1_platform_data *wd;
|
||||
struct platform_device *pdev;
|
||||
struct platform_device *pdev_wd;
|
||||
struct platform_device *pdev_bd;
|
||||
struct resource w1_res;
|
||||
unsigned long offset;
|
||||
|
||||
offset = NODE_OFFSET(nasid);
|
||||
|
||||
wd = kzalloc(sizeof(*wd), GFP_KERNEL);
|
||||
if (!wd)
|
||||
goto no_mem;
|
||||
if (!wd) {
|
||||
pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget);
|
||||
return;
|
||||
}
|
||||
|
||||
snprintf(wd->dev_id, sizeof(wd->dev_id), "bridge-%012lx",
|
||||
offset + (widget << SWIN_SIZE_BITS));
|
||||
@ -46,22 +49,35 @@ static void bridge_platform_create(nasid_t nasid, int widget, int masterwid)
|
||||
w1_res.end = w1_res.start + 3;
|
||||
w1_res.flags = IORESOURCE_MEM;
|
||||
|
||||
pdev = platform_device_alloc("sgi_w1", PLATFORM_DEVID_AUTO);
|
||||
if (!pdev) {
|
||||
kfree(wd);
|
||||
goto no_mem;
|
||||
pdev_wd = platform_device_alloc("sgi_w1", PLATFORM_DEVID_AUTO);
|
||||
if (!pdev_wd) {
|
||||
pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget);
|
||||
goto err_kfree_wd;
|
||||
}
|
||||
platform_device_add_resources(pdev, &w1_res, 1);
|
||||
platform_device_add_data(pdev, wd, sizeof(*wd));
|
||||
platform_device_add(pdev);
|
||||
if (platform_device_add_resources(pdev_wd, &w1_res, 1)) {
|
||||
pr_warn("xtalk:n%d/%x bridge failed to add platform resources.\n", nasid, widget);
|
||||
goto err_put_pdev_wd;
|
||||
}
|
||||
if (platform_device_add_data(pdev_wd, wd, sizeof(*wd))) {
|
||||
pr_warn("xtalk:n%d/%x bridge failed to add platform data.\n", nasid, widget);
|
||||
goto err_put_pdev_wd;
|
||||
}
|
||||
if (platform_device_add(pdev_wd)) {
|
||||
pr_warn("xtalk:n%d/%x bridge failed to add platform device.\n", nasid, widget);
|
||||
goto err_put_pdev_wd;
|
||||
}
|
||||
/* platform_device_add_data() duplicates the data */
|
||||
kfree(wd);
|
||||
|
||||
bd = kzalloc(sizeof(*bd), GFP_KERNEL);
|
||||
if (!bd)
|
||||
goto no_mem;
|
||||
pdev = platform_device_alloc("xtalk-bridge", PLATFORM_DEVID_AUTO);
|
||||
if (!pdev) {
|
||||
kfree(bd);
|
||||
goto no_mem;
|
||||
if (!bd) {
|
||||
pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget);
|
||||
goto err_unregister_pdev_wd;
|
||||
}
|
||||
pdev_bd = platform_device_alloc("xtalk-bridge", PLATFORM_DEVID_AUTO);
|
||||
if (!pdev_bd) {
|
||||
pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget);
|
||||
goto err_kfree_bd;
|
||||
}
|
||||
|
||||
|
||||
@ -82,13 +98,31 @@ static void bridge_platform_create(nasid_t nasid, int widget, int masterwid)
|
||||
bd->io.flags = IORESOURCE_IO;
|
||||
bd->io_offset = offset;
|
||||
|
||||
platform_device_add_data(pdev, bd, sizeof(*bd));
|
||||
platform_device_add(pdev);
|
||||
if (platform_device_add_data(pdev_bd, bd, sizeof(*bd))) {
|
||||
pr_warn("xtalk:n%d/%x bridge failed to add platform data.\n", nasid, widget);
|
||||
goto err_put_pdev_bd;
|
||||
}
|
||||
if (platform_device_add(pdev_bd)) {
|
||||
pr_warn("xtalk:n%d/%x bridge failed to add platform device.\n", nasid, widget);
|
||||
goto err_put_pdev_bd;
|
||||
}
|
||||
/* platform_device_add_data() duplicates the data */
|
||||
kfree(bd);
|
||||
pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget);
|
||||
return;
|
||||
|
||||
no_mem:
|
||||
pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget);
|
||||
err_put_pdev_bd:
|
||||
platform_device_put(pdev_bd);
|
||||
err_kfree_bd:
|
||||
kfree(bd);
|
||||
err_unregister_pdev_wd:
|
||||
platform_device_unregister(pdev_wd);
|
||||
return;
|
||||
err_put_pdev_wd:
|
||||
platform_device_put(pdev_wd);
|
||||
err_kfree_wd:
|
||||
kfree(wd);
|
||||
return;
|
||||
}
|
||||
|
||||
static int probe_one_port(nasid_t nasid, int widget, int masterwid)
|
||||
|
@ -20,7 +20,7 @@ $(obj)/vmlinux.bin: vmlinux FORCE
|
||||
$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
|
||||
$(call if_changed,gzip)
|
||||
|
||||
$(obj)/vmImage: $(obj)/vmlinux.gz
|
||||
$(obj)/vmImage: $(obj)/vmlinux.gz FORCE
|
||||
$(call if_changed,uimage)
|
||||
@$(kecho) 'Kernel: $@ is ready'
|
||||
|
||||
|
@ -10,12 +10,12 @@
|
||||
#define SVERSION_ANY_ID PA_SVERSION_ANY_ID
|
||||
|
||||
struct hp_hardware {
|
||||
unsigned short hw_type:5; /* HPHW_xxx */
|
||||
unsigned short hversion;
|
||||
unsigned long sversion:28;
|
||||
unsigned short opt;
|
||||
const char name[80]; /* The hardware description */
|
||||
};
|
||||
unsigned int hw_type:8; /* HPHW_xxx */
|
||||
unsigned int hversion:12;
|
||||
unsigned int sversion:12;
|
||||
unsigned char opt;
|
||||
unsigned char name[59]; /* The hardware description */
|
||||
} __packed;
|
||||
|
||||
struct parisc_device;
|
||||
|
||||
|
@ -883,15 +883,13 @@ void __init walk_central_bus(void)
|
||||
&root);
|
||||
}
|
||||
|
||||
static void print_parisc_device(struct parisc_device *dev)
|
||||
static __init void print_parisc_device(struct parisc_device *dev)
|
||||
{
|
||||
char hw_path[64];
|
||||
static int count;
|
||||
static int count __initdata;
|
||||
|
||||
print_pa_hwpath(dev, hw_path);
|
||||
pr_info("%d. %s at %pap [%s] { %d, 0x%x, 0x%.3x, 0x%.5x }",
|
||||
++count, dev->name, &(dev->hpa.start), hw_path, dev->id.hw_type,
|
||||
dev->id.hversion_rev, dev->id.hversion, dev->id.sversion);
|
||||
pr_info("%d. %s at %pap { type:%d, hv:%#x, sv:%#x, rev:%#x }",
|
||||
++count, dev->name, &(dev->hpa.start), dev->id.hw_type,
|
||||
dev->id.hversion, dev->id.sversion, dev->id.hversion_rev);
|
||||
|
||||
if (dev->num_addrs) {
|
||||
int k;
|
||||
@ -1080,7 +1078,7 @@ static __init int qemu_print_iodc_data(struct device *lin_dev, void *data)
|
||||
|
||||
|
||||
|
||||
static int print_one_device(struct device * dev, void * data)
|
||||
static __init int print_one_device(struct device * dev, void * data)
|
||||
{
|
||||
struct parisc_device * pdev = to_parisc_device(dev);
|
||||
|
||||
|
@ -153,7 +153,7 @@ CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=power8
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power9,-mtune=power8)
|
||||
else
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mtune=power7,$(call cc-option,-mtune=power5))
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += $(call cc-option,-mcpu=power5,-mcpu=power4)
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=power4
|
||||
endif
|
||||
else ifdef CONFIG_PPC_BOOK3E_64
|
||||
CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=powerpc64
|
||||
|
@ -30,6 +30,7 @@ endif
|
||||
|
||||
BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||
-fno-strict-aliasing -O2 -msoft-float -mno-altivec -mno-vsx \
|
||||
$(call cc-option,-mno-spe) $(call cc-option,-mspe=no) \
|
||||
-pipe -fomit-frame-pointer -fno-builtin -fPIC -nostdinc \
|
||||
$(LINUXINCLUDE)
|
||||
|
||||
|
51
arch/powerpc/boot/dts/fsl/e500v1_power_isa.dtsi
Normal file
51
arch/powerpc/boot/dts/fsl/e500v1_power_isa.dtsi
Normal file
@ -0,0 +1,51 @@
|
||||
/*
|
||||
* e500v1 Power ISA Device Tree Source (include)
|
||||
*
|
||||
* Copyright 2012 Freescale Semiconductor Inc.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
* * Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* * Neither the name of Freescale Semiconductor nor the
|
||||
* names of its contributors may be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
*
|
||||
* ALTERNATIVELY, this software may be distributed under the terms of the
|
||||
* GNU General Public License ("GPL") as published by the Free Software
|
||||
* Foundation, either version 2 of that License or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
* DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
|
||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/ {
|
||||
cpus {
|
||||
power-isa-version = "2.03";
|
||||
power-isa-b; // Base
|
||||
power-isa-e; // Embedded
|
||||
power-isa-atb; // Alternate Time Base
|
||||
power-isa-cs; // Cache Specification
|
||||
power-isa-e.le; // Embedded.Little-Endian
|
||||
power-isa-e.pm; // Embedded.Performance Monitor
|
||||
power-isa-ecl; // Embedded Cache Locking
|
||||
power-isa-mmc; // Memory Coherence
|
||||
power-isa-sp; // Signal Processing Engine
|
||||
power-isa-sp.fs; // SPE.Embedded Float Scalar Single
|
||||
power-isa-sp.fv; // SPE.Embedded Float Vector
|
||||
mmu-type = "power-embedded";
|
||||
};
|
||||
};
|
@ -7,7 +7,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "e500v2_power_isa.dtsi"
|
||||
/include/ "e500v1_power_isa.dtsi"
|
||||
|
||||
/ {
|
||||
model = "MPC8540ADS";
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "e500v2_power_isa.dtsi"
|
||||
/include/ "e500v1_power_isa.dtsi"
|
||||
|
||||
/ {
|
||||
model = "MPC8541CDS";
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "e500v2_power_isa.dtsi"
|
||||
/include/ "e500v1_power_isa.dtsi"
|
||||
|
||||
/ {
|
||||
model = "MPC8555CDS";
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/include/ "e500v2_power_isa.dtsi"
|
||||
/include/ "e500v1_power_isa.dtsi"
|
||||
|
||||
/ {
|
||||
model = "MPC8560ADS";
|
||||
|
@ -330,6 +330,7 @@ struct pci_dn *pci_add_device_node_info(struct pci_controller *hose,
|
||||
INIT_LIST_HEAD(&pdn->list);
|
||||
parent = of_get_parent(dn);
|
||||
pdn->parent = parent ? PCI_DN(parent) : NULL;
|
||||
of_node_put(parent);
|
||||
if (pdn->parent)
|
||||
list_add_tail(&pdn->list, &pdn->parent->child_list);
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/prctl.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
#include <linux/uaccess.h>
|
||||
#include <asm/reg.h>
|
||||
|
@ -892,6 +892,7 @@ static void opal_export_attrs(void)
|
||||
kobj = kobject_create_and_add("exports", opal_kobj);
|
||||
if (!kobj) {
|
||||
pr_warn("kobject_create_and_add() of exports failed\n");
|
||||
of_node_put(np);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -211,8 +211,10 @@ static int fsl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type)
|
||||
dev_err(&pdev->dev,
|
||||
"node %pOF has an invalid fsl,msi phandle %u\n",
|
||||
hose->dn, np->phandle);
|
||||
of_node_put(np);
|
||||
return -EINVAL;
|
||||
}
|
||||
of_node_put(np);
|
||||
}
|
||||
|
||||
for_each_pci_msi_entry(entry, pdev) {
|
||||
|
@ -35,7 +35,7 @@ config RISCV
|
||||
select CLINT_TIMER if !MMU
|
||||
select COMMON_CLK
|
||||
select EDAC_SUPPORT
|
||||
select GENERIC_ARCH_TOPOLOGY if SMP
|
||||
select GENERIC_ARCH_TOPOLOGY
|
||||
select GENERIC_ATOMIC64 if !64BIT
|
||||
select GENERIC_CLOCKEVENTS
|
||||
select GENERIC_EARLY_IOREMAP
|
||||
|
@ -37,6 +37,7 @@ else
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_LD_IS_LLD),y)
|
||||
ifeq ($(shell test $(CONFIG_LLD_VERSION) -lt 150000; echo $$?),0)
|
||||
KBUILD_CFLAGS += -mno-relax
|
||||
KBUILD_AFLAGS += -mno-relax
|
||||
ifneq ($(LLVM_IAS),1)
|
||||
@ -44,6 +45,7 @@ ifneq ($(LLVM_IAS),1)
|
||||
KBUILD_AFLAGS += -Wa,-mno-relax
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# ISA string setting
|
||||
riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
#include "fu540-c000.dtsi"
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/leds/common.h>
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
|
||||
/* Clock frequency (in Hz) of the PCB crystal for rtcclk */
|
||||
#define RTCCLK_FREQ 1000000
|
||||
@ -46,6 +48,42 @@ gpio-restart {
|
||||
compatible = "gpio-restart";
|
||||
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
led-controller {
|
||||
compatible = "pwm-leds";
|
||||
|
||||
led-d1 {
|
||||
pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>;
|
||||
active-low;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
max-brightness = <255>;
|
||||
label = "d1";
|
||||
};
|
||||
|
||||
led-d2 {
|
||||
pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>;
|
||||
active-low;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
max-brightness = <255>;
|
||||
label = "d2";
|
||||
};
|
||||
|
||||
led-d3 {
|
||||
pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>;
|
||||
active-low;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
max-brightness = <255>;
|
||||
label = "d3";
|
||||
};
|
||||
|
||||
led-d4 {
|
||||
pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
|
||||
active-low;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
max-brightness = <255>;
|
||||
label = "d4";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
|
@ -114,9 +114,9 @@ __io_reads_ins(reads, u32, l, __io_br(), __io_ar(addr))
|
||||
__io_reads_ins(ins, u8, b, __io_pbr(), __io_par(addr))
|
||||
__io_reads_ins(ins, u16, w, __io_pbr(), __io_par(addr))
|
||||
__io_reads_ins(ins, u32, l, __io_pbr(), __io_par(addr))
|
||||
#define insb(addr, buffer, count) __insb((void __iomem *)(long)addr, buffer, count)
|
||||
#define insw(addr, buffer, count) __insw((void __iomem *)(long)addr, buffer, count)
|
||||
#define insl(addr, buffer, count) __insl((void __iomem *)(long)addr, buffer, count)
|
||||
#define insb(addr, buffer, count) __insb(PCI_IOBASE + (addr), buffer, count)
|
||||
#define insw(addr, buffer, count) __insw(PCI_IOBASE + (addr), buffer, count)
|
||||
#define insl(addr, buffer, count) __insl(PCI_IOBASE + (addr), buffer, count)
|
||||
|
||||
__io_writes_outs(writes, u8, b, __io_bw(), __io_aw())
|
||||
__io_writes_outs(writes, u16, w, __io_bw(), __io_aw())
|
||||
@ -128,22 +128,22 @@ __io_writes_outs(writes, u32, l, __io_bw(), __io_aw())
|
||||
__io_writes_outs(outs, u8, b, __io_pbw(), __io_paw())
|
||||
__io_writes_outs(outs, u16, w, __io_pbw(), __io_paw())
|
||||
__io_writes_outs(outs, u32, l, __io_pbw(), __io_paw())
|
||||
#define outsb(addr, buffer, count) __outsb((void __iomem *)(long)addr, buffer, count)
|
||||
#define outsw(addr, buffer, count) __outsw((void __iomem *)(long)addr, buffer, count)
|
||||
#define outsl(addr, buffer, count) __outsl((void __iomem *)(long)addr, buffer, count)
|
||||
#define outsb(addr, buffer, count) __outsb(PCI_IOBASE + (addr), buffer, count)
|
||||
#define outsw(addr, buffer, count) __outsw(PCI_IOBASE + (addr), buffer, count)
|
||||
#define outsl(addr, buffer, count) __outsl(PCI_IOBASE + (addr), buffer, count)
|
||||
|
||||
#ifdef CONFIG_64BIT
|
||||
__io_reads_ins(reads, u64, q, __io_br(), __io_ar(addr))
|
||||
#define readsq(addr, buffer, count) __readsq(addr, buffer, count)
|
||||
|
||||
__io_reads_ins(ins, u64, q, __io_pbr(), __io_par(addr))
|
||||
#define insq(addr, buffer, count) __insq((void __iomem *)addr, buffer, count)
|
||||
#define insq(addr, buffer, count) __insq(PCI_IOBASE + (addr), buffer, count)
|
||||
|
||||
__io_writes_outs(writes, u64, q, __io_bw(), __io_aw())
|
||||
#define writesq(addr, buffer, count) __writesq(addr, buffer, count)
|
||||
|
||||
__io_writes_outs(outs, u64, q, __io_pbr(), __io_paw())
|
||||
#define outsq(addr, buffer, count) __outsq((void __iomem *)addr, buffer, count)
|
||||
#define outsq(addr, buffer, count) __outsq(PCI_IOBASE + (addr), buffer, count)
|
||||
#endif
|
||||
|
||||
#include <asm-generic/io.h>
|
||||
|
@ -470,6 +470,7 @@ extern void *dtb_early_va;
|
||||
extern uintptr_t dtb_early_pa;
|
||||
void setup_bootmem(void);
|
||||
void paging_init(void);
|
||||
void misc_mem_init(void);
|
||||
|
||||
#define FIRST_USER_ADDRESS 0
|
||||
|
||||
|
@ -111,6 +111,8 @@ int copy_thread(unsigned long clone_flags, unsigned long usp, unsigned long arg,
|
||||
{
|
||||
struct pt_regs *childregs = task_pt_regs(p);
|
||||
|
||||
memset(&p->thread.s, 0, sizeof(p->thread.s));
|
||||
|
||||
/* p->thread holds context to be restored by __switch_to() */
|
||||
if (unlikely(p->flags & PF_KTHREAD)) {
|
||||
/* Kernel thread */
|
||||
|
@ -54,10 +54,17 @@ static DEFINE_PER_CPU(struct cpu, cpu_devices);
|
||||
static void __init parse_dtb(void)
|
||||
{
|
||||
/* Early scan of device tree from init memory */
|
||||
if (early_init_dt_scan(dtb_early_va))
|
||||
return;
|
||||
if (early_init_dt_scan(dtb_early_va)) {
|
||||
const char *name = of_flat_dt_get_machine_name();
|
||||
|
||||
if (name) {
|
||||
pr_info("Machine model: %s\n", name);
|
||||
dump_stack_set_arch_desc("%s (DT)", name);
|
||||
}
|
||||
} else {
|
||||
pr_err("No DTB passed to the kernel\n");
|
||||
}
|
||||
|
||||
pr_err("No DTB passed to the kernel\n");
|
||||
#ifdef CONFIG_CMDLINE_FORCE
|
||||
strlcpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE);
|
||||
pr_info("Forcing kernel command line to: %s\n", boot_command_line);
|
||||
@ -89,6 +96,8 @@ void __init setup_arch(char **cmdline_p)
|
||||
else
|
||||
pr_err("No DTB found in kernel mappings\n");
|
||||
#endif
|
||||
early_init_fdt_scan_reserved_mem();
|
||||
misc_mem_init();
|
||||
|
||||
#ifdef CONFIG_SWIOTLB
|
||||
swiotlb_init(1);
|
||||
|
@ -46,6 +46,8 @@ void __init smp_prepare_cpus(unsigned int max_cpus)
|
||||
int cpuid;
|
||||
int ret;
|
||||
|
||||
store_cpu_topology(smp_processor_id());
|
||||
|
||||
/* This covers non-smp usecase mandated by "nosmp" option */
|
||||
if (max_cpus == 0)
|
||||
return;
|
||||
@ -152,8 +154,8 @@ asmlinkage __visible void smp_callin(void)
|
||||
mmgrab(mm);
|
||||
current->active_mm = mm;
|
||||
|
||||
store_cpu_topology(curr_cpuid);
|
||||
notify_cpu_starting(curr_cpuid);
|
||||
update_siblings_masks(curr_cpuid);
|
||||
set_cpu_online(curr_cpuid, 1);
|
||||
|
||||
/*
|
||||
|
@ -18,9 +18,6 @@ static long riscv_sys_mmap(unsigned long addr, unsigned long len,
|
||||
if (unlikely(offset & (~PAGE_MASK >> page_shift_offset)))
|
||||
return -EINVAL;
|
||||
|
||||
if (unlikely((prot & PROT_WRITE) && !(prot & PROT_READ)))
|
||||
return -EINVAL;
|
||||
|
||||
return ksys_mmap_pgoff(addr, len, prot, flags, fd,
|
||||
offset >> (PAGE_SHIFT - page_shift_offset));
|
||||
}
|
||||
|
@ -17,6 +17,7 @@ vdso-syms += flush_icache
|
||||
obj-vdso = $(patsubst %, %.o, $(vdso-syms)) note.o
|
||||
|
||||
ccflags-y := -fno-stack-protector
|
||||
ccflags-y += -DDISABLE_BRANCH_PROFILING
|
||||
|
||||
ifneq ($(c-gettimeofday-y),)
|
||||
CFLAGS_vgettimeofday.o += -fPIC -include $(c-gettimeofday-y)
|
||||
@ -28,9 +29,12 @@ obj-vdso := $(addprefix $(obj)/, $(obj-vdso))
|
||||
|
||||
obj-y += vdso.o vdso-syms.o
|
||||
CPPFLAGS_vdso.lds += -P -C -U$(ARCH)
|
||||
ifneq ($(filter vgettimeofday, $(vdso-syms)),)
|
||||
CPPFLAGS_vdso.lds += -DHAS_VGETTIMEOFDAY
|
||||
endif
|
||||
|
||||
# Disable -pg to prevent insert call site
|
||||
CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE) -Os
|
||||
CFLAGS_REMOVE_vgettimeofday.o = $(CC_FLAGS_FTRACE)
|
||||
|
||||
# Disable profiling and instrumentation for VDSO code
|
||||
GCOV_PROFILE := n
|
||||
|
@ -64,9 +64,11 @@ VERSION
|
||||
LINUX_4.15 {
|
||||
global:
|
||||
__vdso_rt_sigreturn;
|
||||
#ifdef HAS_VGETTIMEOFDAY
|
||||
__vdso_gettimeofday;
|
||||
__vdso_clock_gettime;
|
||||
__vdso_clock_getres;
|
||||
#endif
|
||||
__vdso_getcpu;
|
||||
__vdso_flush_icache;
|
||||
local: *;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user