Merge tag 'android12-5.10.168_r00' into android12-5.10
This is the merge of the upstream LTS release of 5.10.168 into the android12-5.10 branch. It contains the following commits: *b34e092097
Revert "nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property" *570621d64f
Merge 5.10.168 into android12-5.10-lts |\ | *707c48210a
Linux 5.10.168 | *0a626e27f9
Fix page corruption caused by racy check in __free_pages | *0ef2490a87
arm64: dts: meson-axg: Make mmc host controller interrupts level-sensitive | *5bfc8f0961
arm64: dts: meson-g12-common: Make mmc host controller interrupts level-sensitive | *809f4acb7f
arm64: dts: meson-gx: Make mmc host controller interrupts level-sensitive | *8eee3521bc
riscv: Fixup race condition on PG_dcache_clean in flush_icache_pte | *6ff8b48253
ceph: flush cap releases when the session is flushed | *4f518a4a79
usb: typec: altmodes/displayport: Fix probe pin assign check | *f25fa93e52
usb: core: add quirk for Alcor Link AK9563 smartcard reader | *dd965ad39d
btrfs: free device in btrfs_close_devices for a single device filesystem | *1be271c52b
net: USB: Fix wrong-direction WARNING in plusb.c | *2b693fe3f7
cifs: Fix use-after-free in rdata->read_into_pages() | *bbc8509044
pinctrl: intel: Restore the pins that used to be in Direct IRQ mode | *4863f46dda
spi: dw: Fix wrong FIFO level setting for long xfers | *6e2a0521e4
pinctrl: single: fix potential NULL dereference | *61f8a493c0
pinctrl: aspeed: Fix confusing types in return value | *ef3edede7b
ALSA: pci: lx6464es: fix a debug loop | *3914b71dad
selftests: forwarding: lib: quote the sysctl values | *c53f34ec3f
rds: rds_rm_zerocopy_callback() use list_first_entry() | *3eb04ef278
net/mlx5: fw_tracer, Zero consumer index when reloading the tracer | *fac1fb8008
net/mlx5: fw_tracer, Clear load bit when freeing string DBs buffers | *703c3efa4b
net/mlx5e: IPoIB, Show unknown speed instead of error | *896bd85688
net: mscc: ocelot: fix VCAP filters not matching on MAC with "protocol 802.1Q" | *1ad4112c9f
ice: Do not use WQ_MEM_RECLAIM flag for workqueue | *34a5af788e
uapi: add missing ip/ipv6 header dependencies for linux/stddef.h | *4259a40827
ionic: clean interrupt before enabling queue to avoid credit race | *07097ad30b
net: phy: meson-gxl: use MMD access dummy stubs for GXL, internal PHY | *cafa2ad4f1
bonding: fix error checking in bond_debug_reregister() | *30fdf66035
xfrm: fix bug with DSCP copy to v6 from v4 tunnel | *491b7a5fc8
RDMA/usnic: use iommu_map_atomic() under spin_lock() | *b1afb666c3
IB/IPoIB: Fix legacy IPoIB due to wrong number of queues | *a893cc6448
xfrm/compat: prevent potential spectre v1 gadget in xfrm_xlate32_attr() | *79b595d959
IB/hfi1: Restore allocated resources on failed copyout | *3797e94c19
xfrm: compat: change expression for switch in xfrm_xlate64 | *bc9771cd63
can: j1939: do not wait 250 ms if the same addr was already claimed | *edaf5c7183
of/address: Return an error when no valid dma-ranges are found | *b7d5fa8052
tracing: Fix poll() and select() do not work on per_cpu trace_pipe and trace_pipe_raw | *35452bf986
ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro 360 | *e1646e2be9
ALSA: emux: Avoid potential array out-of-bound in snd_emux_xg_control() | *1c65762399
ALSA: hda/realtek: Add Positivo N14KP6-TG | *f1fd16cd97
btrfs: zlib: zero-initialize zlib workspace | *a1406d5aa3
btrfs: limit device extents to the device size | *dbe5a11954
migrate: hugetlb: check for hugetlb shared PMD in node migration | *97a5104d64
mm/migration: return errno when isolate_huge_page failed | *91ad3104b2
iio:adc:twl6030: Enable measurement of VAC | *e4c3ea9b60
bpf: Do not reject when the stack read size is different from the tracked scalar size | *34ec4c7831
nvmem: core: Fix a conflict between MTD and NVMEM on wp-gpios property | *b2e4128795
wifi: brcmfmac: Check the count value of channel spec to prevent out-of-bounds reads | *914e38f02a
f2fs: fix to do sanity check on i_extra_isize in is_alive() | *3931014367
fbdev: smscufx: fix error handling code in ufx_usb_probe | *6c8a2c67a9
serial: 8250_dma: Fix DMA Rx rearm race | *967e726e57
serial: 8250_dma: Fix DMA Rx completion race | *1fd7a6a579
nvmem: core: fix cell removal on error | *bb875f0a34
nvmem: core: initialise nvmem->id early | *b591abac78
drm/i915: Fix potential bit_17 double-free | *5c4d4a83bf
Squashfs: fix handling and sanity checking of xattr_ids count | *30187be290
mm/swapfile: add cond_resched() in get_swap_pages() | *639b40007a
fpga: stratix10-soc: Fix return value check in s10_ops_write_init() | *0139d61d28
x86/debug: Fix stack recursion caused by wrongly ordered DR7 accesses | *556959327b
mm: hugetlb: proc: check for hugetlb shared PMD in /proc/PID/smaps | *50d31309c9
riscv: disable generation of unwind tables | *71a4f39f99
parisc: Wire up PTRACE_GETREGS/PTRACE_SETREGS for compat case | *2982b473d7
parisc: Fix return code of pdc_iodc_print() | *170e1cc3c0
nvmem: qcom-spmi-sdam: fix module autoloading | *f11330b7ba
iio: imu: fxos8700: fix MAGN sensor scale and unit | *5b30998c7f
iio: imu: fxos8700: remove definition FXOS8700_CTRL_ODR_MIN | *42e34a0839
iio: imu: fxos8700: fix failed initialization ODR mode assignment | *ab976ecd04
iio: imu: fxos8700: fix incorrect ODR mode readback | *9d6502ed63
iio: imu: fxos8700: fix swapped ACCEL and MAGN channels readback | *aff4add609
iio: imu: fxos8700: fix map label of channel type to MAGN sensor | *9545ce720a
iio: imu: fxos8700: fix IMU data bits returned to user space | *6d43eddc56
iio: imu: fxos8700: fix incomplete ACCEL and MAGN channels readback | *f7d996c953
iio: imu: fxos8700: fix ACCEL measurement range selection | *11ac43f763
iio:adc:twl6030: Enable measurements of VUSB, VBAT and others | *5602f6a244
iio: adc: berlin2-adc: Add missing of_node_put() in error path | *33483172b3
iio: hid: fix the retval in accel_3d_capture_sample | *55cf65461b
efi: Accept version 2 of memory attributes table | *8fb515c8b1
ALSA: hda/realtek: Add Acer Predator PH315-54 | *192fd121d0
watchdog: diag288_wdt: fix __diag288() inline assembly | *5bcdcf437d
watchdog: diag288_wdt: do not use stack buffers for hardware data | *0c76eddc1f
net: qrtr: free memory on error path in radix_tree_insert() | *28d190882b
fbcon: Check font dimension limits | *658e0d99db
Input: i8042 - add Clevo PCX0DX to i8042 quirk table | *a82d493604
Input: i8042 - add TUXEDO devices to i8042 quirk tables | *04d99a0a96
Input: i8042 - merge quirk tables | *ab85074c30
Input: i8042 - move __initconst to fix code styling warning | *55515d7d87
vc_screen: move load of struct vc_data pointer in vcs_read() to avoid UAF | *434a36ed64
usb: gadget: f_fs: Fix unbalanced spinlock in __ffs_ep0_queue_wait | *6e5565aa00
usb: dwc3: qcom: enable vbus override when in OTG dr-mode | *1ca8629505
usb: dwc3: dwc3-qcom: Fix typo in the dwc3 vbus override API | *30d0e2cf99
iio: adc: stm32-dfsdm: fill module aliases | *4bbc34401d
net/x25: Fix to not accept on connected socket | *2b1e8e20b9
platform/x86: dell-wmi: Add a keymap for KEY_MUTE in type 0x0010 table | *ac4d9c86e9
i2c: rk3x: fix a bunch of kernel-doc warnings | *9758ffe1c0
scsi: iscsi_tcp: Fix UAF during login when accessing the shost ipaddress | *1b28bf868f
scsi: target: core: Fix warning on RT kernels | *4e66ba3cfb
i2c: mxs: suppress probe-deferral error message | *d09b0bf9ff
qede: execute xdp_do_flush() before napi_complete_done() | *8aba483f70
qede: add netpoll support for qede driver | *87d4ff1873
efi: fix potential NULL deref in efi_mem_reserve_persistent | *70154489f5
net: openvswitch: fix flow memory leak in ovs_flow_cmd_new | *4fb430c698
virtio-net: Keep stop() to follow mirror sequence of open() | *812236bb6a
selftests: net: udpgso_bench_tx: Cater for pending datagrams zerocopy benchmarking | *9e7e2887cc
selftests: net: udpgso_bench: Fix racing bug between the rx/tx programs | *4babbd1f59
selftests: net: udpgso_bench_rx/tx: Stop when wrong CLI args are provided | *a4a493e599
selftests: net: udpgso_bench_rx: Fix 'used uninitialized' compiler warning | *4d9c962716
ata: libata: Fix sata_down_spd_limit() when no link speed is reported | *b6d4407211
can: j1939: fix errant WARN_ON_ONCE in j1939_session_deactivate | *6362b86170
igc: return an error if the mac type is unknown in igc_ptp_systim_to_hwtstamp() | *98c93a0160
net: phy: meson-gxl: Add generic dummy stubs for MMD register access | *de2785aa34
squashfs: harden sanity check in squashfs_read_xattr_id_table | *f53c6e7e77
netfilter: br_netfilter: disable sabotage_in hook after first suppression | *dd6991251a
netrom: Fix use-after-free caused by accept on already connected socket | *362a2f5531
net: phy: dp83822: Fix null pointer access on DP83825/DP83826 devices | *6824169e74
sfc: correctly advertise tunneled IPv6 segmentation | *539fc3ef51
virtio-net: execute xdp_do_flush() before napi_complete_done() | *63d1c4edbf
fix "direction" argument of iov_iter_kvec() | *0c67fb7775
fix iov_iter_bvec() "direction" argument | *b5437e0ba9
READ is "data destination", not source... | *fefb47a833
WRITE is "data source", not destination... | *f9815b303e
vhost/net: Clear the pending messages when the backend is removed | *de990d1571
scsi: Revert "scsi: core: map PQ=1, PDT=other values to SCSI_SCAN_TARGET_PRESENT" | *d08a9b0ad2
drm/vc4: hdmi: make CEC adapter name unique | *8c6b46d426
arm64: dts: imx8mm: Fix pad control for UART1_DTE_RX | *9bd6074e18
bpf, sockmap: Check for any of tcp_bpf_prots when cloning a listener | *36dbb8daf0
bpf: Fix to preserve reg parent/live fields when copying range info | *8de8c4a25e
bpf: Support <8-byte scalar spill and refill | *2b557fa635
ALSA: hda/via: Avoid potential array out-of-bound in add_secret_dac_path() | *1b1f56cc0e
bpf: Fix a possible task gone issue with bpf_send_signal[_thread]() helpers | *2d0f276d50
powerpc/imc-pmu: Revert nest_init_lock to being a mutex | *9ff2bebc2c
bpf: Fix incorrect state pruning for <8B spill/fill | *60c27e0e37
bus: sunxi-rsb: Fix error handling in sunxi_rsb_init() | *d5a2dcee53
firewire: fix memory leak for payload of request subaction to IEC 61883-1 FCP region * |b405332f4b
Merge 5.10.167 into android12-5.10-lts |\| | *a5acb54d40
Linux 5.10.167 | *6446369fb9
net: fix NULL pointer in skb_segment_list | *0f9db1209f
Bluetooth: fix null ptr deref on hci_sync_conn_complete_evt | *d744c03c04
ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems | *bd0050b7ff
dmaengine: imx-sdma: Fix a possible memory leak in sdma_transfer_init | *19c9a2ba46
blk-cgroup: fix missing pd_online_fn() while activating policy | *a1c0263f1e
bpf: Skip task with pid=1 in send_signal_common() | *f185468631
arm64: dts: imx8mq-thor96: fix no-mmc property for SDHCI | *a26cef0041
ARM: dts: vf610: Fix pca9548 i2c-mux node names | *67a8beb854
ARM: dts: imx: Fix pca9547 i2c-mux node name * |0ddb73d446
Merge 5.10.166 into android12-5.10-lts |\| | *8d823aaa22
Linux 5.10.166 | *19f1f99be3
clk: Fix pointer casting to prevent oops in devm_clk_release() | *f84c9b72fb
perf/x86/amd: fix potential integer overflow on shift of a int | *743435cd17
netfilter: conntrack: unify established states for SCTP paths | *e284c273db
x86/i8259: Mark legacy PIC interrupts with IRQ_LEVEL | *2eca102b35
block: fix and cleanup bio_check_ro | *7fe4fab870
Revert "selftests/ftrace: Update synthetic event syntax errors" | *032a7d5ff5
nfsd: Ensure knfsd shuts down when the "nfsd" pseudofs is unmounted | *8fe3e574b3
nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf | *9f3dd454fe
Revert "Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode" | *230be65a18
tools: gpio: fix -c option of gpio-event-mon | *7ff8128bb1
net: mdio-mux-meson-g12a: force internal PHY off on mux switch | *62a0806eb4
net/tg3: resolve deadlock in tg3_reset_task() during EEH | *e9c1b1e1a0
thermal: intel: int340x: Add locking to int340x_thermal_get_trip_type() | *3af20f6321
net: ravb: Fix possible hang if RIS2_QFF1 happen | *6ef652f35d
sctp: fail if no bound addresses can be used for a given scope | *cf9a2ce038
net/sched: sch_taprio: do not schedule in taprio_reset() | *7de16d75b2
netrom: Fix use-after-free of a listening socket. | *498584ccf4
netfilter: conntrack: fix vtag checks for ABORT/SHUTDOWN_COMPLETE | *7f9828fb1f
ipv4: prevent potential spectre v1 gadget in fib_metrics_match() | *34c6142f0d
ipv4: prevent potential spectre v1 gadget in ip_metrics_convert() | *870a565bd6
netlink: annotate data races around sk_state | *8583f52c23
netlink: annotate data races around dst_portid and dst_group | *eccb532ada
netlink: annotate data races around nlk->portid | *0308b7dfea
netfilter: nft_set_rbtree: skip elements in transaction from garbage collection | *4aacf3d784
netfilter: nft_set_rbtree: Switch to node list walk for overlap detection | *d4c008f3b7
net: fix UaF in netns ops registration error path | *539ca5dcbc
netlink: prevent potential spectre v1 gadgets | *ed173f77fd
i2c: designware: use casting of u64 in clock multiplication to avoid overflow | *8949ef3a7a
i2c: designware: Use DIV_ROUND_CLOSEST() macro | *8ebc2efcb6
units: Add SI metric prefix definitions | *974aaf1180
units: Add Watt units | *76d9ebb7f0
EDAC/qcom: Do not pass llcc_driv_data as edac_device_ctl_info's pvt_info | *511f6c7c40
EDAC/device: Respect any driver-supplied workqueue polling value | *0cb922cef7
ARM: 9280/1: mm: fix warning on phys_addr_t to void pointer assignment | *98d85586aa
thermal: intel: int340x: Protect trip temperature from concurrent updates | *76c5640737
KVM: x86/vmx: Do not skip segment attributes if unusable bit is set | *e037baee16
cifs: Fix oops due to uncleared server->smbd_conn in reconnect | *c42a6e6870
ftrace/scripts: Update the instructions for ftrace-bisect.sh | *886aa44923
trace_events_hist: add check for return value of 'create_hist_field' | *de3930a488
tracing: Make sure trace_printk() can output as soon as it can be used | *083b3dda86
module: Don't wait for GOING modules | *ce3aa76946
scsi: hpsa: Fix allocation size for scsi_host_alloc() | *6da7055826
xhci: Set HCD flag to defer primary roothub registration | *1d580d3e13
Bluetooth: hci_sync: cancel cmd_timer if hci_open failed | *b98a8b731b
exit: Use READ_ONCE() for all oops/warn limit reads | *53f177b504
docs: Fix path paste-o for /sys/kernel/warn_count | *b0bd5dcfa6
panic: Expose "warn_count" to sysfs | *8c99d4c4c1
panic: Introduce warn_limit | *55eba18262
panic: Consolidate open-coded panic_on_warn checks | *530cdae5c2
exit: Allow oops_limit to be disabled | *7cffbcd68f
exit: Expose "oops_count" to sysfs | *de586785b9
exit: Put an upper limit on how often we can oops | *191a3b17dd
panic: Separate sysctl logic from CONFIG_SMP | *1b9a33a94b
ia64: make IA64_MCA_RECOVERY bool instead of tristate | *6d971830da
csky: Fix function name in csky_alignment() and die() | *648d8b8c49
h8300: Fix build errors from do_exit() to make_task_dead() transition | *63d77c5596
hexagon: Fix function name in die() | *b2c178f311
objtool: Add a missing comma to avoid string concatenation | *d9c740c765
exit: Add and use make_task_dead. | *715a63588f
kasan: no need to unset panic_on_warn in end_report() | *b857b42a8c
ubsan: no need to unset panic_on_warn in ubsan_epilogue() | *590ba6fee0
panic: unset panic_on_warn inside panic() | *e97ec099d7
kernel/panic: move panic sysctls to its own file | *e6226917f4
sysctl: add a new register_sysctl_init() interface | *c4097e844a
fs: reiserfs: remove useless new_opts in reiserfs_remount | *1f6768143b
x86: ACPI: cstate: Optimize C3 entry on AMD CPUs | *5fb884d748
netfilter: conntrack: do not renew entry stuck in tcp SYN_SENT state | *a7345145e7
Revert "selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID" | *20a02bc845
lockref: stop doing cpu_relax in the cmpxchg loop | *f8ddf7dbf5
platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK | *9968f9a862
platform/x86: touchscreen_dmi: Add info for the CSL Panther Tab HD | *52249c2168
scsi: hisi_sas: Set a port invalid only if there are no devices attached when refreshing port id | *71bd134c4e
KVM: s390: interrupt: use READ_ONCE() before cmpxchg() | *300da569a1
spi: spidev: remove debug messages that access spidev->spi without locking | *a84def9b10
ASoC: fsl-asoc-card: Fix naming of AC'97 CODEC widgets | *d9a0752a6a
ASoC: fsl_ssi: Rename AC'97 streams to avoid collisions with AC'97 CODEC | *00f2301611
cpufreq: armada-37xx: stop using 0 as NULL pointer | *2ca345d19c
s390/debug: add _ASM_S390_ prefix to header guard | *ae108a5fc9
drm: Add orientation quirk for Lenovo ideapad D330-10IGL | *96f4899a38
ASoC: fsl_micfil: Correct the number of steps on SX controls | *3b154d5204
kcsan: test: don't put the expect array on the stack | *b75e9fc402
cpufreq: Add Tegra234 to cpufreq-dt-platdev blocklist | *6bc564f3fe
scsi: iscsi: Fix multiple iSCSI session unbind events sent to userspace | *d79e700680
tcp: fix rate_app_limited to default to 1 | *a84240df70
net: dsa: microchip: ksz9477: port map correction in ALU table entry register | *704a423c93
driver core: Fix test_async_probe_init saves device in wrong array | *216f35db6e
w1: fix WARNING after calling w1_process() | *8e5be0ae55
w1: fix deadloop in __w1_remove_master_device() | *ddf16dae65
tcp: avoid the lookup process failing to get sk in ehash table | *5f10f7efe0
nvme-pci: fix timeout request state check | *98519ed691
dmaengine: xilinx_dma: call of_node_put() when breaking out of for_each_child_of_node() | *28fc6095da
HID: betop: check shape of output reports | *16791d5a7a
l2tp: prevent lockdep issue in l2tp_tunnel_register() | *f96b2f6908
net: macb: fix PTP TX timestamp failure due to packet padding | *42ecd72f02
dmaengine: Fix double increment of client_count in dma_chan_get() | *1e97e2e08e
drm/panfrost: fix GENERIC_ATOMIC64 dependency | *31f63c62a8
net: mlx5: eliminate anonymous module_init & module_exit | *4b3b5cc1a7
usb: gadget: f_fs: Ensure ep0req is dequeued before free_request | *6dd9ea0553
usb: gadget: f_fs: Prevent race during ffs_ep0_queue_wait | *55be77aa89
HID: revert CHERRY_MOUSE_000C quirk | *34f1194993
net: stmmac: fix invalid call to mdiobus_get_phy() | *20fd459876
HID: check empty report_list in bigben_probe() | *5dc3469a11
HID: check empty report_list in hid_validate_values() | *4bc5f1f6bc
net: mdio: validate parameter addr in mdiobus_get_phy() | *67866b1e0a
net: usb: sr9700: Handle negative len | *2d77e5c0ad
l2tp: close all race conditions in l2tp_tunnel_register() | *76c640d6a1
l2tp: convert l2tp_tunnel_list to idr | *5b209b8c99
l2tp: Don't sleep and disable BH under writer-side sk_callback_lock | *e34a965f77
l2tp: Serialize access to sk_user_data with sk_callback_lock | *c60fe70078
net/sched: sch_taprio: fix possible use-after-free | *802fd7623e
wifi: rndis_wlan: Prevent buffer overflow in rndis_query_oid | *1af8071bd0
gpio: mxc: Always set GPIOs used as interrupt source to INPUT mode | *613020d048
net: wan: Add checks for NULL for utdm in undo_uhdlc_init and unmap_si_regs | *ad1baab3a5
net: nfc: Fix use-after-free in local_cleanup() | *2a0156a4aa
phy: rockchip-inno-usb2: Fix missing clk_disable_unprepare() in rockchip_usb2phy_power_on() | *da75dec7c6
bpf: Fix pointer-leak due to insufficient speculative store bypass mitigation | *f351af45e2
amd-xgbe: Delay AN timeout during KR training | *a65a8727a2
amd-xgbe: TX Flow Ctrl Registers are h/w ver dependent | *aa8b584cec
ARM: dts: at91: sam9x60: fix the ddr clock for sam9x60 | *fa566549a1
phy: ti: fix Kconfig warning and operator precedence | *b18490138d
PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe() | *39ab0fc498
affs: initialize fsdata in affs_truncate() | *f6fa12fbb1
IB/hfi1: Remove user expected buffer invalidate race | *6ce4382bd1
IB/hfi1: Immediately remove invalid memory from hardware | *6dd8136fd1
IB/hfi1: Fix expected receive setup error exit issues | *ee474dd66e
IB/hfi1: Reserve user expected TIDs | *73e5666bf3
IB/hfi1: Reject a zero-length user expected buffer | *d66c1d4178
RDMA/core: Fix ib block iterator counter overflow | *eab7a92037
tomoyo: fix broken dependency on *.conf.default | *6813d8ba7d
firmware: arm_scmi: Harden shared memory access in fetch_notification | *e85df1db28
firmware: arm_scmi: Harden shared memory access in fetch_response | *329fbd2603
EDAC/highbank: Fix memory leak in highbank_mc_probe() | *7b4516ba56
HID: intel_ish-hid: Add check for ishtp_dma_tx_map | *d775671dcc
ARM: imx: add missing of_node_put() | *5c1dcedd52
arm64: dts: imx8mm-beacon: Fix ecspi2 pinmux | *cccb0aea9c
ARM: dts: imx6qdl-gw560x: Remove incorrect 'uart-has-rtscts' | *6805e392f5
ARM: dts: imx7d-pico: Use 'clock-frequency' | *2a3c3a01e2
ARM: dts: imx6ul-pico-dwarf: Use 'clock-frequency' | *e57ea0c6ba
memory: mvebu-devbus: Fix missing clk_disable_unprepare in mvebu_devbus_probe() | *53f55d6e07
memory: atmel-sdramc: Fix missing clk_disable_unprepare in atmel_ramc_probe() | *935ec78de5
clk: Provide new devm_clk helpers for prepared and enabled clocks | *0b8b21c0b3
clk: generalize devm_clk_get() a bit * |e5ea3c44c8
Revert "xhci: Add update_hub_device override for PCI xHCI hosts" * |a73c1dbdd5
Revert "xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables" * |fa89210a0e
Revert "xhci: Add a flag to disable USB3 lpm on a xhci root port level." * |78da590924
Merge 5.10.165 into android12-5.10-lts |\| | *179624a57b
Linux 5.10.165 | *e699cce29a
io_uring/rw: remove leftover debug statement | *3d5f181bda
io_uring/rw: ensure kiocb_end_write() is always called | *c1a279d79e
io_uring: fix double poll leak on repolling | *ddaaadf22b
io_uring: Clean up a false-positive warning from GCC 9.3.0 | *8bc72b4952
mm/khugepaged: fix collapse_pte_mapped_thp() to allow anon_vma | *217721b763
Bluetooth: hci_qca: Fixed issue during suspend | *c208f1e84a
Bluetooth: hci_qca: check for SSR triggered flag while suspend | *ef11bc4bb9
Bluetooth: hci_qca: Wait for SSR completion during suspend | *c392c350a0
soc: qcom: apr: Make qcom,protection-domain optional again | *71e5cd1018
Revert "wifi: mac80211: fix memory leak in ieee80211_if_add()" | *be1067427a
net/mlx5: fix missing mutex_unlock in mlx5_fw_fatal_reporter_err_work() | *f6c201b438
net/ulp: use consistent error code when blocking ULP | *fc2491562a
io_uring/net: fix fast_iov assignment in io_setup_async_msg() | *89a77271d2
io_uring: io_kiocb_update_pos() should not touch file for non -1 offset | *c6e3c12ff9
tracing: Use alignof__(struct {type b;}) instead of offsetof() | *03ba86bb38
x86/fpu: Use _Alignof to avoid undefined behavior in TYPE_ALIGN | *2f45b20c39
Revert "drm/amdgpu: make display pinning more flexible (v2)" | *d6544bccc1
efi: rt-wrapper: Add missing include | *4012603cbd
arm64: efi: Execute runtime services from a dedicated stack | *bf1d287c14
drm/amd/display: Fix COLOR_SPACE_YCBCR2020_TYPE matrix | *75105d943d
drm/amd/display: Calculate output_color_space after pixel encoding adjustment | *a3ef532483
drm/amd/display: Fix set scaling doesn's work | *59590f50ec
drm/i915: re-disable RC6p on Sandy Bridge | *d960fff8e2
mei: me: add meteor lake point M DID | *ae2a9dcc8c
gsmi: fix null-deref in gsmi_get_variable | *a75e80d118
serial: atmel: fix incorrect baudrate setup | *5a7a040795
dmaengine: tegra210-adma: fix global intr clear | *c9da2cb968
serial: pch_uart: Pass correct sg to dma_unmap_sg() | *e924f79e67
dt-bindings: phy: g12a-usb3-pcie-phy: fix compatible string documentation | *31132df12a
dt-bindings: phy: g12a-usb2-phy: fix compatible string documentation | *a9f2658a01
usb-storage: apply IGNORE_UAS only for HIKSEMI MD202 on RTL9210 | *e92c700591
usb: gadget: f_ncm: fix potential NULL ptr deref in ncm_bitrate() | *06600ae7e0
usb: gadget: g_webcam: Send color matching descriptor per frame | *6107a8f15c
usb: typec: altmodes/displayport: Fix pin assignment calculation | *d26f38d16f
usb: typec: altmodes/displayport: Add pin assignment helper | *9c58f1e9e6
usb: host: ehci-fsl: Fix module alias | *3dc896db02
USB: serial: cp210x: add SCALANCE LPE-9000 device id | *856e4b5e53
USB: gadgetfs: Fix race between mounting and unmounting | *894681682d
tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer | *c4ab24e333
thunderbolt: Use correct function to calculate maximum USB3 link rate | *531268a875
cifs: do not include page data when checking signature | *3bd4337485
btrfs: fix race between quota rescan and disable leading to NULL pointer deref | *6ee8feca91
mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting | *79819909c2
mmc: sunxi-mmc: Fix clock refcount imbalance during unbind | *2eed23765b
comedi: adv_pci1760: Fix PWM instruction handling | *7efeed828c
usb: core: hub: disable autosuspend for TI TUSB8041 | *b171d0d2cf
misc: fastrpc: Fix use-after-free race condition for maps | *193cd85314
misc: fastrpc: Don't remove map on creater_process and device_release | *e0db5d44bc
USB: misc: iowarrior: fix up header size for USB_DEVICE_ID_CODEMERCS_IOW100 | *20d0dedc7a
staging: vchiq_arm: fix enum vchiq_status return types | *a06e9ec5ab
USB: serial: option: add Quectel EM05CN modem | *2f44c60bb8
USB: serial: option: add Quectel EM05CN (SG) modem | *fcd49b2309
USB: serial: option: add Quectel EC200U modem | *21c5b61812
USB: serial: option: add Quectel EM05-G (RS) modem | *46b898f934
USB: serial: option: add Quectel EM05-G (CS) modem | *3774654f7a
USB: serial: option: add Quectel EM05-G (GR) modem | *9f8e45720e
prlimit: do_prlimit needs to have a speculation check | *96562a23cf
xhci: Detect lpm incapable xHC USB3 roothub ports from ACPI tables | *2551f8cbf2
usb: acpi: add helper to check port lpm capability using acpi _DSM | *4d70a8a9ab
xhci: Add a flag to disable USB3 lpm on a xhci root port level. | *83e3a5be74
xhci: Add update_hub_device override for PCI xHCI hosts | *081105213f
xhci: Fix null pointer dereference when host dies | *66fc160085
usb: xhci: Check endpoint is valid before dereferencing it | *8ca60d59b9
xhci-pci: set the dma max_seg_size | *ea2e6286e3
io_uring/rw: defer fsnotify calls to task context | *e90cfb9699
io_uring: do not recalculate ppos unnecessarily | *ea528ecac3
io_uring: update kiocb->ki_pos at execution time | *076f872314
io_uring: remove duplicated calls to io_kiocb_ppos | *e9c6556708
io_uring: ensure that cached task references are always put on exit | *e0140e9da3
io_uring: fix CQ waiting timeout handling | *de77faee28
io_uring: lock overflowing for IOPOLL | *78e8151f04
io_uring: check for valid register opcode earlier | *aa4c9b3e45
io_uring: fix async accept on O_NONBLOCK sockets | *4bc17e6381
io_uring: allow re-poll if we made progress | *f901b4bfd0
io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG) | *96ccba4a1a
io_uring: add flag for disabling provided buffer recycling | *aadd9b0930
io_uring: ensure recv and recvmsg handle MSG_WAITALL correctly | *abdc16c836
io_uring: improve send/recv error handling | *2fd232bbd6
io_uring: don't gate task_work run on TIF_NOTIFY_SIGNAL | *e84ec6e25d
Bluetooth: hci_qca: Fix driver shutdown on closed serdev | *1ab0098333
Bluetooth: hci_qca: Wait for timeout during suspend | *413638f615
drm/i915/gt: Reset twice | *cab2123567
ALSA: hda/realtek - Turn on power early | *5822baf950
efi: fix userspace infinite retry read efivars after EFI runtime services page fault | *712bd74ecc
nilfs2: fix general protection fault in nilfs_btree_insert() | *03bf73e09a
zonefs: Detect append writes at invalid locations | *20d0a6d17e
Add exception protection processing for vd in axi_chan_handle_err function | *187523fa7c
wifi: mac80211: sdata can be NULL during AMPDU start | *2d1fd99e8e
wifi: brcmfmac: fix regression for Broadcom PCIe wifi devices | *72009139a6
f2fs: let's avoid panic if extent_tree is not created | *bf6c7f1801
x86/asm: Fix an assembler warning with current binutils | *18bd1c9c02
btrfs: always report error in run_one_delayed_ref() | *936b8b15a2
RDMA/srp: Move large values to a new enum for gcc13 | *0040e48492
net/ethtool/ioctl: return -EOPNOTSUPP if we have no phy stats | *f7845de23f
tools/virtio: initialize spinlocks in vring_test.c | *3093027183
selftests/bpf: check null propagation only neither reg is PTR_TO_BTF_ID | *c7c36bb6ea
pNFS/filelayout: Fix coalescing test for single DS | *2cbd815970
btrfs: fix trace event name typo for FLUSH_DELAYED_REFS * |1e32d1c96a
Revert "xhci: Prevent infinite loop in transaction errors recovery for streams" * |b0d4a37a43
Merge 5.10.164 into android12-5.10-lts |\| | *3a9f1b907b
Linux 5.10.164 | *74985c5757
Revert "usb: ulpi: defer ulpi_register on ulpi_read_id timeout" | *a88a0d16e1
io_uring/io-wq: only free worker if it was allocated for creation | *b912ed1363
io_uring/io-wq: free worker if task_work creation is canceled | *68bcd06385
drm/virtio: Fix GEM handle creation UAF | *4ca71bc0e1
efi: fix NULL-deref in init error path | *057f5ddfbc
arm64: cmpxchg_double*: hazard against entire exchange variable | *9a5fd0844e
arm64: atomics: remove LL/SC trampolines | *28840e46ea
arm64: atomics: format whitespace consistently | *5dac4c7212
x86/resctrl: Fix task CLOSID/RMID update race | *446c7251f0
x86/resctrl: Use task_curr() instead of task_struct->on_cpu to prevent unnecessary IPI | *196c6f0c3e
KVM: x86: Do not return host topology information from KVM_GET_SUPPORTED_CPUID | *0027164b24
Documentation: KVM: add API issues section | *caaea2ab6b
iommu/mediatek-v1: Fix an error handling path in mtk_iommu_v1_probe() | *cf38e76241
iommu/mediatek-v1: Add error handle for mtk_iommu_probe | *60806adc9b
mm: Always release pages to the buddy allocator in memblock_free_late(). | *092f0c2d1f
net/mlx5e: Don't support encap rules with gbp option | *b3d47227f0
net/mlx5: Fix ptp max frequency adjustment range | *453277feb4
net/sched: act_mpls: Fix warning during failed attribute validation | *0ca78c9965
nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame() | *92b30a27e4
hvc/xen: lock console list traversal | *14e72a56e1
octeontx2-af: Fix LMAC config in cgx_lmac_rx_tx_enable | *8e2bfcfaab
octeontx2-af: Map NIX block from CGX connection | *d9be5b57ab
octeontx2-af: Update get/set resource count functions | *0d0675bc33
tipc: fix unexpected link reset due to discovery messages | *d83cac6c00
ASoC: wm8904: fix wrong outputs volume after power reactivation | *d4aa749e04
regulator: da9211: Use irq handler when ready | *3ca8ef4d91
EDAC/device: Fix period calculation in edac_device_reset_delay_period() | *28b9a0e216
x86/boot: Avoid using Intel mnemonics in AT&T syntax asm | *8cbeb60320
powerpc/imc-pmu: Fix use of mutex in IRQs disabled section | *4e6a70fd84
netfilter: ipset: Fix overflow before widen in the bitmap_ip_create() function. | *a3a1114aa6
xfrm: fix rcu lock in xfrm_notify_userpolicy() | *091f85db4c
ext4: fix uninititialized value in 'ext4_evict_inode' | *98407a4ae3
usb: ulpi: defer ulpi_register on ulpi_read_id timeout | *3d13818a99
xhci: Prevent infinite loop in transaction errors recovery for streams | *2f90fcedc5
xhci: move and rename xhci_cleanup_halted_endpoint() | *cad965cedb
xhci: store TD status in the td struct instead of passing it along | *9b63a80c45
xhci: move xhci_td_cleanup so it can be called by more functions | *44c635c60f
xhci: Add xhci_reset_halted_ep() helper function | *10287d18f5
xhci: adjust parameters passed to cleanup_halted_endpoint() | *aaaa7cc4ab
xhci: get isochronous ring directly from endpoint structure | *a81ace0656
xhci: Avoid parsing transfer events several times | *ba20d6056b
clk: imx: imx8mp: add shared clk gate for usb suspend clk | *2b331d2137
dt-bindings: clocks: imx8mp: Add ID for usb suspend clock | *cb769960ef
clk: imx8mp: add clkout1/2 support | *85eaaa17c0
clk: imx8mp: Add DISP2 pixel clock | *6b21077146
iommu/amd: Fix ill-formed ivrs_ioapic, ivrs_hpet and ivrs_acpihid options | *5badda810f
iommu/amd: Add PCI segment support for ivrs_[ioapic/hpet/acpihid] commands | *ab9bb65b85
bus: mhi: host: Fix race between channel preparation and M0 event | *6c9e2c11c3
ipv6: raw: Deduct extension header length in rawv6_push_pending_frames | *112df4cd2b
ixgbe: fix pci device refcount leak | *f401062d8d
platform/x86: sony-laptop: Don't turn off 0x153 keyboard backlight during probe | *785607e5e6
drm/msm/dp: do not complete dp_aux_cmd_fifo_tx() if irq is not for aux transfer | *8c71777b6a
drm/msm/adreno: Make adreno quirks not overwrite each other | *afb6063aa8
cifs: Fix uninitialized memory read for smb311 posix symlink create | *51dbedee2f
s390/percpu: add READ_ONCE() to arch_this_cpu_to_op_simple() | *bddb355267
s390/cpum_sf: add READ_ONCE() semantics to compare and swap loops | *2adc64f3e6
ASoC: qcom: lpass-cpu: Fix fallback SD line index handling | *5ee3083307
s390/kexec: fix ipl report address for kdump | *d1725dbf23
perf auxtrace: Fix address filter duplicate symbol selection | *eaabceae1b
docs: Fix the docs build with Sphinx 6.0 | *38c4a17c6b
efi: tpm: Avoid READ_ONCE() for accessing the event log | *c47883105c
KVM: arm64: Fix S1PTW handling on RO memslots | *443b390f2c
ALSA: hda/realtek: Enable mute/micmute LEDs on HP Spectre x360 13-aw0xxx | *550efeff98
netfilter: nft_payload: incorrect arithmetics when fetching VLAN header bits * |2702f09758
Revert "ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire" * |5417a09eec
Revert "ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio" * |c35badfe0d
Revert "net: add atomic_long_t to net_device_stats fields" * |f1242cd146
Revert "PM/devfreq: governor: Add a private governor_data for governor" * |4922049993
Merge 5.10.163 into android12-5.10-lts |\| | *19ff2d645f
Linux 5.10.163 | *de4a20e148
ALSA: hda - Enable headset mic on another Dell laptop with ALC3254 | *0ad275c139
ALSA: hda/hdmi: Add a HP device 0x8715 to force connect list | *df02234e6b
ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF | *f8ed0a93b5
net/ulp: prevent ULP without clone op from entering the LISTEN status | *9f7bc28a6b
net: sched: disallow noqueue for qdisc classes | *6eb02c596e
mptcp: use proper req destructor for IPv6 | *f4c7afa951
mptcp: dedicated request sock for subflow in v6 | *31472f94c6
mptcp: remove MPTCP 'ifdef' in TCP SYN cookies | *5aa15a8400
mptcp: mark ops structures as ro_after_init | *f5ef26276b
serial: fixup backport of "serial: Deassert Transmit Enable on probe in driver-specific way" | *2ecf0819e4
fsl_lpuart: Don't enable interrupts too early | *23ad034760
ext4: don't set up encryption key during jbd2 transaction | *d9ff5ad203
ext4: disable fast-commit of encrypted dir operations | *5b700b9c04
parisc: Align parisc MADV_XXX constants with all other architectures | *07b3672c40
io_uring: Fix unsigned 'res' comparison with zero in io_fixup_rw_res() | *b57d7b1dcd
efi: random: combine bootloader provided RNG seed with RNG protocol output | *da20f56a35
mbcache: Avoid nesting of cache->c_list_lock under bit locks | *be01f35efa
hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling | *1f881d9201
hfs/hfsplus: use WARN_ON for sanity check | *434909edca
selftests: set the BUILD variable to absolute path | *a41d63f204
ext4: don't allow journal inode to have encrypt flag | *af90f8b36d
drm/i915/gvt: fix vgpu debugfs clean in remove | *bb7c7b2c89
drm/i915/gvt: fix gvt debugfs destroy | *bc847857fb
riscv: uaccess: fix type of 0 variable on error in get_user() | *f64e56fb28
fbdev: matroxfb: G200eW: Increase max memory from 1 MB to 16 MB | *d0c46b55d6
nfsd: fix handling of readdir in v4root vs. mount upcall timeout | *67e39c4f4c
x86/bugs: Flush IBP in ib_prctl_set() | *f13301a69a
nvme: fix multipath crash caused by flush request when blktrace is enabled | *3f257a98e5
ASoC: Intel: bytcr_rt5640: Add quirk for the Advantech MICA-071 tablet | *6df376e245
udf: Fix extension of the last extent in the file | *84b2cc7b36
caif: fix memory leak in cfctrl_linkup_request() | *e5a0583744
drm/i915: unpin on error in intel_vgpu_shadow_mm_pin() | *232ef345e5
usb: rndis_host: Secure rndis_query check against int overflow | *2a9ee7c24b
drivers/net/bonding/bond_3ad: return when there's no aggregator | *bc6a0993bf
perf tools: Fix resources leak in perf_data__open_dir() | *ee756980e4
netfilter: ipset: Rework long task execution when adding/deleting entries | *ba5d279097
netfilter: ipset: fix hash:net,port,net hang with /0 subnet | *b2c917e510
net: sched: cbq: dont intepret cls results when asked to drop | *5f65f48516
net: sched: atm: dont intepret cls results when asked to drop | *f4a2ad1002
gpio: sifive: Fix refcount leak in sifive_gpio_probe | *7ec369e215
ceph: switch to vfs_inode_has_locks() to fix file lock bug | *407710427d
filelock: new helper: vfs_inode_has_locks | *9f0ff5de3e
drm/meson: Reduce the FIFO lines held when AFBC is not used | *ae2639cd2c
RDMA/mlx5: Fix validation of max_rd_atomic caps for DC | *106d0d33c9
net: phy: xgmiitorgmii: Fix refcount leak in xgmiitorgmii_probe | *398e14bb73
net: amd-xgbe: add missed tasklet_kill | *e3d90ca906
net/mlx5e: Fix hw mtu initializing at XDP SQ allocation | *6d655a9d82
net/mlx5e: IPoIB, Don't allow CQE compression to be turned on by default | *670b206173
net/mlx5: Avoid recovery in probe flows | *66b92b80c9
net/mlx5: Add forgotten cleanup calls into mlx5_init_once() error path | *b6c74d2376
vhost: fix range used in translate_desc() | *264fb6dcbf
vringh: fix range used in iotlb_translate() | *eabb3ceb04
vhost/vsock: Fix error handling in vhost_vsock_init() | *e0f5c962c0
nfc: Fix potential resource leaks | *513787ff9a
qlcnic: prevent ->dcb use-after-free on qlcnic_dcb_enable() failure | *b314f6c351
net: sched: fix memory leak in tcindex_set_parms | *4226ce95a9
net: hns3: add interrupts re-initialization while doing VF FLR | *998ebbdc3b
nfsd: shut down the NFSv4 state objects before the filecache | *69d896b609
veth: Fix race with AF_XDP exposing old or uninitialized descriptors | *5f41212dc2
vmxnet3: correctly report csum_level for encapsulated packet | *0b70f6ea4d
drm/panfrost: Fix GEM handle creation ref-counting | *e68e088d0d
bpf: pull before calling skb_postpull_rcsum() | *cb0d627bc7
SUNRPC: ensure the matching upcall is in-flight upon downcall | *1be16a0c2f
ext4: fix deadlock due to mbcache entry corruption | *0da99012d3
mbcache: automatically delete entries from cache on freeing | *1a56cd972c
ext4: fix race when reusing xattr blocks | *4cc218e217
ext4: unindent codeblock in ext4_xattr_block_set() | *0e6fbc566f
ext4: remove EA inode entry from mbcache on inode eviction | *27c0867397
mbcache: add functions to delete entry if unused | *fb59d12ae7
mbcache: don't reclaim used entries | *4c363e2961
ext4: use kmemdup() to replace kmalloc + memcpy | *b8b7922374
ext4: fix leaking uninitialized memory in fast-commit journal | *a5584ba9b3
ext4: fix various seppling typos | *adfefe804b
ext4: simplify ext4 error translation | *95eaa8a953
ext4: move functions in super.c | *769469f8f1
fs: ext4: initialize fsdata in pagecache_write() | *b33e42d65e
ext4: use memcpy_to_page() in pagecache_write() | *60d4383c1b
mm/highmem: Lift memcpy_[to|from]_page to core | *f86d3338c8
ext4: correct inconsistent error msg in nojournal mode | *99017eb3de
ext4: goto right label 'failed_mount3a' | *56d87959c6
riscv: stacktrace: Fixup ftrace_graph_ret_addr retp argument | *ecb8e8b2e5
riscv/stacktrace: Fix stack output without ra on the stack top | *b5c75efd0a
ravb: Fix "failed to switch device to config mode" message during unbind | *5451efb2ca
staging: media: tegra-video: fix device_node use after free | *f899baf6cb
x86/kprobes: Fix optprobe optimization check with CONFIG_RETHUNK | *5d112deb2a
x86/kprobes: Convert to insn_decode() | *a1766efc5b
perf probe: Fix to get the DW_AT_decl_file and DW_AT_call_file as unsinged data | *b5d0f7c240
perf probe: Use dwarf_attr_integrate as generic DWARF attr accessor | *c0a3d21584
media: s5p-mfc: Fix in register read and write for H264 | *8ff64edf9d
media: s5p-mfc: Clear workbit to handle error condition | *dcd1a4ade5
media: s5p-mfc: Fix to handle reference queue during finishing | *97e7896000
x86/MCE/AMD: Clear DFR errors found in THR handler | *ec75bc4368
x86/mce: Get rid of msr_ops | *58de7a95f0
btrfs: replace strncpy() with strscpy() | *7a04f85009
perf/x86/intel/uncore: Clear attr_update properly | *53d24a9592
perf/x86/intel/uncore: Generalize I/O stacks to PMON mapping procedure | *9620f8a5c7
ARM: renumber bits related to _TIF_WORK_MASK | *6302709784
drm/amdgpu: make display pinning more flexible (v2) | *dfc01905b8
drm/amdgpu: handle polaris10/11 overlap asics (v2) | *30e95fdc96
ext4: allocate extended attribute value in vmalloc area | *8d3e87d43c
ext4: avoid unaccounted block allocation when expanding inode | *15d0cf84df
ext4: initialize quota before expanding inode in setproject ioctl | *9882601ee6
ext4: fix inode leak in ext4_xattr_inode_create() on an error path | *407f47728c
ext4: avoid BUG_ON when creating xattrs | *00092b218d
ext4: fix error code return to user-space in ext4_get_branch() | *f06c980287
ext4: fix corruption when online resizing a 1K bigalloc fs | *9404839e0c
ext4: fix delayed allocation bug in ext4_clu_mapped for bigalloc + inline | *84a2f2ed49
ext4: init quota for 'old.inode' in 'ext4_rename' | *71e99ec131
ext4: fix bug_on in __es_tree_search caused by bad boot loader inode | *9020f56a3c
ext4: check and assert if marking an no_delete evicting inode dirty | *86c2a2ec4b
ext4: fix reserved cluster accounting in __es_remove_extent() | *98004f926d
ext4: fix bug_on in __es_tree_search caused by bad quota inode | *20af66617e
ext4: add helper to check quota inums | *c0a738875c
ext4: add EXT4_IGET_BAD flag to prevent unexpected bad inode | *f9cd698080
ext4: fix undefined behavior in bit shift for ext4_check_flag_values | *7223d5e75f
ext4: fix use-after-free in ext4_orphan_cleanup | *d6d18d6e2d
ext4: add inode table check in __ext4_get_inode_loc to aovid possible infinite loop | *bdc698ce91
ext4: silence the warning when evicting inode with dioread_nolock | *68af1a4842
drm/ingenic: Fix missing platform_driver_unregister() call in ingenic_drm_init() | *bf83a303f2
drm/i915/dsi: fix VBT send packet port selection for dual link DSI | *439cbbc151
drm/vmwgfx: Validate the box size for the snooped cursor | *0a0662d597
drm/connector: send hotplug uevent on connector cleanup | *21a773ec89
device_cgroup: Roll back to original exceptions after copy failure | *3505c187b8
parisc: led: Fix potential null-ptr-deref in start_task() | *2c7c487cd8
remoteproc: core: Do pm_relax when in RPROC_OFFLINE state | *e291dea722
iommu/amd: Fix ivrs_acpihid cmdline parsing code | *28e71fd8d5
driver core: Fix bus_type.match() error handling in __driver_attach() | *772dbbfc20
crypto: n2 - add missing hash statesize | *7c44205748
PCI/sysfs: Fix double free in error path | *99ef6cc791
PCI: Fix pci_device_is_present() for VFs by checking PF | *f29d127b37
ipmi: fix use after free in _ipmi_destroy_user() | *bfe1e039a0
ima: Fix a potential NULL pointer access in ima_restore_measurement_list | *62307558e7
mtd: spi-nor: Check for zero erase size in spi_nor_find_best_erase_type() | *4e17819cb3
ipmi: fix long wait in unload when IPMI disconnect | *24bc27ea4e
ASoC: jz4740-i2s: Handle independent FIFO flush bits | *652f1d66a8
wifi: wilc1000: sdio: fix module autoloading | *d9f6614a73
efi: Add iMac Pro 2017 to uefi skip cert quirk | *ffcf71676d
md/bitmap: Fix bitmap chunk size overflow issues | *e94443252b
rtc: ds1347: fix value written to century register | *6155aed476
cifs: fix missing display of three mount options | *8c82733e24
cifs: fix confusing debug message | *3df07728ab
media: dvb-core: Fix UAF due to refcount races at releasing | *7dd5a68cdb
media: dvb-core: Fix double free in dvb_register_device() | *1032520b21
ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod | *1306614412
staging: media: tegra-video: fix chan->mipi value on error | *52c0622e53
tracing: Fix infinite loop in tracing_read_pipe on overflowed print_trace_line | *b838b1b9ca
tracing/hist: Fix wrong return value in parse_action_params() | *ff3dd2c1be
x86/kprobes: Fix kprobes instruction boudary check with CONFIG_RETHUNK | *362495bf45
ftrace/x86: Add back ftrace_expected for ftrace bug reports | *b677629cae
x86/microcode/intel: Do not retry microcode reloading on the APs | *43dd254853
KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails | *e61eacf993
perf/core: Call LSM hook after copying perf_event_attr | *0cb31bd883
tracing/hist: Fix out-of-bound write on 'action_data.var_ref_idx' | *18a489a3fd
dm cache: set needs_check flag after aborting metadata | *2b17026685
dm cache: Fix UAF in destroy() | *342cfd8426
dm clone: Fix UAF in clone_dtr() | *a506b5c927
dm integrity: Fix UAF in dm_integrity_dtr() | *34fe9c2251
dm thin: Fix UAF in run_timer_softirq() | *c84d1ca228
dm thin: resume even if in FAIL mode | *94f01ecc2a
dm thin: Use last transaction's pmd->root when commit failed | *7e37578069
dm thin: Fix ABBA deadlock between shrink_slab and dm_pool_abort_metadata | *b45e77b792
dm cache: Fix ABBA deadlock between shrink_slab and dm_cache_metadata_abort | *d9fa243ab2
ALSA: hda/realtek: Apply dual codec fixup for Dell Latitude laptops | *2437b06223
ALSA: patch_realtek: Fix Dell Inspiron Plus 16 | *e379b88a8f
cpufreq: Init completion before kobject_init_and_add() | *cea018aaf7
PM/devfreq: governor: Add a private governor_data for governor | *d1d73c3034
selftests: Use optional USERCFLAGS and USERLDFLAGS | *12576d2ebf
arm64: dts: qcom: sdm850-lenovo-yoga-c630: correct I2C12 pins drive strength | *8546f11c42
ARM: ux500: do not directly dereference __iomem | *0061ab5153
btrfs: fix resolving backrefs for inline extent followed by prealloc | *c0aa6e6ab0
mmc: sdhci-sprd: Disable CLK_AUTO when the clock is less than 400K | *e918762f8a
arm64: dts: qcom: sdm845-db845c: correct SPI2 pins drive strength | *c023597bae
jbd2: use the correct print format | *8c444b3061
ktest.pl minconfig: Unset configs instead of just removing them | *5148dfceab
kest.pl: Fix grub2 menu handling for rebooting | *780297af3c
soc: qcom: Select REMAP_MMIO for LLCC driver | *d5db9aaf1b
media: stv0288: use explicitly signed char | *25dbd87379
net/af_packet: make sure to pull mac header | *c2137d565c
net/af_packet: add VLAN support for AF_PACKET SOCK_RAW GSO | *7c15d7ecce
rcu: Prevent lockdep-RCU splats on lock acquisition/release | *4c57f612f4
torture: Exclude "NOHZ tick-stop error" from fatal errors | *289f512d08
wifi: rtlwifi: 8192de: correct checking of IQK reload | *0f6d6974b0
wifi: rtlwifi: remove always-true condition pointed out by GCC 12 | *40b844796b
net/mlx5e: Fix nullptr in mlx5e_tc_add_fdb_flow() | *8b20aab8cf
ASoC/SoundWire: dai: expand 'stream' concept beyond SoundWire | *185c141946
ASoC: Intel/SOF: use set_stream() instead of set_tdm_slots() for HDAudio | *7b3631a2e1
kcsan: Instrument memcpy/memset/memmove with newer Clang | *2cd6026e25
SUNRPC: Don't leak netobj memory when gss_read_proxy_verf() fails | *3b6c822238
tpm: tpm_tis: Add the missed acpi_put_table() to fix memory leak | *0bd9b4be72
tpm: tpm_crb: Add the missed acpi_put_table() to fix memory leak | *8ddc48068a
tpm: acpi: Call acpi_put_table() to fix memory leak | *b51d5fed9f
mmc: vub300: fix warning - do not call blocking ops when !TASK_RUNNING | *252a720882
f2fs: should put a page when checking the summary info | *882734bbc5
mm, compaction: fix fast_isolate_around() to stay within boundaries | *ae77930277
md: fix a crash in mempool_free | *b591b2919d
pnode: terminate at peers of source | *66f359ad66
ALSA: line6: fix stack overflow in line6_midi_transmit | *5e79f77ea4
ALSA: line6: correct midi status byte when receiving data from podxt | *56abf8046b
ovl: Use ovl mounter's fsuid and fsgid in ovl_link() | *c3e8bbcbaa
binfmt: Fix error return code in load_elf_fdpic_binary() | *12407462d3
hfsplus: fix bug causing custom uid and gid being unable to be assigned with mount | *44cf50587e
pstore/zone: Use GFP_ATOMIC to allocate zone buffer | *0d992c044c
HID: plantronics: Additional PIDs for double volume key presses quirk | *eaf0b78226
HID: multitouch: fix Asus ExpertBook P2 P2451FA trackpoint | *6f7e2fcab7
powerpc/rtas: avoid scheduling in rtas_os_term() | *f2167f10fc
powerpc/rtas: avoid device tree lookups in rtas_os_term() | *0af0e115ff
objtool: Fix SEGFAULT | *57ae492f62
nvmet: don't defer passthrough commands with trivial effects to the workqueue | *4b3282a977
nvme: fix the NVME_CMD_EFFECTS_CSE_MASK definition | *ab711f3eda
ata: ahci: Fix PCS quirk application for suspend | *cc512539c4
nvme-pci: fix page size checks | *dfb6d54893
nvme-pci: fix mempool alloc size | *f5d8738fbe
nvme-pci: fix doorbell buffer value endianness | *fe6ea044c4
cifs: fix oops during encryption | *f9089b9554
usb: dwc3: qcom: Fix memory leak in dwc3_qcom_interconnect_init | *ce2462bcf3
pwm: tegra: Fix 32 bit build | *a8be7c2787
media: dvbdev: fix refcnt bug | *153319671a
media: dvbdev: fix build warning due to comments | *740c537f52
ovl: fix use inode directly in rcu-walk mode | *f24474d12e
gcov: add support for checksum field | *36be7afca1
regulator: core: fix deadlock on regulator enable | *e12f4c3212
iio: adc128s052: add proper .data members in adc128_of_match table | *9f604702b7
iio: adc: ad_sigma_delta: do not use internal iio_dev lock | *582f5fc2c5
reiserfs: Add missing calls to reiserfs_security_free() | *08371068ff
HID: mcp2221: don't connect hidraw | *7a203471b9
HID: wacom: Ensure bootloader PID is usable in hidraw mode | *723ffde78a
usb: dwc3: core: defer probe on ulpi_read_id timeout | *d17c82aad6
usb: dwc3: Fix race between dwc3_set_mode and __dwc3_set_mode | *2b725b6fbb
ALSA: hda/hdmi: Add HP Device 0x8711 to force connect list | *c863b67350
ALSA: hda/realtek: Add quirk for Lenovo TianYi510Pro-14IOB | *d3767082eb
ALSA: usb-audio: add the quirk for KT0206 device | *7691fa4102
ima: Simplify ima_lsm_copy_rule | *1d8dcc3dad
pstore: Make sure CONFIG_PSTORE_PMSG selects CONFIG_RT_MUTEXES | *07b0ce902e
afs: Fix lost servers_outstanding count | *1080729b9a
perf debug: Set debug_peo_args and redirect_to_stderr variable to correct values in perf_quiet_option() | *1c7b03d00c
pstore: Switch pmsg_lock to an rt_mutex to avoid priority inversion | *c3607ed7ed
LoadPin: Ignore the "contents" argument of the LSM hooks | *4138e1b775
ASoC: rt5670: Remove unbalanced pm_runtime_put() | *fd49dc17c3
ASoC: rockchip: spdif: Add missing clk_disable_unprepare() in rk_spdif_runtime_resume() | *c0ae46693b
ASoC: wm8994: Fix potential deadlock | *e4a8573b04
ASoC: rockchip: pdm: Add missing clk_disable_unprepare() in rockchip_pdm_runtime_resume() | *06c9d468c0
ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() | *812a18e48e
ASoC: mediatek: mt8173-rt5650-rt5514: fix refcount leak in mt8173_rt5650_rt5514_dev_probe() | *c2eb1a3877
ASoC: Intel: Skylake: Fix driver hang during shutdown | *72c0e552bc
ALSA: hda: add snd_hdac_stop_streams() helper | *d3a8925d6c
ALSA/ASoC: hda: move/rename snd_hdac_ext_stop_streams to hdac_stream.c | *2727dbfe8d
hwmon: (jc42) Fix missing unlock on error in jc42_write() | *a076490b02
orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init() | *b8affa0c64
orangefs: Fix kmemleak in orangefs_prepare_debugfs_help_string() | *6e3c4d3fa5
drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid() | *f3d3f3564e
drm/fsl-dcu: Fix return type of fsl_dcu_drm_connector_mode_valid() | *dcd28191be
hugetlbfs: fix null-ptr-deref in hugetlbfs_parse_param() | *efd025f32f
clk: st: Fix memory leak in st_of_quadfs_setup() | *1c6447d0fc
media: si470x: Fix use-after-free in si470x_int_in_callback() | *a63a1ae134
mmc: renesas_sdhi: better reset from HS400 mode | *58e21146c0
mmc: f-sdh30: Add quirks for broken timeout clock capability | *4b737246ff
regulator: core: fix use_count leakage when handling boot-on | *17c2eb9ce8
libbpf: Avoid enum forward-declarations in public API in C++ mode | *e8022da1fa
blk-mq: fix possible memleak when register 'hctx' failed | *7d7ab25ead
media: dvb-usb: fix memory leak in dvb_usb_adapter_init() | *2abd734338
media: dvbdev: adopts refcnt to avoid UAF | *b42580c8d8
media: dvb-frontends: fix leak of memory fw | *dd1e1bf916
ethtool: avoiding integer overflow in ethtool_phys_id() | *329a766355
bpf: Prevent decl_tag from being referenced in func_proto arg | *148dcbd3af
ppp: associate skb with a device at tx | *755eb08792
mrp: introduce active flags to prevent UAF when applicant uninit | *037db10e3f
net: add atomic_long_t to net_device_stats fields | *e2d60023af
drm/amd/display: fix array index out of bound error in bios parser | *10d713532f
md/raid1: stop mdx_raid1 thread when raid1 array run failed | *100caacfa0
drivers/md/md-bitmap: check the return value of md_bitmap_get_counter() | *7d86851c30
drm/sti: Use drm_mode_copy() | *dd31d73040
drm/rockchip: Use drm_mode_copy() | *4f238212c7
drm/msm: Use drm_mode_copy() | *ebc3c77785
s390/lcs: Fix return type of lcs_start_xmit() | *3ac0217ca9
s390/netiucv: Fix return type of netiucv_tx() | *eeb75f80bc
s390/ctcm: Fix return type of ctc{mp,}m_tx() | *9606bbc271
drm/amdgpu: Fix type of second parameter in odn_edit_dpm_table() callback | *a42a23bdae
drm/amdgpu: Fix type of second parameter in trans_msg() callback | *3cb18dea11
igb: Do not free q_vector unless new one was allocated | *87792567d9
wifi: brcmfmac: Fix potential shift-out-of-bounds in brcmf_fw_alloc_request() | *e7aa8a4709
hamradio: baycom_epp: Fix return type of baycom_send_packet() | *5b0b6553bf
net: ethernet: ti: Fix return type of netcp_ndo_start_xmit() | *6d935a0265
bpf: make sure skb->len != 0 when redirecting to a tunneling device | *ebc2fb6afc
qed (gcc13): use u16 for fid to be big enough | *648cdb8bf3
drm/amd/display: prevent memory leak | *c69bc8e34d
ipmi: fix memleak when unload ipmi driver | *be4cd23cd3
ASoC: codecs: rt298: Add quirk for KBL-R RVP platform | *8af5249271
wifi: ar5523: Fix use-after-free on ar5523_cmd() timed out | *1824ccabee
wifi: ath9k: verify the expected usb_endpoints are present | *2e8bb402b0
brcmfmac: return error when getting invalid max_flowrings from dongle | *6cd4865bb4
drm/etnaviv: add missing quirks for GC300 | *4fd3a11804
hfs: fix OOB Read in __hfs_brec_find | *6edd0cdee5
acct: fix potential integer overflow in encode_comp_t() | *ec93b5430e
nilfs2: fix shift-out-of-bounds due to too large exponent of block size | *d464b035c0
nilfs2: fix shift-out-of-bounds/overflow in nilfs_sb2_bad_offset() | *b0b83d3f3f
ACPICA: Fix error code path in acpi_ds_call_control_method() | *911999b193
fs: jfs: fix shift-out-of-bounds in dbDiscardAG | *40dba68d41
udf: Avoid double brelse() in udf_rename() | *3e997e4ce8
fs: jfs: fix shift-out-of-bounds in dbAllocAG | *dcbc51d31d
binfmt_misc: fix shift-out-of-bounds in check_special_flags | *22c1d8f24c
x86/hyperv: Remove unregister syscore call from Hyper-V cleanup | *9b267051c8
video: hyperv_fb: Avoid taking busy spinlock on panic path | *0461a8c278
arm64: make is_ttbrX_addr() noinstr-safe | *5a52380b81
rcu: Fix __this_cpu_read() lockdep warning in rcu_force_quiescent_state() | *9062493811
net: stream: purge sk_error_queue in sk_stream_kill_queues() | *7c3a20bfd2
myri10ge: Fix an error handling path in myri10ge_probe() | *3c97373690
rxrpc: Fix missing unlock in rxrpc_do_sendmsg() | *5c544c7c6a
net_sched: reject TCF_EM_SIMPLE case for complex ematch module | *a39b4de080
mailbox: zynq-ipi: fix error handling while device_register() fails | *821be5a5ab
skbuff: Account for tail adjustment during pull operations | *6736b61ecf
openvswitch: Fix flow lookup to use unmasked key | *ea14220031
selftests: devlink: fix the fd redirect in dummy_reporter_test | *57ce1a36c0
rtc: mxc_v2: Add missing clk_disable_unprepare() | *1e2a27dab1
igc: Set Qbv start_time and end_time to end_time if not being configured in GCL | *edb995b5ec
igc: Lift TAPRIO schedule restriction | *b48d3db891
igc: recalculate Qbv end_time by considering cycle time | *3f2a944c23
igc: Add checking for basetime less than zero | *a0e2295c2a
igc: Use strict cycles for Qbv scheduling | *413fe82420
igc: Enhance Qbv scheduling by using first flag bit | *a8f9698a05
net: add a helper to avoid issues with HW TX timestamping and SO_TXTIME | *ae5d96bae3
net: igc: use skb_csum_is_sctp instead of protocol check | *4794d07fe6
net: add inline function skb_csum_is_sctp | *67349025f0
net: switch to storing KCOV handle directly in sk_buff | *3d5f83a62e
r6040: Fix kmemleak in probe and remove | *aea9e64dec
nfc: pn533: Clear nfc_target before being used | *6939f84e53
mISDN: hfcmulti: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() | *b58c871966
mISDN: hfcpci: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() | *30e0a066b6
mISDN: hfcsusb: don't call dev_kfree_skb/kfree_skb() under spin_lock_irqsave() | *2a930b75bf
net: macsec: fix net device access prior to holding a lock | *c1207219a4
nfsd: under NFSv4.1, fix double svc_xprt_put on rpc_create failure | *452e85cc3e
NFSD: Remove spurious cb_setup_err tracepoint | *09c007e239
rtc: pcf85063: fix pcf85063_clkout_control | *e9453c13ae
rtc: pic32: Move devm_rtc_allocate_device earlier in pic32_rtc_probe() | *34836c5923
rtc: st-lpc: Add missing clk_disable_unprepare in st_rtc_probe() | *8e65e70764
netfilter: flowtable: really fix NAT IPv6 offload | *1f5571cb1d
powerpc/pseries/eeh: use correct API for error log size | *9dc96fee26
powerpc/eeh: Drop redundant spinlock initialization | *12654b7d8d
remoteproc: qcom_q6v5_pas: Fix missing of_node_put() in adsp_alloc_memory_region() | *be5816b27b
remoteproc: qcom_q6v5_pas: detach power domains on remove | *582dd58a18
remoteproc: qcom_q6v5_pas: disable wakeup on probe fail or remove | *e4539eb5c0
remoteproc: sysmon: fix memory leak in qcom_add_sysmon_subdev() | *6a65f4644b
pwm: sifive: Call pwm_sifive_update_clock() while mutex is held | *57f215a231
iommu/sun50i: Remove IOMMU_DOMAIN_IDENTITY | *dc02d8e59d
selftests/powerpc: Fix resource leaks | *464506de9b
powerpc/hv-gpci: Fix hv_gpci event list | *0abfe735be
powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe() | *da1a33795d
powerpc/perf: callchain validate kernel stack pointer bounds | *8d2ff5b3e2
kbuild: refactor single builds of *.ko | *e3bdda22b4
kbuild: unify modules(_install) for in-tree and external modules | *e215512959
kbuild: remove unneeded mkdir for external modules_install | *195cb98861
powerpc/xive: add missing iounmap() in error path in xive_spapr_populate_irq_data() | *f0bd6504e5
powerpc/xmon: Fix -Wswitch-unreachable warning in bpt_cmds | *76957b6aed
powerpc/xmon: Enable breakpoints on 8xx | *81c8bbf5b2
cxl: Fix refcount leak in cxl_calc_capp_routing | *40b4be399e
powerpc/52xx: Fix a resource leak in an error handling path | *7fded04fbb
macintosh/macio-adb: check the return value of ioremap() | *2ac0a7059b
macintosh: fix possible memory leak in macio_add_one_device() | *0d240ac0e4
iommu/fsl_pamu: Fix resource leak in fsl_pamu_probe() | *03f51c7299
iommu/amd: Fix pci device refcount leak in ppr_notifier() | *3929576f10
rtc: pcf85063: Fix reading alarm | *aaed333e22
rtc: snvs: Allow a time difference on clock register read | *f0c36ea424
rtc: cmos: Disable ACPI RTC event on removal | *ca8cb20c22
rtc: cmos: Rename ACPI-related functions | *9f9923baa2
rtc: cmos: Eliminate forward declarations of some functions | *462db582e8
rtc: cmos: Call rtc_wake_setup() from cmos_do_probe() | *14ad1353c5
rtc: cmos: Call cmos_wake_setup() from cmos_do_probe() | *45b96601a6
rtc: cmos: fix build on non-ACPI platforms | *f2ece2c722
rtc: cmos: Fix wake alarm breakage | *0bcfccb486
rtc: cmos: Fix event handler registration ordering issue | *5814d77e2f
rtc: rtc-cmos: Do not check ACPI_FADT_LOW_POWER_S0 | *490b233677
dmaengine: idxd: Fix crc_val field for completion record | *a42e955475
pwm: tegra: Improve required rate calculation | *ddd2bb08bd
include/uapi/linux/swab: Fix potentially missing __always_inline | *c2a9843342
phy: usb: s2 WoL wakeup_count not incremented for USB->Eth devices | *ca31ad0932
iommu/sun50i: Fix flush size | *147af0c1e7
iommu/sun50i: Fix R/W permission check | *3a63c4ff57
iommu/sun50i: Consider all fault sources for reset | *160b92ab4a
iommu/sun50i: Fix reset release | *aeef93416c
RDMA/siw: Fix pointer cast warning | *5beadb55f4
power: supply: fix null pointer dereferencing in power_supply_get_battery_info | *72283ecfdc
HSI: omap_ssi_core: Fix error handling in ssi_init() | *73ca3b19d9
perf symbol: correction while adjusting symbol | *c8e77bd749
perf trace: Handle failure when trace point folder is missed | *bd29da5804
perf trace: Use macro RAW_SYSCALL_ARGS_NUM to replace number | *6364577ae2
perf trace: Return error if a system call doesn't exist | *1d6d90994a
power: supply: fix residue sysfs file in error handle route of __power_supply_register() | *ae2eb995ab
HSI: omap_ssi_core: fix possible memory leak in ssi_probe() | *6ba4b00f88
HSI: omap_ssi_core: fix unbalanced pm_runtime_disable() | *ee13e2aec3
fbdev: uvesafb: Fixes an error handling path in uvesafb_probe() | *164857bc02
fbdev: vermilion: decrease reference count in error path | *71bca42bc4
fbdev: via: Fix error in via_core_init() | *3922415e4c
fbdev: pm2fb: fix missing pci_disable_device() | *f279a7af79
fbdev: ssd1307fb: Drop optional dependency | *c56c1449cc
thermal/drivers/imx8mm_thermal: Validate temperature range | *86fa7bb4e2
samples: vfio-mdev: Fix missing pci_disable_device() in mdpy_fb_probe() | *962f869b36
tracing/hist: Fix issue of losting command info in error_log | *b7bf15aa19
usb: storage: Add check for kcalloc | *9ac541a089
i2c: ismt: Fix an out-of-bounds bug in ismt_access() | *61df25c41b
i2c: mux: reg: check return value after calling platform_get_resource() | *6d79546622
gpiolib: cdev: fix NULL-pointer dereferences | *aeee7ad089
gpiolib: Get rid of redundant 'else' | *37d3de40c1
vme: Fix error not catched in fake_init() | *b9fa01fb31
staging: rtl8192e: Fix potential use-after-free in rtllib_rx_Monitor() | *daa8045a99
staging: rtl8192u: Fix use after free in ieee80211_rx() | *46b3885c8c
i2c: pxa-pci: fix missing pci_disable_device() on error in ce4100_i2c_probe | *c46db6088b
chardev: fix error handling in cdev_device_add() | *7b289b791a
mcb: mcb-parse: fix error handing in chameleon_parse_gdd() | *0d1c2c8db2
drivers: mcb: fix resource leak in mcb_probe() | *e88b89a096
usb: gadget: f_hid: fix refcount leak on error path | *1b6a53e447
usb: gadget: f_hid: fix f_hidg lifetime vs cdev | *52302c30b2
usb: gadget: f_hid: optional SETUP/SET_REPORT mode | *c3767f8105
usb: roles: fix of node refcount leak in usb_role_switch_is_parent() | *07905a9249
counter: stm32-lptimer-cnt: fix the check on arr and cmp registers update | *bb5e9402b2
iio: adis: add '__adis_enable_irq()' implementation | *3feb8fd8bf
iio:imu:adis: Move exports into IIO_ADISLIB namespace | *83e321a2ec
iio: adis: stylistic changes | *d1b73eebc7
iio: adis: handle devices that cannot unmask the drdy pin | *8eb2a679c6
iio:imu:adis: Use IRQF_NO_AUTOEN instead of irq request then disable | *50aaa6b174
genirq: Add IRQF_NO_AUTOEN for request_irq/nmi() | *6b22e715bb
iio: temperature: ltc2983: make bulk write buffer DMA-safe | *0f63c0ddc2
cxl: fix possible null-ptr-deref in cxl_pci_init_afu|adapter() | *170e8c2d2b
cxl: fix possible null-ptr-deref in cxl_guest_init_afu|adapter() | *d34742245e
firmware: raspberrypi: fix possible memory leak in rpi_firmware_probe() | *0f67ed565f
misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os | *57c857353d
misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() | *a40e1b0a92
ocxl: fix pci device refcount leak when calling get_function_0() | *7525741cb3
misc: ocxl: fix possible name leak in ocxl_file_register_afu() | *0b5a89e8bc
test_firmware: fix memory leak in test_firmware_init() | *d7c4331c07
serial: sunsab: Fix error handling in sunsab_init() | *a26b13d158
serial: altera_uart: fix locking in polling mode | *8ff88d007f
tty: serial: altera_uart_{r,t}x_chars() need only uart_port | *af320d1a3c
tty: serial: clean up stop-tx part in altera_uart_tx_chars() | *07f4ca68b0
serial: pch: Fix PCI device refcount leak in pch_request_dma() | *46d08b0e0b
serial: pl011: Do not clear RX FIFO & RX interrupt in unthrottle. | *d5b16eb076
serial: amba-pl011: avoid SBSA UART accessing DMACR register | *fab27438ab
usb: typec: tipd: Fix spurious fwnode_handle_put in error path | *d3b6c28a71
usb: typec: tcpci: fix of node refcount leak in tcpci_register_port() | *1ca02df871
usb: typec: Check for ops->exit instead of ops->enter in altmode_exit | *5d2b286eb0
staging: vme_user: Fix possible UAF in tsi148_dma_list_add | *775a6f8bed
usb: fotg210-udc: Fix ages old endianness issues | *2fcb7c7d52
uio: uio_dmem_genirq: Fix deadlock between irq config and handling | *9bf7a0b2b1
uio: uio_dmem_genirq: Fix missing unlock in irq configuration | *27b612bd09
vfio: platform: Do not pass return buffer to ACPI _RST method | *18a7200646
class: fix possible memory leak in __class_register() | *7e74868a38
serial: tegra: Read DMA status before terminating | *fce9890e1b
drivers: dio: fix possible memory leak in dio_init() | *d217141345
IB/IPoIB: Fix queue count inconsistency for PKEY child interfaces | *aa96aff394
hwrng: geode - Fix PCI device refcount leak | *5998e5c30e
hwrng: amd - Fix PCI device refcount leak | *38da26c855
crypto: img-hash - Fix variable dereferenced before check 'hdev->req' | *15ca148940
RDMA/hns: Fix page size cap from firmware | *83b2c33b53
RDMA/hns: Fix PBL page MTR find | *73ab1c956a
orangefs: Fix sysfs not cleanup when dev init failed | *0c53bb661f
RDMA/srp: Fix error return code in srp_parse_options() | *7cbf2fc276
RDMA/hfi1: Fix error return code in parse_platform_config() | *61c5b47c5b
riscv/mm: add arch hook arch_clear_hugepage_flags | *09814c669d
crypto: omap-sham - Use pm_runtime_resume_and_get() in omap_sham_probe() | *75c7b5d6b5
crypto: amlogic - Remove kcalloc without check | *357f3e1756
RDMA/nldev: Fix failure to send large messages | *25a8dabaab
f2fs: avoid victim selection from previous victim section | *d1b85d2883
RDMA/nldev: Add checks for nla_nest_start() in fill_stat_counter_qps() | *ad27f74e90
scsi: snic: Fix possible UAF in snic_tgt_create() | *22e8c7a56b
scsi: fcoe: Fix transport not deattached when fcoe_if_init() fails | *f4ba143b04
scsi: ipr: Fix WARNING in ipr_init() | *b520a32796
scsi: scsi_debug: Fix possible name leak in sdebug_add_host_helper() | *9d0ad1e2ba
scsi: fcoe: Fix possible name leak when device_register() fails | *2b142f6046
scsi: scsi_debug: Fix a warning in resp_report_zones() | *eaa71cdae8
scsi: scsi_debug: Fix a warning in resp_verify() | *ac5cfe8bbb
scsi: hpsa: Fix possible memory leak in hpsa_add_sas_device() | *f671a3f286
scsi: hpsa: Fix error handling in hpsa_add_sas_host() | *ce1a69cc85
scsi: mpt3sas: Fix possible resource leaks in mpt3sas_transport_port_add() | *7ccfc2bb58
padata: Fix list iterator in padata_do_serial() | *8e0681dd4e
padata: Always leave BHs disabled when running ->parallel() | *4a99e6a104
crypto: tcrypt - Fix multibuffer skcipher speed test mem leak | *c808edbf58
scsi: hpsa: Fix possible memory leak in hpsa_init_one() | *6bb5a62bfd
RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed | *164fa80330
RDMA/hns: fix memory leak in hns_roce_alloc_mr() | *3d47544ba0
crypto: ccree - Make cc_debugfs_global_fini() available for module init function | *34bab85c2e
RDMA/hfi: Decrease PCI device reference count in error path | *d8f2a0bc52
PCI: Check for alloc failure in pci_request_irq() | *8b5f1af335
RDMA/hns: Fix ext_sge num error when post send | *cc5e915358
RDMA/hns: Repacing 'dseg_len' by macros in fill_ext_sge_inl_data() | *ed97ade655
crypto: hisilicon/qm - add missing pci_dev_put() in q_num_set() | *2dfe1d221e
crypto: cryptd - Use request context instead of stack for sub-request | *1ab9e15b14
crypto: ccree - Remove debugfs when platform_driver_register failed | *33260f4c3e
scsi: scsi_debug: Fix a warning in resp_write_scat() | *917bf4c0a7
RDMA/siw: Set defined status for work completion with undefined status | *237a8936d6
RDMA/nldev: Return "-EAGAIN" if the cm_id isn't from expected port | *75af03fdf3
RDMA/siw: Fix immediate work request flush to completion queue | *ef8e236832
f2fs: fix normal discard process | *9a32aa87a2
apparmor: Fix memleak in alloc_ns() | *417ef568a7
crypto: rockchip - rework by using crypto_engine | *6cd8bbb089
crypto: rockchip - delete unneeded variable initialization | *de041a2e70
crypto: rockchip - remove non-aligned handling | *0971bc99d1
crypto: rockchip - better handle cipher key | *b0b9635f09
crypto: rockchip - add fallback for ahash | *fbd5f112dc
crypto: rockchip - add fallback for cipher | *86f1e7f46b
crypto: rockchip - do not store mode globally | *a13c0ff862
crypto: rockchip - do not do custom power management | *f1acf7e693
f2fs: Fix the race condition of resize flag between resizefs | *c42d8120bf
PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled | *16db9aaa41
RDMA/core: Fix order of nldev_exit call | *9784b01eb4
PCI: dwc: Fix n_fts[] array overrun | *6962f682d0
apparmor: Use pointer to struct aa_label for lbs_cred | *f4c917a4b0
scsi: core: Fix a race between scsi_done() and scsi_timeout() | *3bebfa5f93
crypto: nitrox - avoid double free on error path in nitrox_sriov_init() | *ee3cffc38e
crypto: sun8i-ss - use dma_addr instead u32 | *bf4d7c66a1
apparmor: Fix abi check to include v8 abi | *78629ca972
apparmor: fix lockdep warning when removing a namespace | *935d86b290
apparmor: fix a memleak in multi_transaction_new() | *f694e627c6
stmmac: fix potential division by 0 | *815b961c71
Bluetooth: RFCOMM: don't call kfree_skb() under spin_lock_irqsave() | *4002180e07
Bluetooth: hci_core: don't call kfree_skb() under spin_lock_irqsave() | *82256faaeb
Bluetooth: hci_bcsp: don't call kfree_skb() under spin_lock_irqsave() | *33af776a8d
Bluetooth: hci_h5: don't call kfree_skb() under spin_lock_irqsave() | *5991402fe0
Bluetooth: hci_ll: don't call kfree_skb() under spin_lock_irqsave() | *0169acb41b
Bluetooth: hci_qca: don't call kfree_skb() under spin_lock_irqsave() | *f7dc27702b
Bluetooth: btusb: don't call kfree_skb() under spin_lock_irqsave() | *214346a517
sctp: sysctl: make extra pointers netns aware | *13286ad1c7
ntb_netdev: Use dev_kfree_skb_any() in interrupt context | *4df544f592
net: lan9303: Fix read error execution path | *39b48a92ed
can: tcan4x5x: Remove invalid write in clear_interrupts | *334c9fb892
net: amd-xgbe: Check only the minimum speed for active/passive cables | *03ea9ba5fd
net: amd-xgbe: Fix logic around active and passive cables | *8eb5f8ae51
net: amd: lance: don't call dev_kfree_skb() under spin_lock_irqsave() | *ee3b1364af
hamradio: don't call dev_kfree_skb() under spin_lock_irqsave() | *b242358a27
net: ethernet: dnet: don't call dev_kfree_skb() under spin_lock_irqsave() | *decede59ea
net: emaclite: don't call dev_kfree_skb() under spin_lock_irqsave() | *c43def060c
net: apple: bmac: don't call dev_kfree_skb() under spin_lock_irqsave() | *0e23250149
net: apple: mace: don't call dev_kfree_skb() under spin_lock_irqsave() | *91f09a776a
net/tunnel: wait until all sk_user_data reader finish before releasing the sock | *51e2d1b84a
net: farsync: Fix kmemleak when rmmods farsync | *0b3f452d0c
ethernet: s2io: don't call dev_kfree_skb() under spin_lock_irqsave() | *2b4af99b44
of: overlay: fix null pointer dereferencing in find_dup_cset_node_entry() and find_dup_cset_prop() | *14b349a15c
drivers: net: qlcnic: Fix potential memory leak in qlcnic_sriov_init() | *787d1bae7f
net: stmmac: selftests: fix potential memleak in stmmac_test_arpoffload() | *8ed9994457
net: defxx: Fix missing err handling in dfx_init() | *e2227eee7a
net: vmw_vsock: vmci: Check memcpy_from_msg() | *3e8fd1d0fa
clk: socfpga: Fix memory leak in socfpga_gate_init() | *4b672ee71c
clk: socfpga: use clk_hw_register for a5/c5 | *ae8190f19f
clk: socfpga: clk-pll: Remove unused variable 'rc' | *782d0444ea
blktrace: Fix output non-blktrace event when blk_classic option enabled | *2484f15964
wifi: brcmfmac: Fix error return code in brcmf_sdio_download_firmware() | *f89c0fbb8b
wifi: rtl8xxxu: Fix the channel width reporting | *d430037248
wifi: rtl8xxxu: Add __packed to struct rtl8723bu_c2h | *7f3b4fa482
spi: spi-gpio: Don't set MOSI as an input if not 3WIRE mode | *da13355bb9
clk: samsung: Fix memory leak in _samsung_clk_register_pll() | *d9b37ea886
media: coda: Add check for kmalloc | *35ddd00b36
media: coda: Add check for dcoda_iram_alloc | *6fdb8661b9
media: c8sectpfe: Add of_node_put() when breaking out of loop | *0b1e96d3fd
mmc: mmci: fix return value check of mmc_add_host() | *1922def5cb
mmc: wbsd: fix return value check of mmc_add_host() | *63400da6cd
mmc: via-sdmmc: fix return value check of mmc_add_host() | *64b2c44117
mmc: meson-gx: fix return value check of mmc_add_host() | *fb3d596267
mmc: omap_hsmmc: fix return value check of mmc_add_host() | *00ac0f5f95
mmc: atmel-mci: fix return value check of mmc_add_host() | *9bedf64dda
mmc: wmt-sdmmc: fix return value check of mmc_add_host() | *3049a3b927
mmc: vub300: fix return value check of mmc_add_host() | *aabbedcb6c
mmc: toshsd: fix return value check of mmc_add_host() | *7fa922c7a3
mmc: rtsx_usb_sdmmc: fix return value check of mmc_add_host() | *b896a9b7a0
mmc: pxamci: fix return value check of mmc_add_host() | *3904eb97bb
mmc: mxcmmc: fix return value check of mmc_add_host() | *7c3b301ca8
mmc: moxart: fix return value check of mmc_add_host() | *4a6e5d0222
mmc: alcor: fix return value check of mmc_add_host() | *81ea3d964f
NFSv4.x: Fail client initialisation if state manager thread can't run | *3fbc3c78fa
SUNRPC: Fix missing release socket in rpc_sockname() | *be7d90fc3a
xprtrdma: Fix regbuf data not freed in rpcrdma_req_create() | *0649129359
ALSA: mts64: fix possible null-ptr-defer in snd_mts64_interrupt | *7df1fbe49b
media: saa7164: fix missing pci_disable_device() | *46a9b31369
ALSA: pcm: Set missing stop_operating flag at undoing trigger start | *be719496ae
bpf, sockmap: fix race in sock_map_free() | *8c3ef38a0d
hwmon: (jc42) Restore the min/max/critical temperatures on resume | *e7720ef53b
hwmon: (jc42) Convert register access and caching to regmap/regcache | *6a03c31d08
regulator: core: fix resource leak in regulator_register() | *74ac7c9ee2
configfs: fix possible memory leak in configfs_create_dir() | *0cf92d2356
hsr: Synchronize sequence number updates. | *c671f2d10d
hsr: Synchronize sending frames to have always incremented outgoing seq nr. | *28921ec555
hsr: Disable netpoll. | *8cee8543f0
net: hsr: generate supervision frame without HSR/PRP tag | *38d13a2a9e
hsr: Add a rcu-read lock to hsr_forward_skb(). | *ee4425e81d
clk: qcom: clk-krait: fix wrong div2 functions | *6f25402d8a
regulator: core: fix module refcount leak in set_supply() | *f532db69ab
wifi: mt76: fix coverity overrun-call in mt76_get_txpower() | *4ecb7a6e61
wifi: cfg80211: Fix not unregister reg_pdev when load_builtin_regdb_keys() fails | *b2c0b94f48
wifi: mac80211: fix memory leak in ieee80211_if_add() | *b0163248db
spi: spidev: mask SPI_CS_HIGH in SPI_IOC_RD_MODE | *ab19f402a1
bonding: uninitialized variable in bond_miimon_inspect() | *c58df40e3e
bpf, sockmap: Fix data loss caused by using apply_bytes on ingress redirect | *28e4a763cd
bpf, sockmap: Fix repeated calls to sock_put() when msg has more_data | *429a2a4258
netfilter: conntrack: set icmpv6 redirects as RELATED | *cd0e9ee50c
ASoC: pcm512x: Fix PM disable depth imbalance in pcm512x_probe | *7c1ddf7c66
drm/amdgpu: Fix PCI device refcount leak in amdgpu_atrm_get_bios() | *3991d98a8a
drm/radeon: Fix PCI device refcount leak in radeon_atrm_get_bios() | *a012cdd4fd
drm/amd/pm/smu11: BACO is supported when it's in BACO state | *57491967ad
ASoC: mediatek: mt8173: Enable IRQ when pdata is ready | *52c9ad56c1
ASoC: mediatek: mt8173: Fix debugfs registration for components | *ae966649f6
wifi: iwlwifi: mvm: fix double free on tx path. | *ae66695aa1
ALSA: asihpi: fix missing pci_disable_device() | *5458bc0f9d
NFS: Fix an Oops in nfs_d_automount() | *bc60485b93
NFSv4: Fix a deadlock between nfs4_open_recover_helper() and delegreturn | *d16d7870fd
NFSv4.2: Fix initialisation of struct nfs4_label | *15feece7af
NFSv4.2: Fix a memory stomp in decode_attr_security_label | *58a1023eb5
NFSv4.2: Clear FATTR4_WORD2_SECURITY_LABEL when done decoding | *193691ff5b
ASoC: mediatek: mtk-btcvsd: Add checks for write and read of mtk_btcvsd_snd | *6013c3de95
ASoC: dt-bindings: wcd9335: fix reset line polarity in example | *cf2cbca714
drm/tegra: Add missing clk_disable_unprepare() in tegra_dc_probe() | *54ab127600
media: s5p-mfc: Add variant data for MFC v7 hardware for Exynos 3250 SoC | *559891d430
media: dvb-usb: az6027: fix null-ptr-deref in az6027_i2c_xfer() | *e34cf6cacc
media: dvb-core: Fix ignored return value in dvb_register_frontend() | *05be5d56f7
pinctrl: pinconf-generic: add missing of_node_put() | *9916497a12
clk: imx: replace osc_hdmi with dummy | *dabf7b675c
media: imon: fix a race condition in send_packet() | *14d85b600b
media: vimc: Fix wrong function called when vimc_init() fails | *4518d7cc38
ASoC: qcom: Add checks for devm_kcalloc | *b73fac67f3
drbd: fix an invalid memory access caused by incorrect use of list iterator | *1d0c2b762d
mtd: maps: pxa2xx-flash: fix memory leak in probe | *7d1e0d237c
bonding: fix link recovery in mode 2 when updelay is nonzero | *3725a8f26b
drm/amdgpu: fix pci device refcount leak | *f4d70c139d
clk: rockchip: Fix memory leak in rockchip_clk_register_pll() | *a065be0243
regulator: core: use kfree_const() to free space conditionally | *d7198b63cb
ALSA: seq: fix undefined behavior in bit shift for SNDRV_SEQ_FILTER_USE_EVENT | *88550b4446
ALSA: pcm: fix undefined behavior in bit shift for SNDRV_PCM_RATE_KNOT | *ad2d0a3dc2
HID: hid-sensor-custom: set fixed size for custom attributes | *0d6ae25da5
bpf: Move skb->len == 0 checks into __bpf_redirect | *9920e87a84
inet: add READ_ONCE(sk->sk_bound_dev_if) in inet_csk_bind_conflict() | *49aa080951
media: videobuf-dma-contig: use dma_mmap_coherent | *8470060019
media: platform: exynos4-is: Fix error handling in fimc_md_init() | *49060c0da5
media: solo6x10: fix possible memory leak in solo_sysfs_init() | *0369af6fe3
media: vidtv: Fix use-after-free in vidtv_bridge_dvb_init() | *3afd738e77
Input: elants_i2c - properly handle the reset GPIO when power is off | *0919982a17
mtd: lpddr2_nvm: Fix possible null-ptr-deref | *effbf63616
wifi: ath10k: Fix return value in ath10k_pci_init() | *adf03c3099
ima: Fix misuse of dereference of pointer in template_desc_init_fields() | *3bd737289c
integrity: Fix memory leakage in keyring allocation error path | *102df01caf
drm/fourcc: Fix vsub/hsub for Q410 and Q401 | *6f6a99fb62
drm/fourcc: Add packed 10bit YUV 4:2:0 format | *85273b4a70
amdgpu/pm: prevent array underflow in vega20_odn_edit_dpm_table() | *f48c474efe
regulator: core: fix unbalanced of node refcount in regulator_dev_lookup() | *21a1409e8c
ASoC: pxa: fix null-pointer dereference in filter() | *698bbaf0b4
drm/mediatek: Modify dpi power on/off sequence. | *b4b30f56ec
drm/radeon: Add the missed acpi_put_table() to fix memory leak | *cea79ae89b
rxrpc: Fix ack.bufferSize to be 0 when generating an ack | *00fce49d14
net, proc: Provide PROC_FS=n fallback for proc_create_net_single_write() | *3d5cab726e
media: camss: Clean up received buffers on failed start of streaming | *61c96d99d4
wifi: rsi: Fix handling of 802.3 EAPOL frames sent via control port | *624438195c
Input: joystick - fix Kconfig warning for JOYSTICK_ADC | *330bc5533e
mtd: Fix device name leak when register device failed in add_mtd_device() | *1a79539f4e
clk: qcom: gcc-sm8250: Use retention mode for USB GDSCs | *e1989d808b
bpf: propagate precision across all frames, not just the last one | *cdd73a5ed0
bpf: Check the other end of slot_type for STACK_SPILL | *42b2b7382a
bpf: propagate precision in ALU/ALU64 operations | *7fc38327fd
media: platform: exynos4-is: fix return value check in fimc_md_probe() | *f9d19f3a04
media: vivid: fix compose size exceed boundary | *72e8d9c731
bpf: Fix slot type check in check_stack_write_var_off | *d959ff7fa9
drm/msm/hdmi: drop unused GPIO support | *b12f354fe6
drm/msm/hdmi: switch to drm_bridge_connector | *c4b035b1f0
ima: Handle -ESTALE returned by ima_filter_rule_match() | *d5b227f0d2
ima: Fix fall-through warnings for Clang | *576828e59a
drm/panel/panel-sitronix-st7701: Remove panel on DSI attach failure | *f1aa976857
spi: Update reference to struct spi_controller | *dd958c7f3e
clk: renesas: r9a06g032: Repair grave increment error | *110bf15825
drm/rockchip: lvds: fix PM usage counter unbalance in poweron | *1874f9143f
can: kvaser_usb: Compare requested bittiming parameters with actual parameters in do_set_{,data}_bittiming | *669bdf121f
can: kvaser_usb: Add struct kvaser_usb_busparams | *a50ad6772f
can: kvaser_usb_leaf: Fix bogus restart events | *cd56718e7c
can: kvaser_usb_leaf: Fix wrong CAN state after stopping | *f83742285f
can: kvaser_usb_leaf: Fix improved state not being reported | *fbd155fe14
can: kvaser_usb_leaf: Set Warning state even without bus errors | *96af45b1b4
can: kvaser_usb: kvaser_usb_leaf: Handle CMD_ERROR_EVENT | *caea629409
can: kvaser_usb: kvaser_usb_leaf: Rename {leaf,usbcan}_cmd_error_event to {leaf,usbcan}_cmd_can_error_event | *eafcf1b599
can: kvaser_usb: kvaser_usb_leaf: Get capabilities from device | *cd50258e9c
can: kvaser_usb: do not increase tx statistics when sending error message frames | *580c79fd57
media: exynos4-is: don't rely on the v4l2_async_subdev internals | *c93cac58a7
media: exynos4-is: Use v4l2_async_notifier_add_fwnode_remote_subdev | *4882492ad3
venus: pm_helpers: Fix error check in vcodec_domains_get() | *86d531c1d7
media: i2c: ad5820: Fix error path | *83f7e3c988
media: coda: jpeg: Add check for kmalloc | *7e0ba56c7e
pata_ipx4xx_cf: Fix unsigned comparison with less than zero | *85b297d798
libbpf: Fix null-pointer dereference in find_prog_by_sec_insn() | *c61650b869
libbpf: Fix use-after-free in btf_dump_name_dups | *26ce3f0c8f
drm/bridge: adv7533: remove dynamic lane switching from adv7533 bridge | *9b6851c182
wifi: rtl8xxxu: Fix reading the vendor of combo chips | *98d9172822
wifi: ath9k: hif_usb: Fix use-after-free in ath9k_hif_usb_reg_in_cb() | *c3fb3e9a2c
wifi: ath9k: hif_usb: fix memory leak of urbs in ath9k_hif_usb_dealloc_tx_urbs() | *53915ecc43
rapidio: devices: fix missing put_device in mport_cdev_open | *cff9fefdfb
hfs: Fix OOB Write in hfs_asc2mac | *93cdd12636
relay: fix type mismatch when allocating memory in relay_create_buf() | *bbaa9ca063
eventfd: change int to __u64 in eventfd_signal() ifndef CONFIG_EVENTFD | *5ee850645e
rapidio: fix possible UAF when kfifo_alloc() fails | *ad4842634d
fs: sysv: Fix sysv_nblocks() returns wrong value | *6f8ef1de8c
MIPS: OCTEON: warn only once if deprecated link status is being used | *7b88747d6d
MIPS: BCM63xx: Add check for NULL for clk in clk_enable | *d4c38ee665
platform/x86: intel_scu_ipc: fix possible name leak in __intel_scu_ipc_register() | *17cd8c46cb
platform/x86: mxm-wmi: fix memleak in mxm_wmi_call_mx[ds|mx]() | *f983afc432
PM: runtime: Do not call __rpm_callback() from rpm_idle() | *2cbbd78e08
PM: runtime: Improve path in rpm_idle() when no callback | *46026bb057
xen/privcmd: Fix a possible warning in privcmd_ioctl_mmap_resource() | *70e7f308d7
x86/xen: Fix memory leak in xen_init_lock_cpu() | *fc134c355b
x86/xen: Fix memory leak in xen_smp_intr_init{_pv}() | *95dbcb7e1c
uprobes/x86: Allow to probe a NOP instruction with 0x66 prefix | *02617006b5
ACPICA: Fix use-after-free in acpi_ut_copy_ipackage_to_ipackage() | *7bc9c5ad52
clocksource/drivers/timer-ti-dm: Fix missing clk_disable_unprepare in dmtimer_systimer_init_clock() | *270700e7df
cpu/hotplug: Make target_store() a nop when target == state | *fc89b8853a
futex: Resend potentially swallowed owner death notification | *4750cac4df
futex: Move to kernel/futex/ | *d8e7a44f48
clocksource/drivers/sh_cmt: Access registers according to spec | *0853787db2
clocksource/drivers/sh_cmt: Make sure channel clock supply is enabled | *97d9eb45ff
rapidio: rio: fix possible name leak in rio_register_mport() | *88fa351b20
rapidio: fix possible name leaks when rio_add_device() fails | *2b7e59ed2e
ocfs2: fix memory leak in ocfs2_mount_volume() | *45dabd8fe8
ocfs2: rewrite error handling of ocfs2_fill_super | *e403024c83
ocfs2: ocfs2_mount_volume does cleanup job before return error | *81d26aa903
debugfs: fix error when writing negative value to atomic_t debugfs file | *f649e18c9c
docs: fault-injection: fix non-working usage of negative values | *869a37ad6f
lib/notifier-error-inject: fix error when writing -errno to debugfs file | *c39aa503f4
libfs: add DEFINE_SIMPLE_ATTRIBUTE_SIGNED for signed value | *0080461624
cpufreq: amd_freq_sensitivity: Add missing pci_dev_put() | *9346517ed2
genirq/irqdesc: Don't try to remove non-existing sysfs files | *d97e58f728
nfsd: don't call nfsd_file_put from client states seqfile display | *2db53c7059
EDAC/i10nm: fix refcount leak in pci_get_dev_wrapper() | *f870d5863e
irqchip: gic-pm: Use pm_runtime_resume_and_get() in gic_probe() | *5c0cacdd35
platform/chrome: cros_usbpd_notify: Fix error handling in cros_usbpd_notify_init() | *0afcb759f6
perf/x86/intel/uncore: Fix reference count leak in __uncore_imc_init_box() | *d2afced511
perf/x86/intel/uncore: Fix reference count leak in snr_uncore_mmio_map() | *c0539d5d47
perf/x86/intel/uncore: Fix reference count leak in hswep_has_limit_sbox() | *dac87e295c
PNP: fix name memory leak in pnp_alloc_dev() | *e1049bf0ca
selftests/efivarfs: Add checking of the test return value | *911773f08c
MIPS: vpe-cmp: fix possible memory leak while module exiting | *48d42f4464
MIPS: vpe-mt: fix possible memory leak while module exiting | *f5f2682d3a
ocfs2: fix memory leak in ocfs2_stack_glue_init() | *c9a9aa02f0
lib/fonts: fix undefined behavior in bit shift for get_default_font | *9f6ea28f29
proc: fixup uptime selftest | *d5bf025c5b
timerqueue: Use rb_entry_safe() in timerqueue_getnext() | *2f2ae35c00
platform/x86: huawei-wmi: fix return value calculation | *a1014fbc83
lib/debugobjects: fix stat count and optimize debug_objects_mem_init | *60a7a0aa9d
perf: Fix possible memleak in pmu_dev_alloc() | *294ed8bfc9
selftests/ftrace: event_triggers: wait longer for test_event_enable | *3ef12a4a8e
cpufreq: qcom-hw: Fix memory leak in qcom_cpufreq_hw_read_lut() | *aa5f2912bb
fs: don't audit the capability check in simple_xattr_list() | *9e760e0cf2
PM: hibernate: Fix mistake in kerneldoc comment | *ef875e1c07
alpha: fix syscall entry in !AUDUT_SYSCALL case | *1498d2723e
cpuidle: dt: Return the correct numbers of parsed idle states | *2ff4014417
sched/uclamp: Fix relationship between uclamp and migration margin | *ca9ef12bf7
sched/fair: Cleanup task_util and capacity type | *6389c163c9
tpm/tpm_crb: Fix error message in __crb_relinquish_locality() | *5b217f4e79
tpm/tpm_ftpm_tee: Fix error handling in ftpm_mod_init() | *295f59cd2c
pstore: Avoid kcore oops by vmap()ing with VM_IOREMAP | *480bc6a165
ARM: mmp: fix timer_read delay | *d1b3164d0e
pstore/ram: Fix error return code in ramoops_probe() | *4dad729f7c
arm64: dts: armada-3720-turris-mox: Add missing interrupt for RTC | *872865db3b
ARM: dts: turris-omnia: Add switch port 6 node | *c1322d5f69
ARM: dts: turris-omnia: Add ethernet aliases | *d050513e6f
ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port | *bac1a77b85
ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port | *ea907f3032
ARM: dts: armada-375: Fix assigned-addresses for every PCIe Root Port | *ea8e313bb9
ARM: dts: armada-xp: Fix assigned-addresses for every PCIe Root Port | *697b92a648
ARM: dts: armada-370: Fix assigned-addresses for every PCIe Root Port | *73ab831afd
ARM: dts: dove: Fix assigned-addresses for every PCIe Root Port | *c2cb1683d1
arm64: dts: mediatek: mt6797: Fix 26M oscillator unit name | *1261352836
arm64: dts: mediatek: pumpkin-common: Fix devicetree warnings | *853d57e961
arm64: dts: mt2712-evb: Fix usb vbus regulators unit names | *436ac713a4
arm64: dts: mt2712-evb: Fix vproc fixed regulators unit names | *148e773557
arm64: dts: mt2712e: Fix unit address for pinctrl node | *a938c2a774
arm64: dts: mt2712e: Fix unit_address_vs_reg warning for oscillators | *a455b0c509
arm64: dts: ti: k3-j721e-main: Drop dma-coherent in crypto node | *42d97a024e
arm64: dts: ti: k3-am65-main: Drop dma-coherent in crypto node | *359286f886
perf/smmuv3: Fix hotplug callback leak in arm_smmu_pmu_init() | *9afac95b87
perf: arm_dsu: Fix hotplug callback leak in dsu_pmu_init() | *5e88aec62e
soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe | *6a9a31c578
soc: ti: knav_qmss_queue: Fix PM disable depth imbalance in knav_queue_probe | *e325b4ee41
soc: ti: knav_qmss_queue: Use pm_runtime_resume_and_get instead of pm_runtime_get_sync | *0542d56e63
arm: dts: spear600: Fix clcd interrupt | *a8d4fb0bf1
soc: qcom: apr: Add check for idr_alloc and of_property_read_string_index | *6213df4f5f
soc: qcom: apr: make code more reuseable | *45d180a9f6
soc: qcom: llcc: make irq truly optional | *8fb204a4b5
drivers: soc: ti: knav_qmss_queue: Mark knav_acc_firmwares as static | *6a2faf6fce
ARM: dts: stm32: Fix AV96 WLAN regulator gpio property | *6d1b6dc38f
ARM: dts: stm32: Drop stm32mp15xc.dtsi from Avenger96 | *933499bed7
objtool, kcsan: Add volatile read/write instrumentation to whitelist | *275a67e909
arm64: dts: qcom: msm8916: Drop MSS fallback compatible | *82baee2263
arm64: dts: qcom: sdm845-cheza: fix AP suspend pin bias | *82569f7e40
arm64: dts: qcom: sdm630: fix UART1 pin bias | *4cef81dec2
ARM: dts: qcom: apq8064: fix coresight compatible | *5465b9a813
arm64: dts: qcom: msm8996: fix GPU OPP table | *6cad948c9f
arm64: dts: qcom: ipq6018-cp01-c1: use BLSPI1 pins | *60184b1437
usb: musb: remove extra check in musb_gadget_vbus_draw * |9e60339cb4
ANDROID: Update .xml due to ABI preservation fix * |1cd4863ea8
ANDROID: struct io_uring ABI preservation hack for 5.10.162 changes * |4c961b9302
ANDROID: fix up struct task_struct ABI change in 5.10.162 * |332c489d8b
ANDROID: add flags variable back to struct proto_ops * |8596b99884
Merge 5.10.162 into android12-5.10-lts |\| | *0fe4548663
Linux 5.10.162 | *189556b05e
io_uring: pass in EPOLL_URING_WAKE for eventfd signaling and wakeups | *4ef66581d7
eventfd: provide a eventfd_signal_mask() helper | *2f09377502
eventpoll: add EPOLL_URING_WAKE poll wakeup flag | *b76c5373f0
Revert "proc: don't allow async path resolution of /proc/self components" | *87cb08dc6b
Revert "proc: don't allow async path resolution of /proc/thread-self components" | *a3025359ff
net: remove cmsg restriction from io_uring based send/recvmsg calls | *6ef2b4728a
task_work: unconditionally run task_work from get_signal() | *c91ab04781
signal: kill JOBCTL_TASK_WORK | *788d082426
io_uring: import 5.15-stable io_uring | *ed30050329
task_work: add helper for more targeted task_work canceling | *831cb78a2a
kernel: don't call do_exit() for PF_IO_WORKER threads | *9ded44b69c
kernel: stop masking signals in create_io_thread() | *f0a5f0dc01
x86/process: setup io_threads more like normal user space threads | *dd26e2cec7
arch: ensure parisc/powerpc handle PF_IO_WORKER in copy_thread() | *320c8057ec
arch: setup PF_IO_WORKER threads like PF_KTHREAD | *000de389ad
entry/kvm: Exit to user mode when TIF_NOTIFY_SIGNAL is set | *0f735cf52b
kernel: allow fork with TIF_NOTIFY_SIGNAL pending | *4b4d2c7992
coredump: Limit what can interrupt coredumps | *90a2c3821b
kernel: remove checking for TIF_NOTIFY_SIGNAL | *61bdeb142e
task_work: remove legacy TWA_SIGNAL path | *6e2bce21ac
alpha: fix TIF_NOTIFY_SIGNAL handling | *db911277a2
ARC: unbork 5.11 bootup: fix snafu in _TIF_NOTIFY_SIGNAL handling | *a1240cc413
ia64: don't call handle_signal() unless there's actually a signal queued | *e1402ba4df
sparc: add support for TIF_NOTIFY_SIGNAL | *78a53ff026
riscv: add support for TIF_NOTIFY_SIGNAL | *57e833a0a0
nds32: add support for TIF_NOTIFY_SIGNAL | *751fedb9ba
ia64: add support for TIF_NOTIFY_SIGNAL | *48e9e35d33
h8300: add support for TIF_NOTIFY_SIGNAL | *c82617d9de
c6x: add support for TIF_NOTIFY_SIGNAL | *30b78a17ac
alpha: add support for TIF_NOTIFY_SIGNAL | *bf0b619593
xtensa: add support for TIF_NOTIFY_SIGNAL | *1bee9dbbca
arm: add support for TIF_NOTIFY_SIGNAL | *02d383a59c
microblaze: add support for TIF_NOTIFY_SIGNAL | *19f3e328b4
hexagon: add support for TIF_NOTIFY_SIGNAL | *c2037d61de
csky: add support for TIF_NOTIFY_SIGNAL | *12284aec88
openrisc: add support for TIF_NOTIFY_SIGNAL | *3fde31e962
sh: add support for TIF_NOTIFY_SIGNAL | *dc808ffd97
um: add support for TIF_NOTIFY_SIGNAL | *0aef2ec063
s390: add support for TIF_NOTIFY_SIGNAL | *8ca2e57099
mips: add support for TIF_NOTIFY_SIGNAL | *abab3d4444
powerpc: add support for TIF_NOTIFY_SIGNAL | *45b365bc6c
parisc: add support for TIF_NOTIFY_SIGNAL | *cf3c648673
nios32: add support for TIF_NOTIFY_SIGNAL | *fe137f46d4
m68k: add support for TIF_NOTIFY_SIGNAL | *79a9991e87
arm64: add support for TIF_NOTIFY_SIGNAL | *2dbb035451
arc: add support for TIF_NOTIFY_SIGNAL | *4b1dcf8ec9
x86: Wire up TIF_NOTIFY_SIGNAL | *eb42e7b304
task_work: Use TIF_NOTIFY_SIGNAL if available | *3c295bd2dd
entry: Add support for TIF_NOTIFY_SIGNAL | *d2136fc145
fs: provide locked helper variant of close_fd_get_file() | *57b2053036
file: Rename __close_fd_get_file close_fd_get_file | *214f80e251
fs: make do_renameat2() take struct filename | *52cfde6bbf
signal: Add task_sigpending() helper | *ad0b013795
net: add accept helper not installing fd | *069ac28d92
net: provide __sys_shutdown_sock() that takes a socket | *0b8cd5d814
tools headers UAPI: Sync openat2.h with the kernel sources | *5683caa735
fs: expose LOOKUP_CACHED through openat2() RESOLVE_CACHED | *0cf0ce8fb5
Make sure nd->path.mnt and nd->path.dentry are always valid pointers | *146fe79fff
fix handling of nd->depth on LOOKUP_CACHED failures in try_to_unlazy* | *c1fe7bd3e1
fs: add support for LOOKUP_CACHED | *36ec31201a
saner calling conventions for unlazy_child() | *e86db87191
iov_iter: add helper to save iov_iter state | *1500fed008
kernel: provide create_io_thread() helper * |bf760358ea
Merge branch 'android12-5.10' into android12-5.10-lts * |416c4356f3
Merge 5.10.161 into android12-5.10-lts |/ *1a9148dfd8
Linux 5.10.161 *eec1c3ade4
net: loopback: use NET_NAME_PREDICTABLE for name_assign_type *f3fe681715
Bluetooth: L2CAP: Fix u8 overflow *7c3a523c9b
HID: uclogic: Add HID_QUIRK_HIDINPUT_FORCE quirk *1d5db0c322
HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch V 10 *263a1782a6
HID: ite: Enable QUIRK_TOUCHPAD_ON_OFF_REPORT on Acer Aspire Switch 10E *a20b5eec07
HID: ite: Add support for Acer S1002 keyboard-dock *f2479c3daa
igb: Initialize mailbox message for VF reset *9ff7aff40e
xhci: Apply XHCI_RESET_TO_DEFAULT quirk to ADL-N *c8bf31a00f
USB: serial: f81534: fix division by zero on line-speed change *5b75a00416
USB: serial: f81232: fix division by zero on line-speed change *9895ce5ea2
USB: serial: cp210x: add Kamstrup RF sniffer PIDs *398215f783
USB: serial: option: add Quectel EM05-G modem *c79538f32d
usb: gadget: uvc: Prevent buffer overflow in setup handler *8b2f86f82c
udf: Fix extending file within last block *db873b770d
udf: Do not bother looking for prealloc extents if i_lenExtents matches i_size *1a075f4a54
udf: Fix preallocation discarding at indirect extent boundary *1f7f7365ae
udf: Discard preallocation before extending file with a hole Change-Id: I1463ff16fd85e32614dc83f585aa6b3957024a74 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
6
Documentation/ABI/testing/sysfs-kernel-oops_count
Normal file
6
Documentation/ABI/testing/sysfs-kernel-oops_count
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
What: /sys/kernel/oops_count
|
||||||
|
Date: November 2022
|
||||||
|
KernelVersion: 6.2.0
|
||||||
|
Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org>
|
||||||
|
Description:
|
||||||
|
Shows how many times the system has Oopsed since last boot.
|
6
Documentation/ABI/testing/sysfs-kernel-warn_count
Normal file
6
Documentation/ABI/testing/sysfs-kernel-warn_count
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
What: /sys/kernel/warn_count
|
||||||
|
Date: November 2022
|
||||||
|
KernelVersion: 6.2.0
|
||||||
|
Contact: Linux Kernel Hardening List <linux-hardening@vger.kernel.org>
|
||||||
|
Description:
|
||||||
|
Shows how many times the system has Warned since last boot.
|
@@ -2144,24 +2144,57 @@
|
|||||||
|
|
||||||
ivrs_ioapic [HW,X86-64]
|
ivrs_ioapic [HW,X86-64]
|
||||||
Provide an override to the IOAPIC-ID<->DEVICE-ID
|
Provide an override to the IOAPIC-ID<->DEVICE-ID
|
||||||
mapping provided in the IVRS ACPI table. For
|
mapping provided in the IVRS ACPI table.
|
||||||
example, to map IOAPIC-ID decimal 10 to
|
By default, PCI segment is 0, and can be omitted.
|
||||||
PCI device 00:14.0 write the parameter as:
|
|
||||||
|
For example, to map IOAPIC-ID decimal 10 to
|
||||||
|
PCI segment 0x1 and PCI device 00:14.0,
|
||||||
|
write the parameter as:
|
||||||
|
ivrs_ioapic=10@0001:00:14.0
|
||||||
|
|
||||||
|
Deprecated formats:
|
||||||
|
* To map IOAPIC-ID decimal 10 to PCI device 00:14.0
|
||||||
|
write the parameter as:
|
||||||
ivrs_ioapic[10]=00:14.0
|
ivrs_ioapic[10]=00:14.0
|
||||||
|
* To map IOAPIC-ID decimal 10 to PCI segment 0x1 and
|
||||||
|
PCI device 00:14.0 write the parameter as:
|
||||||
|
ivrs_ioapic[10]=0001:00:14.0
|
||||||
|
|
||||||
ivrs_hpet [HW,X86-64]
|
ivrs_hpet [HW,X86-64]
|
||||||
Provide an override to the HPET-ID<->DEVICE-ID
|
Provide an override to the HPET-ID<->DEVICE-ID
|
||||||
mapping provided in the IVRS ACPI table. For
|
mapping provided in the IVRS ACPI table.
|
||||||
example, to map HPET-ID decimal 0 to
|
By default, PCI segment is 0, and can be omitted.
|
||||||
PCI device 00:14.0 write the parameter as:
|
|
||||||
|
For example, to map HPET-ID decimal 10 to
|
||||||
|
PCI segment 0x1 and PCI device 00:14.0,
|
||||||
|
write the parameter as:
|
||||||
|
ivrs_hpet=10@0001:00:14.0
|
||||||
|
|
||||||
|
Deprecated formats:
|
||||||
|
* To map HPET-ID decimal 0 to PCI device 00:14.0
|
||||||
|
write the parameter as:
|
||||||
ivrs_hpet[0]=00:14.0
|
ivrs_hpet[0]=00:14.0
|
||||||
|
* To map HPET-ID decimal 10 to PCI segment 0x1 and
|
||||||
|
PCI device 00:14.0 write the parameter as:
|
||||||
|
ivrs_ioapic[10]=0001:00:14.0
|
||||||
|
|
||||||
ivrs_acpihid [HW,X86-64]
|
ivrs_acpihid [HW,X86-64]
|
||||||
Provide an override to the ACPI-HID:UID<->DEVICE-ID
|
Provide an override to the ACPI-HID:UID<->DEVICE-ID
|
||||||
mapping provided in the IVRS ACPI table. For
|
mapping provided in the IVRS ACPI table.
|
||||||
example, to map UART-HID:UID AMD0020:0 to
|
By default, PCI segment is 0, and can be omitted.
|
||||||
PCI device 00:14.5 write the parameter as:
|
|
||||||
|
For example, to map UART-HID:UID AMD0020:0 to
|
||||||
|
PCI segment 0x1 and PCI device ID 00:14.5,
|
||||||
|
write the parameter as:
|
||||||
|
ivrs_acpihid=AMD0020:0@0001:00:14.5
|
||||||
|
|
||||||
|
Deprecated formats:
|
||||||
|
* To map UART-HID:UID AMD0020:0 to PCI segment is 0,
|
||||||
|
PCI device ID 00:14.5, write the parameter as:
|
||||||
ivrs_acpihid[00:14.5]=AMD0020:0
|
ivrs_acpihid[00:14.5]=AMD0020:0
|
||||||
|
* To map UART-HID:UID AMD0020:0 to PCI segment 0x1 and
|
||||||
|
PCI device ID 00:14.5, write the parameter as:
|
||||||
|
ivrs_acpihid[0001:00:14.5]=AMD0020:0
|
||||||
|
|
||||||
js= [HW,JOY] Analog joystick
|
js= [HW,JOY] Analog joystick
|
||||||
See Documentation/input/joydev/joystick.rst.
|
See Documentation/input/joydev/joystick.rst.
|
||||||
|
@@ -663,6 +663,15 @@ This is the default behavior.
|
|||||||
an oops event is detected.
|
an oops event is detected.
|
||||||
|
|
||||||
|
|
||||||
|
oops_limit
|
||||||
|
==========
|
||||||
|
|
||||||
|
Number of kernel oopses after which the kernel should panic when
|
||||||
|
``panic_on_oops`` is not set. Setting this to 0 disables checking
|
||||||
|
the count. Setting this to 1 has the same effect as setting
|
||||||
|
``panic_on_oops=1``. The default value is 10000.
|
||||||
|
|
||||||
|
|
||||||
osrelease, ostype & version
|
osrelease, ostype & version
|
||||||
===========================
|
===========================
|
||||||
|
|
||||||
@@ -1469,6 +1478,16 @@ entry will default to 2 instead of 0.
|
|||||||
2 Unprivileged calls to ``bpf()`` are disabled
|
2 Unprivileged calls to ``bpf()`` are disabled
|
||||||
= =============================================================
|
= =============================================================
|
||||||
|
|
||||||
|
|
||||||
|
warn_limit
|
||||||
|
==========
|
||||||
|
|
||||||
|
Number of kernel warnings after which the kernel should panic when
|
||||||
|
``panic_on_warn`` is not set. Setting this to 0 disables checking
|
||||||
|
the warning count. Setting this to 1 has the same effect as setting
|
||||||
|
``panic_on_warn=1``. The default value is 0.
|
||||||
|
|
||||||
|
|
||||||
watchdog
|
watchdog
|
||||||
========
|
========
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
# Copyright 2019 BayLibre, SAS
|
# Copyright 2019 BayLibre, SAS
|
||||||
%YAML 1.2
|
%YAML 1.2
|
||||||
---
|
---
|
||||||
$id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
|
$id: "http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml#"
|
||||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
title: Amlogic G12A USB2 PHY
|
title: Amlogic G12A USB2 PHY
|
||||||
@@ -13,8 +13,8 @@ maintainers:
|
|||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- amlogic,meson-g12a-usb2-phy
|
- amlogic,g12a-usb2-phy
|
||||||
- amlogic,meson-a1-usb2-phy
|
- amlogic,a1-usb2-phy
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
@@ -68,7 +68,7 @@ additionalProperties: false
|
|||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
phy@36000 {
|
phy@36000 {
|
||||||
compatible = "amlogic,meson-g12a-usb2-phy";
|
compatible = "amlogic,g12a-usb2-phy";
|
||||||
reg = <0x36000 0x2000>;
|
reg = <0x36000 0x2000>;
|
||||||
clocks = <&xtal>;
|
clocks = <&xtal>;
|
||||||
clock-names = "xtal";
|
clock-names = "xtal";
|
@@ -2,7 +2,7 @@
|
|||||||
# Copyright 2019 BayLibre, SAS
|
# Copyright 2019 BayLibre, SAS
|
||||||
%YAML 1.2
|
%YAML 1.2
|
||||||
---
|
---
|
||||||
$id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb3-pcie-phy.yaml#"
|
$id: "http://devicetree.org/schemas/phy/amlogic,g12a-usb3-pcie-phy.yaml#"
|
||||||
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
$schema: "http://devicetree.org/meta-schemas/core.yaml#"
|
||||||
|
|
||||||
title: Amlogic G12A USB3 + PCIE Combo PHY
|
title: Amlogic G12A USB3 + PCIE Combo PHY
|
||||||
@@ -13,7 +13,7 @@ maintainers:
|
|||||||
properties:
|
properties:
|
||||||
compatible:
|
compatible:
|
||||||
enum:
|
enum:
|
||||||
- amlogic,meson-g12a-usb3-pcie-phy
|
- amlogic,g12a-usb3-pcie-phy
|
||||||
|
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
@@ -49,7 +49,7 @@ additionalProperties: false
|
|||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
phy@46000 {
|
phy@46000 {
|
||||||
compatible = "amlogic,meson-g12a-usb3-pcie-phy";
|
compatible = "amlogic,g12a-usb3-pcie-phy";
|
||||||
reg = <0x46000 0x2000>;
|
reg = <0x46000 0x2000>;
|
||||||
clocks = <&ref_clk>;
|
clocks = <&ref_clk>;
|
||||||
clock-names = "ref_clk";
|
clock-names = "ref_clk";
|
@@ -109,7 +109,7 @@ audio-codec@1{
|
|||||||
reg = <1 0>;
|
reg = <1 0>;
|
||||||
interrupts = <&msmgpio 54 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <&msmgpio 54 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
interrupt-names = "intr2"
|
interrupt-names = "intr2"
|
||||||
reset-gpios = <&msmgpio 64 0>;
|
reset-gpios = <&msmgpio 64 GPIO_ACTIVE_LOW>;
|
||||||
slim-ifc-dev = <&wc9335_ifd>;
|
slim-ifc-dev = <&wc9335_ifd>;
|
||||||
clock-names = "mclk", "native";
|
clock-names = "mclk", "native";
|
||||||
clocks = <&rpmcc RPM_SMD_DIV_CLK1>,
|
clocks = <&rpmcc RPM_SMD_DIV_CLK1>,
|
||||||
|
@@ -25,8 +25,8 @@ hardware, which may be as simple as a set of GPIO pins or as complex as
|
|||||||
a pair of FIFOs connected to dual DMA engines on the other side of the
|
a pair of FIFOs connected to dual DMA engines on the other side of the
|
||||||
SPI shift register (maximizing throughput). Such drivers bridge between
|
SPI shift register (maximizing throughput). Such drivers bridge between
|
||||||
whatever bus they sit on (often the platform bus) and SPI, and expose
|
whatever bus they sit on (often the platform bus) and SPI, and expose
|
||||||
the SPI side of their device as a :c:type:`struct spi_master
|
the SPI side of their device as a :c:type:`struct spi_controller
|
||||||
<spi_master>`. SPI devices are children of that master,
|
<spi_controller>`. SPI devices are children of that master,
|
||||||
represented as a :c:type:`struct spi_device <spi_device>` and
|
represented as a :c:type:`struct spi_device <spi_device>` and
|
||||||
manufactured from :c:type:`struct spi_board_info
|
manufactured from :c:type:`struct spi_board_info
|
||||||
<spi_board_info>` descriptors which are usually provided by
|
<spi_board_info>` descriptors which are usually provided by
|
||||||
|
@@ -78,8 +78,8 @@ configuration of fault-injection capabilities.
|
|||||||
|
|
||||||
- /sys/kernel/debug/fail*/times:
|
- /sys/kernel/debug/fail*/times:
|
||||||
|
|
||||||
specifies how many times failures may happen at most.
|
specifies how many times failures may happen at most. A value of -1
|
||||||
A value of -1 means "no limit".
|
means "no limit".
|
||||||
|
|
||||||
- /sys/kernel/debug/fail*/space:
|
- /sys/kernel/debug/fail*/space:
|
||||||
|
|
||||||
@@ -167,11 +167,13 @@ configuration of fault-injection capabilities.
|
|||||||
- ERRNO: retval must be -1 to -MAX_ERRNO (-4096).
|
- ERRNO: retval must be -1 to -MAX_ERRNO (-4096).
|
||||||
- ERR_NULL: retval must be 0 or -1 to -MAX_ERRNO (-4096).
|
- ERR_NULL: retval must be 0 or -1 to -MAX_ERRNO (-4096).
|
||||||
|
|
||||||
- /sys/kernel/debug/fail_function/<functiuon-name>/retval:
|
- /sys/kernel/debug/fail_function/<function-name>/retval:
|
||||||
|
|
||||||
specifies the "error" return value to inject to the given
|
specifies the "error" return value to inject to the given function.
|
||||||
function for given function. This will be created when
|
This will be created when the user specifies a new injection entry.
|
||||||
user specifies new injection entry.
|
Note that this file only accepts unsigned values. So, if you want to
|
||||||
|
use a negative errno, you better use 'printf' instead of 'echo', e.g.:
|
||||||
|
$ printf %#x -12 > retval
|
||||||
|
|
||||||
Boot option
|
Boot option
|
||||||
^^^^^^^^^^^
|
^^^^^^^^^^^
|
||||||
@@ -336,7 +338,7 @@ Application Examples
|
|||||||
FAILTYPE=fail_function
|
FAILTYPE=fail_function
|
||||||
FAILFUNC=open_ctree
|
FAILFUNC=open_ctree
|
||||||
echo $FAILFUNC > /sys/kernel/debug/$FAILTYPE/inject
|
echo $FAILFUNC > /sys/kernel/debug/$FAILTYPE/inject
|
||||||
echo -12 > /sys/kernel/debug/$FAILTYPE/$FAILFUNC/retval
|
printf %#x -12 > /sys/kernel/debug/$FAILTYPE/$FAILFUNC/retval
|
||||||
echo N > /sys/kernel/debug/$FAILTYPE/task-filter
|
echo N > /sys/kernel/debug/$FAILTYPE/task-filter
|
||||||
echo 100 > /sys/kernel/debug/$FAILTYPE/probability
|
echo 100 > /sys/kernel/debug/$FAILTYPE/probability
|
||||||
echo 0 > /sys/kernel/debug/$FAILTYPE/interval
|
echo 0 > /sys/kernel/debug/$FAILTYPE/interval
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
from sphinx.util.pycompat import execfile_
|
from sphinx.util.osutil import fs_encoding
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
def loadConfig(namespace):
|
def loadConfig(namespace):
|
||||||
@@ -48,7 +48,9 @@ def loadConfig(namespace):
|
|||||||
sys.stdout.write("load additional sphinx-config: %s\n" % config_file)
|
sys.stdout.write("load additional sphinx-config: %s\n" % config_file)
|
||||||
config = namespace.copy()
|
config = namespace.copy()
|
||||||
config['__file__'] = config_file
|
config['__file__'] = config_file
|
||||||
execfile_(config_file, config)
|
with open(config_file, 'rb') as f:
|
||||||
|
code = compile(f.read(), fs_encoding, 'exec')
|
||||||
|
exec(code, config)
|
||||||
del config['__file__']
|
del config['__file__']
|
||||||
namespace.update(config)
|
namespace.update(config)
|
||||||
else:
|
else:
|
||||||
|
@@ -6403,3 +6403,63 @@ When enabled, KVM will disable paravirtual features provided to the
|
|||||||
guest according to the bits in the KVM_CPUID_FEATURES CPUID leaf
|
guest according to the bits in the KVM_CPUID_FEATURES CPUID leaf
|
||||||
(0x40000001). Otherwise, a guest may use the paravirtual features
|
(0x40000001). Otherwise, a guest may use the paravirtual features
|
||||||
regardless of what has actually been exposed through the CPUID leaf.
|
regardless of what has actually been exposed through the CPUID leaf.
|
||||||
|
|
||||||
|
9. Known KVM API problems
|
||||||
|
=========================
|
||||||
|
|
||||||
|
In some cases, KVM's API has some inconsistencies or common pitfalls
|
||||||
|
that userspace need to be aware of. This section details some of
|
||||||
|
these issues.
|
||||||
|
|
||||||
|
Most of them are architecture specific, so the section is split by
|
||||||
|
architecture.
|
||||||
|
|
||||||
|
9.1. x86
|
||||||
|
--------
|
||||||
|
|
||||||
|
``KVM_GET_SUPPORTED_CPUID`` issues
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
In general, ``KVM_GET_SUPPORTED_CPUID`` is designed so that it is possible
|
||||||
|
to take its result and pass it directly to ``KVM_SET_CPUID2``. This section
|
||||||
|
documents some cases in which that requires some care.
|
||||||
|
|
||||||
|
Local APIC features
|
||||||
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
CPU[EAX=1]:ECX[21] (X2APIC) is reported by ``KVM_GET_SUPPORTED_CPUID``,
|
||||||
|
but it can only be enabled if ``KVM_CREATE_IRQCHIP`` or
|
||||||
|
``KVM_ENABLE_CAP(KVM_CAP_IRQCHIP_SPLIT)`` are used to enable in-kernel emulation of
|
||||||
|
the local APIC.
|
||||||
|
|
||||||
|
The same is true for the ``KVM_FEATURE_PV_UNHALT`` paravirtualized feature.
|
||||||
|
|
||||||
|
CPU[EAX=1]:ECX[24] (TSC_DEADLINE) is not reported by ``KVM_GET_SUPPORTED_CPUID``.
|
||||||
|
It can be enabled if ``KVM_CAP_TSC_DEADLINE_TIMER`` is present and the kernel
|
||||||
|
has enabled in-kernel emulation of the local APIC.
|
||||||
|
|
||||||
|
CPU topology
|
||||||
|
~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Several CPUID values include topology information for the host CPU:
|
||||||
|
0x0b and 0x1f for Intel systems, 0x8000001e for AMD systems. Different
|
||||||
|
versions of KVM return different values for this information and userspace
|
||||||
|
should not rely on it. Currently they return all zeroes.
|
||||||
|
|
||||||
|
If userspace wishes to set up a guest topology, it should be careful that
|
||||||
|
the values of these three leaves differ for each CPU. In particular,
|
||||||
|
the APIC ID is found in EDX for all subleaves of 0x0b and 0x1f, and in EAX
|
||||||
|
for 0x8000001e; the latter also encodes the core id and node id in bits
|
||||||
|
7:0 of EBX and ECX respectively.
|
||||||
|
|
||||||
|
Obsolete ioctls and capabilities
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
KVM_CAP_DISABLE_QUIRKS does not let userspace know which quirks are actually
|
||||||
|
available. Use ``KVM_CHECK_EXTENSION(KVM_CAP_DISABLE_QUIRKS2)`` instead if
|
||||||
|
available.
|
||||||
|
|
||||||
|
Ordering of KVM_GET_*/KVM_SET_* ioctls
|
||||||
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
|
TBD
|
||||||
|
@@ -7280,7 +7280,7 @@ F: Documentation/locking/*futex*
|
|||||||
F: include/asm-generic/futex.h
|
F: include/asm-generic/futex.h
|
||||||
F: include/linux/futex.h
|
F: include/linux/futex.h
|
||||||
F: include/uapi/linux/futex.h
|
F: include/uapi/linux/futex.h
|
||||||
F: kernel/futex.c
|
F: kernel/futex/*
|
||||||
F: tools/perf/bench/futex*
|
F: tools/perf/bench/futex*
|
||||||
F: tools/testing/selftests/futex/
|
F: tools/testing/selftests/futex/
|
||||||
|
|
||||||
|
108
Makefile
108
Makefile
@@ -1,7 +1,7 @@
|
|||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
VERSION = 5
|
VERSION = 5
|
||||||
PATCHLEVEL = 10
|
PATCHLEVEL = 10
|
||||||
SUBLEVEL = 160
|
SUBLEVEL = 168
|
||||||
EXTRAVERSION =
|
EXTRAVERSION =
|
||||||
NAME = Dare mighty things
|
NAME = Dare mighty things
|
||||||
|
|
||||||
@@ -1511,9 +1511,7 @@ endif
|
|||||||
|
|
||||||
PHONY += modules
|
PHONY += modules
|
||||||
# if KBUILD_BUILTIN && !KBUILD_MIXED_TREE, depend on vmlinux
|
# if KBUILD_BUILTIN && !KBUILD_MIXED_TREE, depend on vmlinux
|
||||||
modules: $(if $(KBUILD_BUILTIN), $(if $(KBUILD_MIXED_TREE),,vmlinux))
|
modules: $(if $(KBUILD_BUILTIN), $(if $(KBUILD_MIXED_TREE),,vmlinux)) modules_check modules_prepare
|
||||||
modules: modules_check modules_prepare
|
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
|
|
||||||
|
|
||||||
PHONY += modules_check
|
PHONY += modules_check
|
||||||
modules_check: modules.order
|
modules_check: modules.order
|
||||||
@@ -1531,12 +1529,9 @@ PHONY += modules_prepare
|
|||||||
modules_prepare: prepare
|
modules_prepare: prepare
|
||||||
$(Q)$(MAKE) $(build)=scripts scripts/module.lds
|
$(Q)$(MAKE) $(build)=scripts scripts/module.lds
|
||||||
|
|
||||||
# Target to install modules
|
modules_install: __modinst_pre
|
||||||
PHONY += modules_install
|
PHONY += __modinst_pre
|
||||||
modules_install: _modinst_ _modinst_post
|
__modinst_pre:
|
||||||
|
|
||||||
PHONY += _modinst_
|
|
||||||
_modinst_:
|
|
||||||
@rm -rf $(MODLIB)/kernel
|
@rm -rf $(MODLIB)/kernel
|
||||||
@rm -f $(MODLIB)/source
|
@rm -f $(MODLIB)/source
|
||||||
@mkdir -p $(MODLIB)/kernel
|
@mkdir -p $(MODLIB)/kernel
|
||||||
@@ -1548,14 +1543,6 @@ _modinst_:
|
|||||||
@sed 's:^:kernel/:' modules.order > $(MODLIB)/modules.order
|
@sed 's:^:kernel/:' modules.order > $(MODLIB)/modules.order
|
||||||
@cp -f $(mixed-build-prefix)modules.builtin $(MODLIB)/
|
@cp -f $(mixed-build-prefix)modules.builtin $(MODLIB)/
|
||||||
@cp -f $(or $(mixed-build-prefix),$(objtree)/)modules.builtin.modinfo $(MODLIB)/
|
@cp -f $(or $(mixed-build-prefix),$(objtree)/)modules.builtin.modinfo $(MODLIB)/
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
|
|
||||||
|
|
||||||
# This depmod is only for convenience to give the initial
|
|
||||||
# boot a modules.dep even before / is mounted read-write. However the
|
|
||||||
# boot script depmod is the master version.
|
|
||||||
PHONY += _modinst_post
|
|
||||||
_modinst_post: _modinst_
|
|
||||||
$(call cmd,depmod)
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_MODULE_SIG), y)
|
ifeq ($(CONFIG_MODULE_SIG), y)
|
||||||
PHONY += modules_sign
|
PHONY += modules_sign
|
||||||
@@ -1563,20 +1550,6 @@ modules_sign:
|
|||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modsign
|
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modsign
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else # CONFIG_MODULES
|
|
||||||
|
|
||||||
# Modules not configured
|
|
||||||
# ---------------------------------------------------------------------------
|
|
||||||
|
|
||||||
PHONY += modules modules_install
|
|
||||||
modules modules_install:
|
|
||||||
@echo >&2
|
|
||||||
@echo >&2 "The present kernel configuration has modules disabled."
|
|
||||||
@echo >&2 "Type 'make config' and enable loadable module support."
|
|
||||||
@echo >&2 "Then build a kernel with module support enabled."
|
|
||||||
@echo >&2
|
|
||||||
@exit 1
|
|
||||||
|
|
||||||
endif # CONFIG_MODULES
|
endif # CONFIG_MODULES
|
||||||
|
|
||||||
###
|
###
|
||||||
@@ -1824,26 +1797,9 @@ KBUILD_BUILTIN :=
|
|||||||
KBUILD_MODULES := 1
|
KBUILD_MODULES := 1
|
||||||
|
|
||||||
build-dirs := $(KBUILD_EXTMOD)
|
build-dirs := $(KBUILD_EXTMOD)
|
||||||
PHONY += modules
|
|
||||||
modules: $(MODORDER)
|
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
|
|
||||||
|
|
||||||
$(MODORDER): descend
|
$(MODORDER): descend
|
||||||
@:
|
@:
|
||||||
|
|
||||||
PHONY += modules_install
|
|
||||||
modules_install: _emodinst_ _emodinst_post
|
|
||||||
|
|
||||||
install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
|
|
||||||
PHONY += _emodinst_
|
|
||||||
_emodinst_:
|
|
||||||
$(Q)mkdir -p $(MODLIB)/$(install-dir)
|
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
|
|
||||||
|
|
||||||
PHONY += _emodinst_post
|
|
||||||
_emodinst_post: _emodinst_
|
|
||||||
$(call cmd,depmod)
|
|
||||||
|
|
||||||
compile_commands.json: $(extmod-prefix)compile_commands.json
|
compile_commands.json: $(extmod-prefix)compile_commands.json
|
||||||
PHONY += compile_commands.json
|
PHONY += compile_commands.json
|
||||||
|
|
||||||
@@ -1868,6 +1824,41 @@ PHONY += prepare modules_prepare
|
|||||||
|
|
||||||
endif # KBUILD_EXTMOD
|
endif # KBUILD_EXTMOD
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
# Modules
|
||||||
|
|
||||||
|
PHONY += modules modules_install
|
||||||
|
|
||||||
|
ifdef CONFIG_MODULES
|
||||||
|
|
||||||
|
modules: $(MODORDER)
|
||||||
|
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
|
||||||
|
|
||||||
|
quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
|
||||||
|
cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \
|
||||||
|
$(KERNELRELEASE) $(mixed-build-prefix)
|
||||||
|
|
||||||
|
modules_install:
|
||||||
|
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
|
||||||
|
$(call cmd,depmod)
|
||||||
|
|
||||||
|
else # CONFIG_MODULES
|
||||||
|
|
||||||
|
# Modules not configured
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
modules modules_install:
|
||||||
|
@echo >&2 '***'
|
||||||
|
@echo >&2 '*** The present kernel configuration has modules disabled.'
|
||||||
|
@echo >&2 '*** To use the module feature, please run "make menuconfig" etc.'
|
||||||
|
@echo >&2 '*** to enable CONFIG_MODULES.'
|
||||||
|
@echo >&2 '***'
|
||||||
|
@exit 1
|
||||||
|
|
||||||
|
KBUILD_MODULES :=
|
||||||
|
|
||||||
|
endif # CONFIG_MODULES
|
||||||
|
|
||||||
# Single targets
|
# Single targets
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# To build individual files in subdirectories, you can do like this:
|
# To build individual files in subdirectories, you can do like this:
|
||||||
@@ -1891,18 +1882,12 @@ $(single-ko): single_modpost
|
|||||||
$(single-no-ko): descend
|
$(single-no-ko): descend
|
||||||
@:
|
@:
|
||||||
|
|
||||||
ifeq ($(KBUILD_EXTMOD),)
|
# Remove MODORDER when done because it is not the real one.
|
||||||
# For the single build of in-tree modules, use a temporary file to avoid
|
|
||||||
# the situation of modules_install installing an invalid modules.order.
|
|
||||||
MODORDER := .modules.tmp
|
|
||||||
endif
|
|
||||||
|
|
||||||
PHONY += single_modpost
|
PHONY += single_modpost
|
||||||
single_modpost: $(single-no-ko) modules_prepare
|
single_modpost: $(single-no-ko) modules_prepare
|
||||||
$(Q){ $(foreach m, $(single-ko), echo $(extmod-prefix)$m;) } > $(MODORDER)
|
$(Q){ $(foreach m, $(single-ko), echo $(extmod-prefix)$m;) } > $(MODORDER)
|
||||||
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
|
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
|
||||||
|
$(Q)rm -f $(MODORDER)
|
||||||
KBUILD_MODULES := 1
|
|
||||||
|
|
||||||
export KBUILD_SINGLE_TARGETS := $(addprefix $(extmod-prefix), $(single-no-ko))
|
export KBUILD_SINGLE_TARGETS := $(addprefix $(extmod-prefix), $(single-no-ko))
|
||||||
|
|
||||||
@@ -1912,10 +1897,6 @@ build-dirs := $(foreach d, $(build-dirs), \
|
|||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef CONFIG_MODULES
|
|
||||||
KBUILD_MODULES :=
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Handle descending into subdirectories listed in $(build-dirs)
|
# Handle descending into subdirectories listed in $(build-dirs)
|
||||||
# Preset locale variables to speed up the build process. Limit locale
|
# Preset locale variables to speed up the build process. Limit locale
|
||||||
# tweaks to this spot to avoid wrong language settings when running
|
# tweaks to this spot to avoid wrong language settings when running
|
||||||
@@ -2057,11 +2038,6 @@ tools/%: FORCE
|
|||||||
quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)))
|
quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)))
|
||||||
cmd_rmfiles = rm -rf $(rm-files)
|
cmd_rmfiles = rm -rf $(rm-files)
|
||||||
|
|
||||||
# Run depmod only if we have System.map and depmod is executable
|
|
||||||
quiet_cmd_depmod = DEPMOD $(KERNELRELEASE)
|
|
||||||
cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \
|
|
||||||
$(KERNELRELEASE) $(mixed-build-prefix)
|
|
||||||
|
|
||||||
# read saved command lines for existing targets
|
# read saved command lines for existing targets
|
||||||
existing-targets := $(wildcard $(sort $(targets)))
|
existing-targets := $(wildcard $(sort $(targets)))
|
||||||
|
|
||||||
|
@@ -469,8 +469,10 @@ entSys:
|
|||||||
#ifdef CONFIG_AUDITSYSCALL
|
#ifdef CONFIG_AUDITSYSCALL
|
||||||
lda $6, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT
|
lda $6, _TIF_SYSCALL_TRACE | _TIF_SYSCALL_AUDIT
|
||||||
and $3, $6, $3
|
and $3, $6, $3
|
||||||
#endif
|
|
||||||
bne $3, strace
|
bne $3, strace
|
||||||
|
#else
|
||||||
|
blbs $3, strace /* check for SYSCALL_TRACE in disguise */
|
||||||
|
#endif
|
||||||
beq $4, 1f
|
beq $4, 1f
|
||||||
ldq $27, 0($5)
|
ldq $27, 0($5)
|
||||||
1: jsr $26, ($27), sys_ni_syscall
|
1: jsr $26, ($27), sys_ni_syscall
|
||||||
|
@@ -192,7 +192,7 @@ die_if_kernel(char * str, struct pt_regs *regs, long err, unsigned long *r9_15)
|
|||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
while (1);
|
while (1);
|
||||||
}
|
}
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef CONFIG_MATHEMU
|
#ifndef CONFIG_MATHEMU
|
||||||
@@ -577,7 +577,7 @@ do_entUna(void * va, unsigned long opcode, unsigned long reg,
|
|||||||
|
|
||||||
printk("Bad unaligned kernel access at %016lx: %p %lx %lu\n",
|
printk("Bad unaligned kernel access at %016lx: %p %lx %lu\n",
|
||||||
pc, va, opcode, reg);
|
pc, va, opcode, reg);
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
|
|
||||||
got_exception:
|
got_exception:
|
||||||
/* Ok, we caught the exception, but we don't want it. Is there
|
/* Ok, we caught the exception, but we don't want it. Is there
|
||||||
@@ -632,7 +632,7 @@ got_exception:
|
|||||||
local_irq_enable();
|
local_irq_enable();
|
||||||
while (1);
|
while (1);
|
||||||
}
|
}
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -204,7 +204,7 @@ retry:
|
|||||||
printk(KERN_ALERT "Unable to handle kernel paging request at "
|
printk(KERN_ALERT "Unable to handle kernel paging request at "
|
||||||
"virtual address %016lx\n", address);
|
"virtual address %016lx\n", address);
|
||||||
die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16);
|
die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16);
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
|
|
||||||
/* We ran out of memory, or some other thing happened to us that
|
/* We ran out of memory, or some other thing happened to us that
|
||||||
made us unable to handle the page fault gracefully. */
|
made us unable to handle the page fault gracefully. */
|
||||||
|
@@ -74,7 +74,7 @@
|
|||||||
|
|
||||||
pcie2: pcie@2,0 {
|
pcie2: pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x80000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -582,7 +582,7 @@
|
|||||||
|
|
||||||
pcie1: pcie@2,0 {
|
pcie1: pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x44000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -79,7 +79,7 @@
|
|||||||
/* x1 port */
|
/* x1 port */
|
||||||
pcie@2,0 {
|
pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x40000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
/* x1 port */
|
/* x1 port */
|
||||||
pcie@3,0 {
|
pcie@3,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
assigned-addresses = <0x82001800 0 0x44000 0 0x2000>;
|
||||||
reg = <0x1800 0 0 0 0>;
|
reg = <0x1800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -22,6 +22,12 @@
|
|||||||
stdout-path = &uart0;
|
stdout-path = &uart0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
aliases {
|
||||||
|
ethernet0 = ð0;
|
||||||
|
ethernet1 = ð1;
|
||||||
|
ethernet2 = ð2;
|
||||||
|
};
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
reg = <0x00000000 0x40000000>; /* 1024 MB */
|
reg = <0x00000000 0x40000000>; /* 1024 MB */
|
||||||
@@ -291,7 +297,17 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/* port 6 is connected to eth0 */
|
ports@6 {
|
||||||
|
reg = <6>;
|
||||||
|
label = "cpu";
|
||||||
|
ethernet = <ð0>;
|
||||||
|
phy-mode = "rgmii-id";
|
||||||
|
|
||||||
|
fixed-link {
|
||||||
|
speed = <1000>;
|
||||||
|
full-duplex;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -84,7 +84,7 @@
|
|||||||
/* x1 port */
|
/* x1 port */
|
||||||
pcie2: pcie@2,0 {
|
pcie2: pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x40000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -103,7 +103,7 @@
|
|||||||
/* x1 port */
|
/* x1 port */
|
||||||
pcie3: pcie@3,0 {
|
pcie3: pcie@3,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
assigned-addresses = <0x82001800 0 0x44000 0 0x2000>;
|
||||||
reg = <0x1800 0 0 0 0>;
|
reg = <0x1800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
*/
|
*/
|
||||||
pcie4: pcie@4,0 {
|
pcie4: pcie@4,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
|
assigned-addresses = <0x82002000 0 0x48000 0 0x2000>;
|
||||||
reg = <0x2000 0 0 0 0>;
|
reg = <0x2000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -453,7 +453,7 @@
|
|||||||
/* x1 port */
|
/* x1 port */
|
||||||
pcie@2,0 {
|
pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x40000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -472,7 +472,7 @@
|
|||||||
/* x1 port */
|
/* x1 port */
|
||||||
pcie@3,0 {
|
pcie@3,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
assigned-addresses = <0x82001800 0 0x44000 0 0x2000>;
|
||||||
reg = <0x1800 0 0 0 0>;
|
reg = <0x1800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -494,7 +494,7 @@
|
|||||||
*/
|
*/
|
||||||
pcie@4,0 {
|
pcie@4,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
|
assigned-addresses = <0x82002000 0 0x48000 0 0x2000>;
|
||||||
reg = <0x2000 0 0 0 0>;
|
reg = <0x2000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -97,7 +97,7 @@
|
|||||||
|
|
||||||
pcie2: pcie@2,0 {
|
pcie2: pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x44000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -115,7 +115,7 @@
|
|||||||
|
|
||||||
pcie3: pcie@3,0 {
|
pcie3: pcie@3,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
|
assigned-addresses = <0x82001800 0 0x48000 0 0x2000>;
|
||||||
reg = <0x1800 0 0 0 0>;
|
reg = <0x1800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
|
|
||||||
pcie4: pcie@4,0 {
|
pcie4: pcie@4,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>;
|
assigned-addresses = <0x82002000 0 0x4c000 0 0x2000>;
|
||||||
reg = <0x2000 0 0 0 0>;
|
reg = <0x2000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
|
|
||||||
pcie5: pcie@5,0 {
|
pcie5: pcie@5,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x80000 0 0x2000>;
|
assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
|
||||||
reg = <0x2800 0 0 0 0>;
|
reg = <0x2800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -112,7 +112,7 @@
|
|||||||
|
|
||||||
pcie2: pcie@2,0 {
|
pcie2: pcie@2,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x44000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x44000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
|
|
||||||
pcie3: pcie@3,0 {
|
pcie3: pcie@3,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x48000 0 0x2000>;
|
assigned-addresses = <0x82001800 0 0x48000 0 0x2000>;
|
||||||
reg = <0x1800 0 0 0 0>;
|
reg = <0x1800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -148,7 +148,7 @@
|
|||||||
|
|
||||||
pcie4: pcie@4,0 {
|
pcie4: pcie@4,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x4c000 0 0x2000>;
|
assigned-addresses = <0x82002000 0 0x4c000 0 0x2000>;
|
||||||
reg = <0x2000 0 0 0 0>;
|
reg = <0x2000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -166,7 +166,7 @@
|
|||||||
|
|
||||||
pcie5: pcie@5,0 {
|
pcie5: pcie@5,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x80000 0 0x2000>;
|
assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
|
||||||
reg = <0x2800 0 0 0 0>;
|
reg = <0x2800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
pcie6: pcie@6,0 {
|
pcie6: pcie@6,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x84000 0 0x2000>;
|
assigned-addresses = <0x82003000 0 0x84000 0 0x2000>;
|
||||||
reg = <0x3000 0 0 0 0>;
|
reg = <0x3000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -202,7 +202,7 @@
|
|||||||
|
|
||||||
pcie7: pcie@7,0 {
|
pcie7: pcie@7,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x88000 0 0x2000>;
|
assigned-addresses = <0x82003800 0 0x88000 0 0x2000>;
|
||||||
reg = <0x3800 0 0 0 0>;
|
reg = <0x3800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -220,7 +220,7 @@
|
|||||||
|
|
||||||
pcie8: pcie@8,0 {
|
pcie8: pcie@8,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x8c000 0 0x2000>;
|
assigned-addresses = <0x82004000 0 0x8c000 0 0x2000>;
|
||||||
reg = <0x4000 0 0 0 0>;
|
reg = <0x4000 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
@@ -238,7 +238,7 @@
|
|||||||
|
|
||||||
pcie9: pcie@9,0 {
|
pcie9: pcie@9,0 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
assigned-addresses = <0x82000800 0 0x42000 0 0x2000>;
|
assigned-addresses = <0x82004800 0 0x42000 0 0x2000>;
|
||||||
reg = <0x4800 0 0 0 0>;
|
reg = <0x4800 0 0 0 0>;
|
||||||
#address-cells = <3>;
|
#address-cells = <3>;
|
||||||
#size-cells = <2>;
|
#size-cells = <2>;
|
||||||
|
@@ -129,7 +129,7 @@
|
|||||||
pcie1: pcie@2 {
|
pcie1: pcie@2 {
|
||||||
device_type = "pci";
|
device_type = "pci";
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
assigned-addresses = <0x82002800 0 0x80000 0 0x2000>;
|
assigned-addresses = <0x82001000 0 0x80000 0 0x2000>;
|
||||||
reg = <0x1000 0 0 0 0>;
|
reg = <0x1000 0 0 0 0>;
|
||||||
clocks = <&gate_clk 5>;
|
clocks = <&gate_clk 5>;
|
||||||
marvell,pcie-port = <1>;
|
marvell,pcie-port = <1>;
|
||||||
|
@@ -487,7 +487,7 @@
|
|||||||
scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
|
scl-gpios = <&gpio3 21 GPIO_ACTIVE_HIGH>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
i2c-switch@70 {
|
i2c-mux@70 {
|
||||||
compatible = "nxp,pca9547";
|
compatible = "nxp,pca9547";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
@@ -634,7 +634,6 @@
|
|||||||
&uart1 {
|
&uart1 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_uart1>;
|
pinctrl-0 = <&pinctrl_uart1>;
|
||||||
uart-has-rtscts;
|
|
||||||
rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
|
rts-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
clock_frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_i2c2>;
|
pinctrl-0 = <&pinctrl_i2c2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@@ -32,7 +32,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
clock_frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_i2c1>;
|
pinctrl-0 = <&pinctrl_i2c1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c4 {
|
&i2c4 {
|
||||||
clock_frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_i2c1>;
|
pinctrl-0 = <&pinctrl_i2c1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@@ -43,7 +43,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
clock_frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_i2c1>;
|
pinctrl-0 = <&pinctrl_i2c1>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
clock_frequency = <100000>;
|
clock-frequency = <100000>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_i2c2>;
|
pinctrl-0 = <&pinctrl_i2c2>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
@@ -1571,7 +1571,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
etb@1a01000 {
|
etb@1a01000 {
|
||||||
compatible = "coresight-etb10", "arm,primecell";
|
compatible = "arm,coresight-etb10", "arm,primecell";
|
||||||
reg = <0x1a01000 0x1000>;
|
reg = <0x1a01000 0x1000>;
|
||||||
|
|
||||||
clocks = <&rpmcc RPM_QDSS_CLK>;
|
clocks = <&rpmcc RPM_QDSS_CLK>;
|
||||||
|
@@ -567,7 +567,7 @@
|
|||||||
mpddrc: mpddrc@ffffe800 {
|
mpddrc: mpddrc@ffffe800 {
|
||||||
compatible = "microchip,sam9x60-ddramc", "atmel,sama5d3-ddramc";
|
compatible = "microchip,sam9x60-ddramc", "atmel,sama5d3-ddramc";
|
||||||
reg = <0xffffe800 0x200>;
|
reg = <0xffffe800 0x200>;
|
||||||
clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_CORE PMC_MCK>;
|
clocks = <&pmc PMC_TYPE_SYSTEM 2>, <&pmc PMC_TYPE_PERIPHERAL 49>;
|
||||||
clock-names = "ddrck", "mpddr";
|
clock-names = "ddrck", "mpddr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -47,7 +47,7 @@
|
|||||||
compatible = "arm,pl110", "arm,primecell";
|
compatible = "arm,pl110", "arm,primecell";
|
||||||
reg = <0xfc200000 0x1000>;
|
reg = <0xfc200000 0x1000>;
|
||||||
interrupt-parent = <&vic1>;
|
interrupt-parent = <&vic1>;
|
||||||
interrupts = <12>;
|
interrupts = <13>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -13,7 +13,6 @@
|
|||||||
/dts-v1/;
|
/dts-v1/;
|
||||||
|
|
||||||
#include "stm32mp157.dtsi"
|
#include "stm32mp157.dtsi"
|
||||||
#include "stm32mp15xc.dtsi"
|
|
||||||
#include "stm32mp15xx-dhcor-som.dtsi"
|
#include "stm32mp15xx-dhcor-som.dtsi"
|
||||||
#include "stm32mp15xx-dhcor-avenger96.dtsi"
|
#include "stm32mp15xx-dhcor-avenger96.dtsi"
|
||||||
|
|
||||||
|
@@ -100,7 +100,7 @@
|
|||||||
regulator-min-microvolt = <3300000>;
|
regulator-min-microvolt = <3300000>;
|
||||||
regulator-max-microvolt = <3300000>;
|
regulator-max-microvolt = <3300000>;
|
||||||
|
|
||||||
gpios = <&gpioz 3 GPIO_ACTIVE_HIGH>;
|
gpio = <&gpioz 3 GPIO_ACTIVE_HIGH>;
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -345,7 +345,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
tca9548@70 {
|
i2c-mux@70 {
|
||||||
compatible = "nxp,pca9548";
|
compatible = "nxp,pca9548";
|
||||||
pinctrl-0 = <&pinctrl_i2c_mux_reset>;
|
pinctrl-0 = <&pinctrl_i2c_mux_reset>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
@@ -340,7 +340,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
tca9548@70 {
|
i2c-mux@70 {
|
||||||
compatible = "nxp,pca9548";
|
compatible = "nxp,pca9548";
|
||||||
pinctrl-0 = <&pinctrl_i2c_mux_reset>;
|
pinctrl-0 = <&pinctrl_i2c_mux_reset>;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
@@ -133,15 +133,16 @@ extern int vfp_restore_user_hwstate(struct user_vfp *,
|
|||||||
#define TIF_NEED_RESCHED 1 /* rescheduling necessary */
|
#define TIF_NEED_RESCHED 1 /* rescheduling necessary */
|
||||||
#define TIF_NOTIFY_RESUME 2 /* callback before returning to user */
|
#define TIF_NOTIFY_RESUME 2 /* callback before returning to user */
|
||||||
#define TIF_UPROBE 3 /* breakpointed or singlestepping */
|
#define TIF_UPROBE 3 /* breakpointed or singlestepping */
|
||||||
#define TIF_SYSCALL_TRACE 4 /* syscall trace active */
|
#define TIF_NOTIFY_SIGNAL 4 /* signal notifications exist */
|
||||||
#define TIF_SYSCALL_AUDIT 5 /* syscall auditing active */
|
|
||||||
#define TIF_SYSCALL_TRACEPOINT 6 /* syscall tracepoint instrumentation */
|
|
||||||
#define TIF_SECCOMP 7 /* seccomp syscall filtering active */
|
|
||||||
#define TIF_NOTIFY_SIGNAL 8 /* signal notifications exist */
|
|
||||||
|
|
||||||
#define TIF_USING_IWMMXT 17
|
#define TIF_USING_IWMMXT 17
|
||||||
#define TIF_MEMDIE 18 /* is terminating due to OOM killer */
|
#define TIF_MEMDIE 18 /* is terminating due to OOM killer */
|
||||||
#define TIF_RESTORE_SIGMASK 20
|
#define TIF_RESTORE_SIGMASK 19
|
||||||
|
#define TIF_SYSCALL_TRACE 20 /* syscall trace active */
|
||||||
|
#define TIF_SYSCALL_AUDIT 21 /* syscall auditing active */
|
||||||
|
#define TIF_SYSCALL_TRACEPOINT 22 /* syscall tracepoint instrumentation */
|
||||||
|
#define TIF_SECCOMP 23 /* seccomp syscall filtering active */
|
||||||
|
|
||||||
|
|
||||||
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
|
#define _TIF_SIGPENDING (1 << TIF_SIGPENDING)
|
||||||
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
|
#define _TIF_NEED_RESCHED (1 << TIF_NEED_RESCHED)
|
||||||
|
@@ -348,7 +348,7 @@ static void oops_end(unsigned long flags, struct pt_regs *regs, int signr)
|
|||||||
if (panic_on_oops)
|
if (panic_on_oops)
|
||||||
panic("Fatal exception");
|
panic("Fatal exception");
|
||||||
if (signr)
|
if (signr)
|
||||||
do_exit(signr);
|
make_task_dead(signr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -23,6 +23,7 @@ static int mx25_read_cpu_rev(void)
|
|||||||
|
|
||||||
np = of_find_compatible_node(NULL, NULL, "fsl,imx25-iim");
|
np = of_find_compatible_node(NULL, NULL, "fsl,imx25-iim");
|
||||||
iim_base = of_iomap(np, 0);
|
iim_base = of_iomap(np, 0);
|
||||||
|
of_node_put(np);
|
||||||
BUG_ON(!iim_base);
|
BUG_ON(!iim_base);
|
||||||
rev = readl(iim_base + MXC_IIMSREV);
|
rev = readl(iim_base + MXC_IIMSREV);
|
||||||
iounmap(iim_base);
|
iounmap(iim_base);
|
||||||
|
@@ -28,6 +28,7 @@ static int mx27_read_cpu_rev(void)
|
|||||||
|
|
||||||
np = of_find_compatible_node(NULL, NULL, "fsl,imx27-ccm");
|
np = of_find_compatible_node(NULL, NULL, "fsl,imx27-ccm");
|
||||||
ccm_base = of_iomap(np, 0);
|
ccm_base = of_iomap(np, 0);
|
||||||
|
of_node_put(np);
|
||||||
BUG_ON(!ccm_base);
|
BUG_ON(!ccm_base);
|
||||||
/*
|
/*
|
||||||
* now we have access to the IO registers. As we need
|
* now we have access to the IO registers. As we need
|
||||||
|
@@ -39,6 +39,7 @@ static int mx31_read_cpu_rev(void)
|
|||||||
|
|
||||||
np = of_find_compatible_node(NULL, NULL, "fsl,imx31-iim");
|
np = of_find_compatible_node(NULL, NULL, "fsl,imx31-iim");
|
||||||
iim_base = of_iomap(np, 0);
|
iim_base = of_iomap(np, 0);
|
||||||
|
of_node_put(np);
|
||||||
BUG_ON(!iim_base);
|
BUG_ON(!iim_base);
|
||||||
|
|
||||||
/* read SREV register from IIM module */
|
/* read SREV register from IIM module */
|
||||||
|
@@ -21,6 +21,7 @@ static int mx35_read_cpu_rev(void)
|
|||||||
|
|
||||||
np = of_find_compatible_node(NULL, NULL, "fsl,imx35-iim");
|
np = of_find_compatible_node(NULL, NULL, "fsl,imx35-iim");
|
||||||
iim_base = of_iomap(np, 0);
|
iim_base = of_iomap(np, 0);
|
||||||
|
of_node_put(np);
|
||||||
BUG_ON(!iim_base);
|
BUG_ON(!iim_base);
|
||||||
|
|
||||||
rev = imx_readl(iim_base + MXC_IIMSREV);
|
rev = imx_readl(iim_base + MXC_IIMSREV);
|
||||||
|
@@ -28,6 +28,7 @@ static u32 imx5_read_srev_reg(const char *compat)
|
|||||||
|
|
||||||
np = of_find_compatible_node(NULL, NULL, compat);
|
np = of_find_compatible_node(NULL, NULL, compat);
|
||||||
iim_base = of_iomap(np, 0);
|
iim_base = of_iomap(np, 0);
|
||||||
|
of_node_put(np);
|
||||||
WARN_ON(!iim_base);
|
WARN_ON(!iim_base);
|
||||||
|
|
||||||
srev = readl(iim_base + IIM_SREV) & 0xff;
|
srev = readl(iim_base + IIM_SREV) & 0xff;
|
||||||
|
@@ -43,18 +43,21 @@
|
|||||||
static void __iomem *mmp_timer_base = TIMERS_VIRT_BASE;
|
static void __iomem *mmp_timer_base = TIMERS_VIRT_BASE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FIXME: the timer needs some delay to stablize the counter capture
|
* Read the timer through the CVWR register. Delay is required after requesting
|
||||||
|
* a read. The CR register cannot be directly read due to metastability issues
|
||||||
|
* documented in the PXA168 software manual.
|
||||||
*/
|
*/
|
||||||
static inline uint32_t timer_read(void)
|
static inline uint32_t timer_read(void)
|
||||||
{
|
{
|
||||||
int delay = 100;
|
uint32_t val;
|
||||||
|
int delay = 3;
|
||||||
|
|
||||||
__raw_writel(1, mmp_timer_base + TMR_CVWR(1));
|
__raw_writel(1, mmp_timer_base + TMR_CVWR(1));
|
||||||
|
|
||||||
while (delay--)
|
while (delay--)
|
||||||
cpu_relax();
|
val = __raw_readl(mmp_timer_base + TMR_CVWR(1));
|
||||||
|
|
||||||
return __raw_readl(mmp_timer_base + TMR_CVWR(1));
|
return val;
|
||||||
}
|
}
|
||||||
|
|
||||||
static u64 notrace mmp_read_sched_clock(void)
|
static u64 notrace mmp_read_sched_clock(void)
|
||||||
|
@@ -125,7 +125,7 @@ __do_kernel_fault(struct mm_struct *mm, unsigned long addr, unsigned int fsr,
|
|||||||
show_pte(KERN_ALERT, mm, addr);
|
show_pte(KERN_ALERT, mm, addr);
|
||||||
die("Oops", regs, fsr);
|
die("Oops", regs, fsr);
|
||||||
bust_spinlocks(0);
|
bust_spinlocks(0);
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -161,7 +161,7 @@ void __init paging_init(const struct machine_desc *mdesc)
|
|||||||
mpu_setup();
|
mpu_setup();
|
||||||
|
|
||||||
/* allocate the zero page. */
|
/* allocate the zero page. */
|
||||||
zero_page = memblock_alloc(PAGE_SIZE, PAGE_SIZE);
|
zero_page = (void *)memblock_alloc(PAGE_SIZE, PAGE_SIZE);
|
||||||
if (!zero_page)
|
if (!zero_page)
|
||||||
panic("%s: Failed to allocate %lu bytes align=0x%lx\n",
|
panic("%s: Failed to allocate %lu bytes align=0x%lx\n",
|
||||||
__func__, PAGE_SIZE, PAGE_SIZE);
|
__func__, PAGE_SIZE, PAGE_SIZE);
|
||||||
|
@@ -11,3 +11,9 @@ nwfpe-y += fpa11.o fpa11_cpdo.o fpa11_cpdt.o \
|
|||||||
entry.o
|
entry.o
|
||||||
|
|
||||||
nwfpe-$(CONFIG_FPE_NWFPE_XP) += extended_cpdo.o
|
nwfpe-$(CONFIG_FPE_NWFPE_XP) += extended_cpdo.o
|
||||||
|
|
||||||
|
# Try really hard to avoid generating calls to __aeabi_uldivmod() from
|
||||||
|
# float64_rem() due to loop elision.
|
||||||
|
ifdef CONFIG_CC_IS_CLANG
|
||||||
|
CFLAGS_softfloat.o += -mllvm -replexitval=never
|
||||||
|
endif
|
||||||
|
@@ -1754,7 +1754,7 @@
|
|||||||
sd_emmc_b: sd@5000 {
|
sd_emmc_b: sd@5000 {
|
||||||
compatible = "amlogic,meson-axg-mmc";
|
compatible = "amlogic,meson-axg-mmc";
|
||||||
reg = <0x0 0x5000 0x0 0x800>;
|
reg = <0x0 0x5000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&clkc CLKID_SD_EMMC_B>,
|
clocks = <&clkc CLKID_SD_EMMC_B>,
|
||||||
<&clkc CLKID_SD_EMMC_B_CLK0>,
|
<&clkc CLKID_SD_EMMC_B_CLK0>,
|
||||||
@@ -1766,7 +1766,7 @@
|
|||||||
sd_emmc_c: mmc@7000 {
|
sd_emmc_c: mmc@7000 {
|
||||||
compatible = "amlogic,meson-axg-mmc";
|
compatible = "amlogic,meson-axg-mmc";
|
||||||
reg = <0x0 0x7000 0x0 0x800>;
|
reg = <0x0 0x7000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&clkc CLKID_SD_EMMC_C>,
|
clocks = <&clkc CLKID_SD_EMMC_C>,
|
||||||
<&clkc CLKID_SD_EMMC_C_CLK0>,
|
<&clkc CLKID_SD_EMMC_C_CLK0>,
|
||||||
|
@@ -2317,7 +2317,7 @@
|
|||||||
sd_emmc_a: sd@ffe03000 {
|
sd_emmc_a: sd@ffe03000 {
|
||||||
compatible = "amlogic,meson-axg-mmc";
|
compatible = "amlogic,meson-axg-mmc";
|
||||||
reg = <0x0 0xffe03000 0x0 0x800>;
|
reg = <0x0 0xffe03000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 189 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&clkc CLKID_SD_EMMC_A>,
|
clocks = <&clkc CLKID_SD_EMMC_A>,
|
||||||
<&clkc CLKID_SD_EMMC_A_CLK0>,
|
<&clkc CLKID_SD_EMMC_A_CLK0>,
|
||||||
@@ -2329,7 +2329,7 @@
|
|||||||
sd_emmc_b: sd@ffe05000 {
|
sd_emmc_b: sd@ffe05000 {
|
||||||
compatible = "amlogic,meson-axg-mmc";
|
compatible = "amlogic,meson-axg-mmc";
|
||||||
reg = <0x0 0xffe05000 0x0 0x800>;
|
reg = <0x0 0xffe05000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 190 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&clkc CLKID_SD_EMMC_B>,
|
clocks = <&clkc CLKID_SD_EMMC_B>,
|
||||||
<&clkc CLKID_SD_EMMC_B_CLK0>,
|
<&clkc CLKID_SD_EMMC_B_CLK0>,
|
||||||
@@ -2341,7 +2341,7 @@
|
|||||||
sd_emmc_c: mmc@ffe07000 {
|
sd_emmc_c: mmc@ffe07000 {
|
||||||
compatible = "amlogic,meson-axg-mmc";
|
compatible = "amlogic,meson-axg-mmc";
|
||||||
reg = <0x0 0xffe07000 0x0 0x800>;
|
reg = <0x0 0xffe07000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 191 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
clocks = <&clkc CLKID_SD_EMMC_C>,
|
clocks = <&clkc CLKID_SD_EMMC_C>,
|
||||||
<&clkc CLKID_SD_EMMC_C_CLK0>,
|
<&clkc CLKID_SD_EMMC_C_CLK0>,
|
||||||
|
@@ -595,21 +595,21 @@
|
|||||||
sd_emmc_a: mmc@70000 {
|
sd_emmc_a: mmc@70000 {
|
||||||
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
|
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
|
||||||
reg = <0x0 0x70000 0x0 0x800>;
|
reg = <0x0 0x70000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sd_emmc_b: mmc@72000 {
|
sd_emmc_b: mmc@72000 {
|
||||||
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
|
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
|
||||||
reg = <0x0 0x72000 0x0 0x800>;
|
reg = <0x0 0x72000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
sd_emmc_c: mmc@74000 {
|
sd_emmc_c: mmc@74000 {
|
||||||
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
|
compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
|
||||||
reg = <0x0 0x74000 0x0 0x800>;
|
reg = <0x0 0x74000 0x0 0x800>;
|
||||||
interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
|
interrupts = <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@@ -70,7 +70,7 @@
|
|||||||
&ecspi2 {
|
&ecspi2 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&pinctrl_espi2>;
|
pinctrl-0 = <&pinctrl_espi2>;
|
||||||
cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
|
cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
eeprom@0 {
|
eeprom@0 {
|
||||||
@@ -187,7 +187,7 @@
|
|||||||
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x82
|
MX8MM_IOMUXC_ECSPI2_SCLK_ECSPI2_SCLK 0x82
|
||||||
MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x82
|
MX8MM_IOMUXC_ECSPI2_MOSI_ECSPI2_MOSI 0x82
|
||||||
MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x82
|
MX8MM_IOMUXC_ECSPI2_MISO_ECSPI2_MISO 0x82
|
||||||
MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9 0x41
|
MX8MM_IOMUXC_ECSPI2_SS0_GPIO5_IO13 0x41
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -601,7 +601,7 @@
|
|||||||
#define MX8MM_IOMUXC_UART1_RXD_GPIO5_IO22 0x234 0x49C 0x000 0x5 0x0
|
#define MX8MM_IOMUXC_UART1_RXD_GPIO5_IO22 0x234 0x49C 0x000 0x5 0x0
|
||||||
#define MX8MM_IOMUXC_UART1_RXD_TPSMP_HDATA24 0x234 0x49C 0x000 0x7 0x0
|
#define MX8MM_IOMUXC_UART1_RXD_TPSMP_HDATA24 0x234 0x49C 0x000 0x7 0x0
|
||||||
#define MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x238 0x4A0 0x000 0x0 0x0
|
#define MX8MM_IOMUXC_UART1_TXD_UART1_DCE_TX 0x238 0x4A0 0x000 0x0 0x0
|
||||||
#define MX8MM_IOMUXC_UART1_TXD_UART1_DTE_RX 0x238 0x4A0 0x4F4 0x0 0x0
|
#define MX8MM_IOMUXC_UART1_TXD_UART1_DTE_RX 0x238 0x4A0 0x4F4 0x0 0x1
|
||||||
#define MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI 0x238 0x4A0 0x000 0x1 0x0
|
#define MX8MM_IOMUXC_UART1_TXD_ECSPI3_MOSI 0x238 0x4A0 0x000 0x1 0x0
|
||||||
#define MX8MM_IOMUXC_UART1_TXD_GPIO5_IO23 0x238 0x4A0 0x000 0x5 0x0
|
#define MX8MM_IOMUXC_UART1_TXD_GPIO5_IO23 0x238 0x4A0 0x000 0x5 0x0
|
||||||
#define MX8MM_IOMUXC_UART1_TXD_TPSMP_HDATA25 0x238 0x4A0 0x000 0x7 0x0
|
#define MX8MM_IOMUXC_UART1_TXD_TPSMP_HDATA25 0x238 0x4A0 0x000 0x7 0x0
|
||||||
|
@@ -339,7 +339,7 @@
|
|||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
non-removable;
|
non-removable;
|
||||||
no-sd;
|
no-sd;
|
||||||
no-emmc;
|
no-mmc;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
brcmf: wifi@1 {
|
brcmf: wifi@1 {
|
||||||
@@ -359,7 +359,7 @@
|
|||||||
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
no-sdio;
|
no-sdio;
|
||||||
no-emmc;
|
no-mmc;
|
||||||
disable-wp;
|
disable-wp;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
@@ -124,9 +124,12 @@
|
|||||||
/delete-property/ mrvl,i2c-fast-mode;
|
/delete-property/ mrvl,i2c-fast-mode;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
|
/* MCP7940MT-I/MNY RTC */
|
||||||
rtc@6f {
|
rtc@6f {
|
||||||
compatible = "microchip,mcp7940x";
|
compatible = "microchip,mcp7940x";
|
||||||
reg = <0x6f>;
|
reg = <0x6f>;
|
||||||
|
interrupt-parent = <&gpiosb>;
|
||||||
|
interrupts = <5 0>; /* GPIO2_5 */
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -26,14 +26,14 @@
|
|||||||
stdout-path = "serial0:921600n8";
|
stdout-path = "serial0:921600n8";
|
||||||
};
|
};
|
||||||
|
|
||||||
cpus_fixed_vproc0: fixedregulator@0 {
|
cpus_fixed_vproc0: regulator-vproc-buck0 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vproc_buck0";
|
regulator-name = "vproc_buck0";
|
||||||
regulator-min-microvolt = <1000000>;
|
regulator-min-microvolt = <1000000>;
|
||||||
regulator-max-microvolt = <1000000>;
|
regulator-max-microvolt = <1000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
cpus_fixed_vproc1: fixedregulator@1 {
|
cpus_fixed_vproc1: regulator-vproc-buck1 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "vproc_buck1";
|
regulator-name = "vproc_buck1";
|
||||||
regulator-min-microvolt = <1000000>;
|
regulator-min-microvolt = <1000000>;
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
id-gpio = <&pio 14 GPIO_ACTIVE_HIGH>;
|
id-gpio = <&pio 14 GPIO_ACTIVE_HIGH>;
|
||||||
};
|
};
|
||||||
|
|
||||||
usb_p0_vbus: regulator@2 {
|
usb_p0_vbus: regulator-usb-p0-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "p0_vbus";
|
regulator-name = "p0_vbus";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
usb_p1_vbus: regulator@3 {
|
usb_p1_vbus: regulator-usb-p1-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "p1_vbus";
|
regulator-name = "p1_vbus";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
usb_p2_vbus: regulator@4 {
|
usb_p2_vbus: regulator-usb-p2-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "p2_vbus";
|
regulator-name = "p2_vbus";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
usb_p3_vbus: regulator@5 {
|
usb_p3_vbus: regulator-usb-p3-vbus {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "p3_vbus";
|
regulator-name = "p3_vbus";
|
||||||
regulator-min-microvolt = <5000000>;
|
regulator-min-microvolt = <5000000>;
|
||||||
|
@@ -160,70 +160,70 @@
|
|||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
clk26m: oscillator@0 {
|
clk26m: oscillator-26m {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <26000000>;
|
clock-frequency = <26000000>;
|
||||||
clock-output-names = "clk26m";
|
clock-output-names = "clk26m";
|
||||||
};
|
};
|
||||||
|
|
||||||
clk32k: oscillator@1 {
|
clk32k: oscillator-32k {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <32768>;
|
clock-frequency = <32768>;
|
||||||
clock-output-names = "clk32k";
|
clock-output-names = "clk32k";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkfpc: oscillator@2 {
|
clkfpc: oscillator-50m {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <50000000>;
|
clock-frequency = <50000000>;
|
||||||
clock-output-names = "clkfpc";
|
clock-output-names = "clkfpc";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkaud_ext_i_0: oscillator@3 {
|
clkaud_ext_i_0: oscillator-aud0 {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <6500000>;
|
clock-frequency = <6500000>;
|
||||||
clock-output-names = "clkaud_ext_i_0";
|
clock-output-names = "clkaud_ext_i_0";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkaud_ext_i_1: oscillator@4 {
|
clkaud_ext_i_1: oscillator-aud1 {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <196608000>;
|
clock-frequency = <196608000>;
|
||||||
clock-output-names = "clkaud_ext_i_1";
|
clock-output-names = "clkaud_ext_i_1";
|
||||||
};
|
};
|
||||||
|
|
||||||
clkaud_ext_i_2: oscillator@5 {
|
clkaud_ext_i_2: oscillator-aud2 {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <180633600>;
|
clock-frequency = <180633600>;
|
||||||
clock-output-names = "clkaud_ext_i_2";
|
clock-output-names = "clkaud_ext_i_2";
|
||||||
};
|
};
|
||||||
|
|
||||||
clki2si0_mck_i: oscillator@6 {
|
clki2si0_mck_i: oscillator-i2s0 {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <30000000>;
|
clock-frequency = <30000000>;
|
||||||
clock-output-names = "clki2si0_mck_i";
|
clock-output-names = "clki2si0_mck_i";
|
||||||
};
|
};
|
||||||
|
|
||||||
clki2si1_mck_i: oscillator@7 {
|
clki2si1_mck_i: oscillator-i2s1 {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <30000000>;
|
clock-frequency = <30000000>;
|
||||||
clock-output-names = "clki2si1_mck_i";
|
clock-output-names = "clki2si1_mck_i";
|
||||||
};
|
};
|
||||||
|
|
||||||
clki2si2_mck_i: oscillator@8 {
|
clki2si2_mck_i: oscillator-i2s2 {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <30000000>;
|
clock-frequency = <30000000>;
|
||||||
clock-output-names = "clki2si2_mck_i";
|
clock-output-names = "clki2si2_mck_i";
|
||||||
};
|
};
|
||||||
|
|
||||||
clktdmin_mclk_i: oscillator@9 {
|
clktdmin_mclk_i: oscillator-mclk {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <30000000>;
|
clock-frequency = <30000000>;
|
||||||
@@ -266,7 +266,7 @@
|
|||||||
reg = <0 0x10005000 0 0x1000>;
|
reg = <0 0x10005000 0 0x1000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
pio: pinctrl@10005000 {
|
pio: pinctrl@1000b000 {
|
||||||
compatible = "mediatek,mt2712-pinctrl";
|
compatible = "mediatek,mt2712-pinctrl";
|
||||||
reg = <0 0x1000b000 0 0x1000>;
|
reg = <0 0x1000b000 0 0x1000>;
|
||||||
mediatek,pctl-regmap = <&syscfg_pctl_a>;
|
mediatek,pctl-regmap = <&syscfg_pctl_a>;
|
||||||
|
@@ -95,7 +95,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
clk26m: oscillator@0 {
|
clk26m: oscillator-26m {
|
||||||
compatible = "fixed-clock";
|
compatible = "fixed-clock";
|
||||||
#clock-cells = <0>;
|
#clock-cells = <0>;
|
||||||
clock-frequency = <26000000>;
|
clock-frequency = <26000000>;
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
firmware {
|
firmware {
|
||||||
optee: optee@4fd00000 {
|
optee: optee {
|
||||||
compatible = "linaro,optee-tz";
|
compatible = "linaro,optee-tz";
|
||||||
method = "smc";
|
method = "smc";
|
||||||
};
|
};
|
||||||
@@ -209,7 +209,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c0_pins_a: i2c0@0 {
|
i2c0_pins_a: i2c0 {
|
||||||
pins1 {
|
pins1 {
|
||||||
pinmux = <MT8516_PIN_58_SDA0__FUNC_SDA0_0>,
|
pinmux = <MT8516_PIN_58_SDA0__FUNC_SDA0_0>,
|
||||||
<MT8516_PIN_59_SCL0__FUNC_SCL0_0>;
|
<MT8516_PIN_59_SCL0__FUNC_SCL0_0>;
|
||||||
@@ -217,7 +217,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
i2c2_pins_a: i2c2@0 {
|
i2c2_pins_a: i2c2 {
|
||||||
pins1 {
|
pins1 {
|
||||||
pinmux = <MT8516_PIN_60_SDA2__FUNC_SDA2_0>,
|
pinmux = <MT8516_PIN_60_SDA2__FUNC_SDA2_0>,
|
||||||
<MT8516_PIN_61_SCL2__FUNC_SCL2_0>;
|
<MT8516_PIN_61_SCL2__FUNC_SCL2_0>;
|
||||||
|
@@ -37,6 +37,8 @@
|
|||||||
|
|
||||||
&spi_0 {
|
&spi_0 {
|
||||||
cs-select = <0>;
|
cs-select = <0>;
|
||||||
|
pinctrl-0 = <&spi_0_pins>;
|
||||||
|
pinctrl-names = "default";
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
m25p80@0 {
|
m25p80@0 {
|
||||||
|
@@ -1249,7 +1249,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
mpss: remoteproc@4080000 {
|
mpss: remoteproc@4080000 {
|
||||||
compatible = "qcom,msm8916-mss-pil", "qcom,q6v5-pil";
|
compatible = "qcom,msm8916-mss-pil";
|
||||||
reg = <0x04080000 0x100>,
|
reg = <0x04080000 0x100>,
|
||||||
<0x04020000 0x040>;
|
<0x04020000 0x040>;
|
||||||
|
|
||||||
|
@@ -651,17 +651,17 @@
|
|||||||
compatible ="operating-points-v2";
|
compatible ="operating-points-v2";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* 624Mhz and 560Mhz are only available on speed
|
* 624Mhz is only available on speed bins 0 and 3.
|
||||||
* bin (1 << 0). All the rest are available on
|
* 560Mhz is only available on speed bins 0, 2 and 3.
|
||||||
* all bins of the hardware
|
* All the rest are available on all bins of the hardware.
|
||||||
*/
|
*/
|
||||||
opp-624000000 {
|
opp-624000000 {
|
||||||
opp-hz = /bits/ 64 <624000000>;
|
opp-hz = /bits/ 64 <624000000>;
|
||||||
opp-supported-hw = <0x01>;
|
opp-supported-hw = <0x09>;
|
||||||
};
|
};
|
||||||
opp-560000000 {
|
opp-560000000 {
|
||||||
opp-hz = /bits/ 64 <560000000>;
|
opp-hz = /bits/ 64 <560000000>;
|
||||||
opp-supported-hw = <0x01>;
|
opp-supported-hw = <0x0d>;
|
||||||
};
|
};
|
||||||
opp-510000000 {
|
opp-510000000 {
|
||||||
opp-hz = /bits/ 64 <510000000>;
|
opp-hz = /bits/ 64 <510000000>;
|
||||||
|
@@ -593,7 +593,7 @@
|
|||||||
pins = "gpio17", "gpio18", "gpio19";
|
pins = "gpio17", "gpio18", "gpio19";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
bias-no-pull;
|
bias-disable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -1292,7 +1292,7 @@ ap_ts_i2c: &i2c14 {
|
|||||||
config {
|
config {
|
||||||
pins = "gpio126";
|
pins = "gpio126";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
bias-no-pull;
|
bias-disable;
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
output-low;
|
output-low;
|
||||||
};
|
};
|
||||||
@@ -1302,7 +1302,7 @@ ap_ts_i2c: &i2c14 {
|
|||||||
config {
|
config {
|
||||||
pins = "gpio126";
|
pins = "gpio126";
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
bias-no-pull;
|
bias-disable;
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
output-high;
|
output-high;
|
||||||
};
|
};
|
||||||
|
@@ -1045,7 +1045,10 @@
|
|||||||
|
|
||||||
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
|
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
|
||||||
&qup_spi2_default {
|
&qup_spi2_default {
|
||||||
|
pinconf {
|
||||||
|
pins = "gpio27", "gpio28", "gpio29", "gpio30";
|
||||||
drive-strength = <16>;
|
drive-strength = <16>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&qup_uart3_default{
|
&qup_uart3_default{
|
||||||
|
@@ -322,8 +322,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&qup_i2c12_default {
|
&qup_i2c12_default {
|
||||||
|
pinmux {
|
||||||
drive-strength = <2>;
|
drive-strength = <2>;
|
||||||
bias-disable;
|
bias-disable;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&qup_uart6_default {
|
&qup_uart6_default {
|
||||||
|
@@ -127,7 +127,6 @@
|
|||||||
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
|
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
|
||||||
<&main_udmap 0x4001>;
|
<&main_udmap 0x4001>;
|
||||||
dma-names = "tx", "rx1", "rx2";
|
dma-names = "tx", "rx1", "rx2";
|
||||||
dma-coherent;
|
|
||||||
|
|
||||||
rng: rng@4e10000 {
|
rng: rng@4e10000 {
|
||||||
compatible = "inside-secure,safexcel-eip76";
|
compatible = "inside-secure,safexcel-eip76";
|
||||||
|
@@ -367,7 +367,6 @@
|
|||||||
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
|
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
|
||||||
<&main_udmap 0x4001>;
|
<&main_udmap 0x4001>;
|
||||||
dma-names = "tx", "rx1", "rx2";
|
dma-names = "tx", "rx1", "rx2";
|
||||||
dma-coherent;
|
|
||||||
|
|
||||||
rng: rng@4e10000 {
|
rng: rng@4e10000 {
|
||||||
compatible = "inside-secure,safexcel-eip76";
|
compatible = "inside-secure,safexcel-eip76";
|
||||||
|
@@ -12,19 +12,6 @@
|
|||||||
|
|
||||||
#include <linux/stringify.h>
|
#include <linux/stringify.h>
|
||||||
|
|
||||||
#ifdef CONFIG_ARM64_LSE_ATOMICS
|
|
||||||
#define __LL_SC_FALLBACK(asm_ops) \
|
|
||||||
" b 3f\n" \
|
|
||||||
" .subsection 1\n" \
|
|
||||||
"3:\n" \
|
|
||||||
asm_ops "\n" \
|
|
||||||
" b 4f\n" \
|
|
||||||
" .previous\n" \
|
|
||||||
"4:\n"
|
|
||||||
#else
|
|
||||||
#define __LL_SC_FALLBACK(asm_ops) asm_ops
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef CONFIG_CC_HAS_K_CONSTRAINT
|
#ifndef CONFIG_CC_HAS_K_CONSTRAINT
|
||||||
#define K
|
#define K
|
||||||
#endif
|
#endif
|
||||||
@@ -43,12 +30,11 @@ __ll_sc_atomic_##op(int i, atomic_t *v) \
|
|||||||
int result; \
|
int result; \
|
||||||
\
|
\
|
||||||
asm volatile("// atomic_" #op "\n" \
|
asm volatile("// atomic_" #op "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
" prfm pstl1strm, %2\n" \
|
||||||
" prfm pstl1strm, %2\n" \
|
"1: ldxr %w0, %2\n" \
|
||||||
"1: ldxr %w0, %2\n" \
|
" " #asm_op " %w0, %w0, %w3\n" \
|
||||||
" " #asm_op " %w0, %w0, %w3\n" \
|
" stxr %w1, %w0, %2\n" \
|
||||||
" stxr %w1, %w0, %2\n" \
|
" cbnz %w1, 1b\n" \
|
||||||
" cbnz %w1, 1b\n") \
|
|
||||||
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
||||||
: __stringify(constraint) "r" (i)); \
|
: __stringify(constraint) "r" (i)); \
|
||||||
}
|
}
|
||||||
@@ -61,13 +47,12 @@ __ll_sc_atomic_##op##_return##name(int i, atomic_t *v) \
|
|||||||
int result; \
|
int result; \
|
||||||
\
|
\
|
||||||
asm volatile("// atomic_" #op "_return" #name "\n" \
|
asm volatile("// atomic_" #op "_return" #name "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
" prfm pstl1strm, %2\n" \
|
||||||
" prfm pstl1strm, %2\n" \
|
"1: ld" #acq "xr %w0, %2\n" \
|
||||||
"1: ld" #acq "xr %w0, %2\n" \
|
" " #asm_op " %w0, %w0, %w3\n" \
|
||||||
" " #asm_op " %w0, %w0, %w3\n" \
|
" st" #rel "xr %w1, %w0, %2\n" \
|
||||||
" st" #rel "xr %w1, %w0, %2\n" \
|
" cbnz %w1, 1b\n" \
|
||||||
" cbnz %w1, 1b\n" \
|
" " #mb \
|
||||||
" " #mb ) \
|
|
||||||
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
||||||
: __stringify(constraint) "r" (i) \
|
: __stringify(constraint) "r" (i) \
|
||||||
: cl); \
|
: cl); \
|
||||||
@@ -83,13 +68,12 @@ __ll_sc_atomic_fetch_##op##name(int i, atomic_t *v) \
|
|||||||
int val, result; \
|
int val, result; \
|
||||||
\
|
\
|
||||||
asm volatile("// atomic_fetch_" #op #name "\n" \
|
asm volatile("// atomic_fetch_" #op #name "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
" prfm pstl1strm, %3\n" \
|
||||||
" prfm pstl1strm, %3\n" \
|
"1: ld" #acq "xr %w0, %3\n" \
|
||||||
"1: ld" #acq "xr %w0, %3\n" \
|
" " #asm_op " %w1, %w0, %w4\n" \
|
||||||
" " #asm_op " %w1, %w0, %w4\n" \
|
" st" #rel "xr %w2, %w1, %3\n" \
|
||||||
" st" #rel "xr %w2, %w1, %3\n" \
|
" cbnz %w2, 1b\n" \
|
||||||
" cbnz %w2, 1b\n" \
|
" " #mb \
|
||||||
" " #mb ) \
|
|
||||||
: "=&r" (result), "=&r" (val), "=&r" (tmp), "+Q" (v->counter) \
|
: "=&r" (result), "=&r" (val), "=&r" (tmp), "+Q" (v->counter) \
|
||||||
: __stringify(constraint) "r" (i) \
|
: __stringify(constraint) "r" (i) \
|
||||||
: cl); \
|
: cl); \
|
||||||
@@ -142,12 +126,11 @@ __ll_sc_atomic64_##op(s64 i, atomic64_t *v) \
|
|||||||
unsigned long tmp; \
|
unsigned long tmp; \
|
||||||
\
|
\
|
||||||
asm volatile("// atomic64_" #op "\n" \
|
asm volatile("// atomic64_" #op "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
" prfm pstl1strm, %2\n" \
|
||||||
" prfm pstl1strm, %2\n" \
|
"1: ldxr %0, %2\n" \
|
||||||
"1: ldxr %0, %2\n" \
|
" " #asm_op " %0, %0, %3\n" \
|
||||||
" " #asm_op " %0, %0, %3\n" \
|
" stxr %w1, %0, %2\n" \
|
||||||
" stxr %w1, %0, %2\n" \
|
" cbnz %w1, 1b" \
|
||||||
" cbnz %w1, 1b") \
|
|
||||||
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
||||||
: __stringify(constraint) "r" (i)); \
|
: __stringify(constraint) "r" (i)); \
|
||||||
}
|
}
|
||||||
@@ -160,13 +143,12 @@ __ll_sc_atomic64_##op##_return##name(s64 i, atomic64_t *v) \
|
|||||||
unsigned long tmp; \
|
unsigned long tmp; \
|
||||||
\
|
\
|
||||||
asm volatile("// atomic64_" #op "_return" #name "\n" \
|
asm volatile("// atomic64_" #op "_return" #name "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
" prfm pstl1strm, %2\n" \
|
||||||
" prfm pstl1strm, %2\n" \
|
"1: ld" #acq "xr %0, %2\n" \
|
||||||
"1: ld" #acq "xr %0, %2\n" \
|
" " #asm_op " %0, %0, %3\n" \
|
||||||
" " #asm_op " %0, %0, %3\n" \
|
" st" #rel "xr %w1, %0, %2\n" \
|
||||||
" st" #rel "xr %w1, %0, %2\n" \
|
" cbnz %w1, 1b\n" \
|
||||||
" cbnz %w1, 1b\n" \
|
" " #mb \
|
||||||
" " #mb ) \
|
|
||||||
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter) \
|
||||||
: __stringify(constraint) "r" (i) \
|
: __stringify(constraint) "r" (i) \
|
||||||
: cl); \
|
: cl); \
|
||||||
@@ -182,13 +164,12 @@ __ll_sc_atomic64_fetch_##op##name(s64 i, atomic64_t *v) \
|
|||||||
unsigned long tmp; \
|
unsigned long tmp; \
|
||||||
\
|
\
|
||||||
asm volatile("// atomic64_fetch_" #op #name "\n" \
|
asm volatile("// atomic64_fetch_" #op #name "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
" prfm pstl1strm, %3\n" \
|
||||||
" prfm pstl1strm, %3\n" \
|
"1: ld" #acq "xr %0, %3\n" \
|
||||||
"1: ld" #acq "xr %0, %3\n" \
|
" " #asm_op " %1, %0, %4\n" \
|
||||||
" " #asm_op " %1, %0, %4\n" \
|
" st" #rel "xr %w2, %1, %3\n" \
|
||||||
" st" #rel "xr %w2, %1, %3\n" \
|
" cbnz %w2, 1b\n" \
|
||||||
" cbnz %w2, 1b\n" \
|
" " #mb \
|
||||||
" " #mb ) \
|
|
||||||
: "=&r" (result), "=&r" (val), "=&r" (tmp), "+Q" (v->counter) \
|
: "=&r" (result), "=&r" (val), "=&r" (tmp), "+Q" (v->counter) \
|
||||||
: __stringify(constraint) "r" (i) \
|
: __stringify(constraint) "r" (i) \
|
||||||
: cl); \
|
: cl); \
|
||||||
@@ -240,15 +221,14 @@ __ll_sc_atomic64_dec_if_positive(atomic64_t *v)
|
|||||||
unsigned long tmp;
|
unsigned long tmp;
|
||||||
|
|
||||||
asm volatile("// atomic64_dec_if_positive\n"
|
asm volatile("// atomic64_dec_if_positive\n"
|
||||||
__LL_SC_FALLBACK(
|
" prfm pstl1strm, %2\n"
|
||||||
" prfm pstl1strm, %2\n"
|
"1: ldxr %0, %2\n"
|
||||||
"1: ldxr %0, %2\n"
|
" subs %0, %0, #1\n"
|
||||||
" subs %0, %0, #1\n"
|
" b.lt 2f\n"
|
||||||
" b.lt 2f\n"
|
" stlxr %w1, %0, %2\n"
|
||||||
" stlxr %w1, %0, %2\n"
|
" cbnz %w1, 1b\n"
|
||||||
" cbnz %w1, 1b\n"
|
" dmb ish\n"
|
||||||
" dmb ish\n"
|
"2:"
|
||||||
"2:")
|
|
||||||
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter)
|
: "=&r" (result), "=&r" (tmp), "+Q" (v->counter)
|
||||||
:
|
:
|
||||||
: "cc", "memory");
|
: "cc", "memory");
|
||||||
@@ -274,7 +254,6 @@ __ll_sc__cmpxchg_case_##name##sz(volatile void *ptr, \
|
|||||||
old = (u##sz)old; \
|
old = (u##sz)old; \
|
||||||
\
|
\
|
||||||
asm volatile( \
|
asm volatile( \
|
||||||
__LL_SC_FALLBACK( \
|
|
||||||
" prfm pstl1strm, %[v]\n" \
|
" prfm pstl1strm, %[v]\n" \
|
||||||
"1: ld" #acq "xr" #sfx "\t%" #w "[oldval], %[v]\n" \
|
"1: ld" #acq "xr" #sfx "\t%" #w "[oldval], %[v]\n" \
|
||||||
" eor %" #w "[tmp], %" #w "[oldval], %" #w "[old]\n" \
|
" eor %" #w "[tmp], %" #w "[oldval], %" #w "[old]\n" \
|
||||||
@@ -282,7 +261,7 @@ __ll_sc__cmpxchg_case_##name##sz(volatile void *ptr, \
|
|||||||
" st" #rel "xr" #sfx "\t%w[tmp], %" #w "[new], %[v]\n" \
|
" st" #rel "xr" #sfx "\t%w[tmp], %" #w "[new], %[v]\n" \
|
||||||
" cbnz %w[tmp], 1b\n" \
|
" cbnz %w[tmp], 1b\n" \
|
||||||
" " #mb "\n" \
|
" " #mb "\n" \
|
||||||
"2:") \
|
"2:" \
|
||||||
: [tmp] "=&r" (tmp), [oldval] "=&r" (oldval), \
|
: [tmp] "=&r" (tmp), [oldval] "=&r" (oldval), \
|
||||||
[v] "+Q" (*(u##sz *)ptr) \
|
[v] "+Q" (*(u##sz *)ptr) \
|
||||||
: [old] __stringify(constraint) "r" (old), [new] "r" (new) \
|
: [old] __stringify(constraint) "r" (old), [new] "r" (new) \
|
||||||
@@ -326,7 +305,6 @@ __ll_sc__cmpxchg_double##name(unsigned long old1, \
|
|||||||
unsigned long tmp, ret; \
|
unsigned long tmp, ret; \
|
||||||
\
|
\
|
||||||
asm volatile("// __cmpxchg_double" #name "\n" \
|
asm volatile("// __cmpxchg_double" #name "\n" \
|
||||||
__LL_SC_FALLBACK( \
|
|
||||||
" prfm pstl1strm, %2\n" \
|
" prfm pstl1strm, %2\n" \
|
||||||
"1: ldxp %0, %1, %2\n" \
|
"1: ldxp %0, %1, %2\n" \
|
||||||
" eor %0, %0, %3\n" \
|
" eor %0, %0, %3\n" \
|
||||||
@@ -336,8 +314,8 @@ __ll_sc__cmpxchg_double##name(unsigned long old1, \
|
|||||||
" st" #rel "xp %w0, %5, %6, %2\n" \
|
" st" #rel "xp %w0, %5, %6, %2\n" \
|
||||||
" cbnz %w0, 1b\n" \
|
" cbnz %w0, 1b\n" \
|
||||||
" " #mb "\n" \
|
" " #mb "\n" \
|
||||||
"2:") \
|
"2:" \
|
||||||
: "=&r" (tmp), "=&r" (ret), "+Q" (*(unsigned long *)ptr) \
|
: "=&r" (tmp), "=&r" (ret), "+Q" (*(__uint128_t *)ptr) \
|
||||||
: "r" (old1), "r" (old2), "r" (new1), "r" (new2) \
|
: "r" (old1), "r" (old2), "r" (new1), "r" (new2) \
|
||||||
: cl); \
|
: cl); \
|
||||||
\
|
\
|
||||||
|
@@ -15,7 +15,7 @@ static inline void __lse_atomic_##op(int i, atomic_t *v) \
|
|||||||
{ \
|
{ \
|
||||||
asm volatile( \
|
asm volatile( \
|
||||||
__LSE_PREAMBLE \
|
__LSE_PREAMBLE \
|
||||||
" " #asm_op " %w[i], %[v]\n" \
|
" " #asm_op " %w[i], %[v]\n" \
|
||||||
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
||||||
: "r" (v)); \
|
: "r" (v)); \
|
||||||
}
|
}
|
||||||
@@ -32,7 +32,7 @@ static inline int __lse_atomic_fetch_##op##name(int i, atomic_t *v) \
|
|||||||
{ \
|
{ \
|
||||||
asm volatile( \
|
asm volatile( \
|
||||||
__LSE_PREAMBLE \
|
__LSE_PREAMBLE \
|
||||||
" " #asm_op #mb " %w[i], %w[i], %[v]" \
|
" " #asm_op #mb " %w[i], %w[i], %[v]" \
|
||||||
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
||||||
: "r" (v) \
|
: "r" (v) \
|
||||||
: cl); \
|
: cl); \
|
||||||
@@ -168,7 +168,7 @@ static inline void __lse_atomic64_##op(s64 i, atomic64_t *v) \
|
|||||||
{ \
|
{ \
|
||||||
asm volatile( \
|
asm volatile( \
|
||||||
__LSE_PREAMBLE \
|
__LSE_PREAMBLE \
|
||||||
" " #asm_op " %[i], %[v]\n" \
|
" " #asm_op " %[i], %[v]\n" \
|
||||||
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
||||||
: "r" (v)); \
|
: "r" (v)); \
|
||||||
}
|
}
|
||||||
@@ -185,7 +185,7 @@ static inline long __lse_atomic64_fetch_##op##name(s64 i, atomic64_t *v)\
|
|||||||
{ \
|
{ \
|
||||||
asm volatile( \
|
asm volatile( \
|
||||||
__LSE_PREAMBLE \
|
__LSE_PREAMBLE \
|
||||||
" " #asm_op #mb " %[i], %[i], %[v]" \
|
" " #asm_op #mb " %[i], %[i], %[v]" \
|
||||||
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
: [i] "+r" (i), [v] "+Q" (v->counter) \
|
||||||
: "r" (v) \
|
: "r" (v) \
|
||||||
: cl); \
|
: cl); \
|
||||||
@@ -272,7 +272,7 @@ static inline void __lse_atomic64_sub(s64 i, atomic64_t *v)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define ATOMIC64_OP_SUB_RETURN(name, mb, cl...) \
|
#define ATOMIC64_OP_SUB_RETURN(name, mb, cl...) \
|
||||||
static inline long __lse_atomic64_sub_return##name(s64 i, atomic64_t *v) \
|
static inline long __lse_atomic64_sub_return##name(s64 i, atomic64_t *v)\
|
||||||
{ \
|
{ \
|
||||||
unsigned long tmp; \
|
unsigned long tmp; \
|
||||||
\
|
\
|
||||||
@@ -403,7 +403,7 @@ __lse__cmpxchg_double##name(unsigned long old1, \
|
|||||||
" eor %[old2], %[old2], %[oldval2]\n" \
|
" eor %[old2], %[old2], %[oldval2]\n" \
|
||||||
" orr %[old1], %[old1], %[old2]" \
|
" orr %[old1], %[old1], %[old2]" \
|
||||||
: [old1] "+&r" (x0), [old2] "+&r" (x1), \
|
: [old1] "+&r" (x0), [old2] "+&r" (x1), \
|
||||||
[v] "+Q" (*(unsigned long *)ptr) \
|
[v] "+Q" (*(__uint128_t *)ptr) \
|
||||||
: [new1] "r" (x2), [new2] "r" (x3), [ptr] "r" (x4), \
|
: [new1] "r" (x2), [new2] "r" (x3), [ptr] "r" (x4), \
|
||||||
[oldval1] "r" (oldval1), [oldval2] "r" (oldval2) \
|
[oldval1] "r" (oldval1), [oldval2] "r" (oldval2) \
|
||||||
: cl); \
|
: cl); \
|
||||||
|
@@ -363,8 +363,26 @@ static __always_inline int kvm_vcpu_sys_get_rt(struct kvm_vcpu *vcpu)
|
|||||||
|
|
||||||
static inline bool kvm_is_write_fault(struct kvm_vcpu *vcpu)
|
static inline bool kvm_is_write_fault(struct kvm_vcpu *vcpu)
|
||||||
{
|
{
|
||||||
if (kvm_vcpu_abt_iss1tw(vcpu))
|
if (kvm_vcpu_abt_iss1tw(vcpu)) {
|
||||||
|
/*
|
||||||
|
* Only a permission fault on a S1PTW should be
|
||||||
|
* considered as a write. Otherwise, page tables baked
|
||||||
|
* in a read-only memslot will result in an exception
|
||||||
|
* being delivered in the guest.
|
||||||
|
*
|
||||||
|
* The drawback is that we end-up faulting twice if the
|
||||||
|
* guest is using any of HW AF/DB: a translation fault
|
||||||
|
* to map the page containing the PT (read only at
|
||||||
|
* first), then a permission fault to allow the flags
|
||||||
|
* to be set.
|
||||||
|
*/
|
||||||
|
switch (kvm_vcpu_trap_get_fault_type(vcpu)) {
|
||||||
|
case ESR_ELx_FSC_PERM:
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (kvm_vcpu_trap_is_iabt(vcpu))
|
if (kvm_vcpu_trap_is_iabt(vcpu))
|
||||||
return false;
|
return false;
|
||||||
|
@@ -243,13 +243,13 @@ static inline void compat_start_thread(struct pt_regs *regs, unsigned long pc,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static inline bool is_ttbr0_addr(unsigned long addr)
|
static __always_inline bool is_ttbr0_addr(unsigned long addr)
|
||||||
{
|
{
|
||||||
/* entry assembly clears tags for TTBR0 addrs */
|
/* entry assembly clears tags for TTBR0 addrs */
|
||||||
return addr < TASK_SIZE;
|
return addr < TASK_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline bool is_ttbr1_addr(unsigned long addr)
|
static __always_inline bool is_ttbr1_addr(unsigned long addr)
|
||||||
{
|
{
|
||||||
/* TTBR1 addresses may have a tag if KASAN_SW_TAGS is in use */
|
/* TTBR1 addresses may have a tag if KASAN_SW_TAGS is in use */
|
||||||
return arch_kasan_reset_tag(addr) >= PAGE_OFFSET;
|
return arch_kasan_reset_tag(addr) >= PAGE_OFFSET;
|
||||||
|
@@ -146,7 +146,7 @@ void die(const char *str, struct pt_regs *regs, int err)
|
|||||||
raw_spin_unlock_irqrestore(&die_lock, flags);
|
raw_spin_unlock_irqrestore(&die_lock, flags);
|
||||||
|
|
||||||
if (ret != NOTIFY_STOP)
|
if (ret != NOTIFY_STOP)
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void arm64_show_signal(int signo, const char *str)
|
static void arm64_show_signal(int signo, const char *str)
|
||||||
|
@@ -299,7 +299,7 @@ static void die_kernel_fault(const char *msg, unsigned long addr,
|
|||||||
show_pte(addr);
|
show_pte(addr);
|
||||||
die("Oops", regs, esr);
|
die("Oops", regs, esr);
|
||||||
bust_spinlocks(0);
|
bust_spinlocks(0);
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_KASAN_HW_TAGS
|
#ifdef CONFIG_KASAN_HW_TAGS
|
||||||
|
@@ -294,7 +294,7 @@ bad_area:
|
|||||||
__func__, opcode, rz, rx, imm, addr);
|
__func__, opcode, rz, rx, imm, addr);
|
||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
bust_spinlocks(0);
|
bust_spinlocks(0);
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
force_sig_fault(SIGBUS, BUS_ADRALN, (void __user *)addr);
|
force_sig_fault(SIGBUS, BUS_ADRALN, (void __user *)addr);
|
||||||
|
@@ -111,7 +111,7 @@ void die(struct pt_regs *regs, const char *str)
|
|||||||
if (panic_on_oops)
|
if (panic_on_oops)
|
||||||
panic("Fatal exception");
|
panic("Fatal exception");
|
||||||
if (ret != NOTIFY_STOP)
|
if (ret != NOTIFY_STOP)
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr)
|
void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr)
|
||||||
|
@@ -17,6 +17,7 @@
|
|||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/sched/debug.h>
|
#include <linux/sched/debug.h>
|
||||||
|
#include <linux/sched/task.h>
|
||||||
#include <linux/mm_types.h>
|
#include <linux/mm_types.h>
|
||||||
#include <linux/kernel.h>
|
#include <linux/kernel.h>
|
||||||
#include <linux/errno.h>
|
#include <linux/errno.h>
|
||||||
@@ -110,7 +111,7 @@ void die(const char *str, struct pt_regs *fp, unsigned long err)
|
|||||||
dump(fp);
|
dump(fp);
|
||||||
|
|
||||||
spin_unlock_irq(&die_lock);
|
spin_unlock_irq(&die_lock);
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int kstack_depth_to_print = 24;
|
static int kstack_depth_to_print = 24;
|
||||||
|
@@ -51,7 +51,7 @@ asmlinkage int do_page_fault(struct pt_regs *regs, unsigned long address,
|
|||||||
printk(" at virtual address %08lx\n", address);
|
printk(" at virtual address %08lx\n", address);
|
||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
die("Oops", regs, error_code);
|
die("Oops", regs, error_code);
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@@ -218,7 +218,7 @@ int die(const char *str, struct pt_regs *regs, long err)
|
|||||||
panic("Fatal exception");
|
panic("Fatal exception");
|
||||||
|
|
||||||
oops_exit();
|
oops_exit();
|
||||||
do_exit(err);
|
make_task_dead(err);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -361,7 +361,7 @@ config ARCH_PROC_KCORE_TEXT
|
|||||||
depends on PROC_KCORE
|
depends on PROC_KCORE
|
||||||
|
|
||||||
config IA64_MCA_RECOVERY
|
config IA64_MCA_RECOVERY
|
||||||
tristate "MCA recovery from errors other than TLB."
|
bool "MCA recovery from errors other than TLB."
|
||||||
|
|
||||||
config IA64_PALINFO
|
config IA64_PALINFO
|
||||||
tristate "/proc/pal support"
|
tristate "/proc/pal support"
|
||||||
|
@@ -176,7 +176,7 @@ mca_handler_bh(unsigned long paddr, void *iip, unsigned long ipsr)
|
|||||||
spin_unlock(&mca_bh_lock);
|
spin_unlock(&mca_bh_lock);
|
||||||
|
|
||||||
/* This process is about to be killed itself */
|
/* This process is about to be killed itself */
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -85,7 +85,7 @@ die (const char *str, struct pt_regs *regs, long err)
|
|||||||
if (panic_on_oops)
|
if (panic_on_oops)
|
||||||
panic("Fatal exception");
|
panic("Fatal exception");
|
||||||
|
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -274,7 +274,7 @@ retry:
|
|||||||
regs = NULL;
|
regs = NULL;
|
||||||
bust_spinlocks(0);
|
bust_spinlocks(0);
|
||||||
if (regs)
|
if (regs)
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
out_of_memory:
|
out_of_memory:
|
||||||
|
@@ -1136,7 +1136,7 @@ void die_if_kernel (char *str, struct pt_regs *fp, int nr)
|
|||||||
pr_crit("%s: %08x\n", str, nr);
|
pr_crit("%s: %08x\n", str, nr);
|
||||||
show_registers(fp);
|
show_registers(fp);
|
||||||
add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE);
|
add_taint(TAINT_DIE, LOCKDEP_NOW_UNRELIABLE);
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
asmlinkage void set_esp0(unsigned long ssp)
|
asmlinkage void set_esp0(unsigned long ssp)
|
||||||
|
@@ -48,7 +48,7 @@ int send_fault_sig(struct pt_regs *regs)
|
|||||||
pr_alert("Unable to handle kernel access");
|
pr_alert("Unable to handle kernel access");
|
||||||
pr_cont(" at virtual address %p\n", addr);
|
pr_cont(" at virtual address %p\n", addr);
|
||||||
die_if_kernel("Oops", regs, 0 /*error_code*/);
|
die_if_kernel("Oops", regs, 0 /*error_code*/);
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
@@ -44,10 +44,10 @@ void die(const char *str, struct pt_regs *fp, long err)
|
|||||||
pr_warn("Oops: %s, sig: %ld\n", str, err);
|
pr_warn("Oops: %s, sig: %ld\n", str, err);
|
||||||
show_regs(fp);
|
show_regs(fp);
|
||||||
spin_unlock_irq(&die_lock);
|
spin_unlock_irq(&die_lock);
|
||||||
/* do_exit() should take care of panic'ing from an interrupt
|
/* make_task_dead() should take care of panic'ing from an interrupt
|
||||||
* context so we don't handle it here
|
* context so we don't handle it here
|
||||||
*/
|
*/
|
||||||
do_exit(err);
|
make_task_dead(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* for user application debugging */
|
/* for user application debugging */
|
||||||
|
@@ -361,6 +361,8 @@ static struct clk clk_periph = {
|
|||||||
*/
|
*/
|
||||||
int clk_enable(struct clk *clk)
|
int clk_enable(struct clk *clk)
|
||||||
{
|
{
|
||||||
|
if (!clk)
|
||||||
|
return 0;
|
||||||
mutex_lock(&clocks_mutex);
|
mutex_lock(&clocks_mutex);
|
||||||
clk_enable_unlocked(clk);
|
clk_enable_unlocked(clk);
|
||||||
mutex_unlock(&clocks_mutex);
|
mutex_unlock(&clocks_mutex);
|
||||||
|
@@ -211,7 +211,7 @@ union cvmx_helper_link_info __cvmx_helper_board_link_get(int ipd_port)
|
|||||||
{
|
{
|
||||||
union cvmx_helper_link_info result;
|
union cvmx_helper_link_info result;
|
||||||
|
|
||||||
WARN(!octeon_is_simulation(),
|
WARN_ONCE(!octeon_is_simulation(),
|
||||||
"Using deprecated link status - please update your DT");
|
"Using deprecated link status - please update your DT");
|
||||||
|
|
||||||
/* Unless we fix it later, all links are defaulted to down */
|
/* Unless we fix it later, all links are defaulted to down */
|
||||||
|
@@ -1100,7 +1100,7 @@ union cvmx_helper_link_info cvmx_helper_link_get(int ipd_port)
|
|||||||
if (index == 0)
|
if (index == 0)
|
||||||
result = __cvmx_helper_rgmii_link_get(ipd_port);
|
result = __cvmx_helper_rgmii_link_get(ipd_port);
|
||||||
else {
|
else {
|
||||||
WARN(1, "Using deprecated link status - please update your DT");
|
WARN_ONCE(1, "Using deprecated link status - please update your DT");
|
||||||
result.s.full_duplex = 1;
|
result.s.full_duplex = 1;
|
||||||
result.s.link_up = 1;
|
result.s.link_up = 1;
|
||||||
result.s.speed = 1000;
|
result.s.speed = 1000;
|
||||||
|
@@ -413,7 +413,7 @@ void __noreturn die(const char *str, struct pt_regs *regs)
|
|||||||
if (regs && kexec_should_crash(current))
|
if (regs && kexec_should_crash(current))
|
||||||
crash_kexec(regs);
|
crash_kexec(regs);
|
||||||
|
|
||||||
do_exit(sig);
|
make_task_dead(sig);
|
||||||
}
|
}
|
||||||
|
|
||||||
extern struct exception_table_entry __start___dbe_table[];
|
extern struct exception_table_entry __start___dbe_table[];
|
||||||
|
@@ -75,7 +75,6 @@ ATTRIBUTE_GROUPS(vpe);
|
|||||||
|
|
||||||
static void vpe_device_release(struct device *cd)
|
static void vpe_device_release(struct device *cd)
|
||||||
{
|
{
|
||||||
kfree(cd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct class vpe_class = {
|
static struct class vpe_class = {
|
||||||
@@ -157,6 +156,7 @@ out_dev:
|
|||||||
device_del(&vpe_device);
|
device_del(&vpe_device);
|
||||||
|
|
||||||
out_class:
|
out_class:
|
||||||
|
put_device(&vpe_device);
|
||||||
class_unregister(&vpe_class);
|
class_unregister(&vpe_class);
|
||||||
|
|
||||||
out_chrdev:
|
out_chrdev:
|
||||||
@@ -169,7 +169,7 @@ void __exit vpe_module_exit(void)
|
|||||||
{
|
{
|
||||||
struct vpe *v, *n;
|
struct vpe *v, *n;
|
||||||
|
|
||||||
device_del(&vpe_device);
|
device_unregister(&vpe_device);
|
||||||
class_unregister(&vpe_class);
|
class_unregister(&vpe_class);
|
||||||
unregister_chrdev(major, VPE_MODULE_NAME);
|
unregister_chrdev(major, VPE_MODULE_NAME);
|
||||||
|
|
||||||
|
@@ -313,7 +313,6 @@ ATTRIBUTE_GROUPS(vpe);
|
|||||||
|
|
||||||
static void vpe_device_release(struct device *cd)
|
static void vpe_device_release(struct device *cd)
|
||||||
{
|
{
|
||||||
kfree(cd);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct class vpe_class = {
|
static struct class vpe_class = {
|
||||||
@@ -497,6 +496,7 @@ out_dev:
|
|||||||
device_del(&vpe_device);
|
device_del(&vpe_device);
|
||||||
|
|
||||||
out_class:
|
out_class:
|
||||||
|
put_device(&vpe_device);
|
||||||
class_unregister(&vpe_class);
|
class_unregister(&vpe_class);
|
||||||
|
|
||||||
out_chrdev:
|
out_chrdev:
|
||||||
@@ -509,7 +509,7 @@ void __exit vpe_module_exit(void)
|
|||||||
{
|
{
|
||||||
struct vpe *v, *n;
|
struct vpe *v, *n;
|
||||||
|
|
||||||
device_del(&vpe_device);
|
device_unregister(&vpe_device);
|
||||||
class_unregister(&vpe_class);
|
class_unregister(&vpe_class);
|
||||||
unregister_chrdev(major, VPE_MODULE_NAME);
|
unregister_chrdev(major, VPE_MODULE_NAME);
|
||||||
|
|
||||||
|
@@ -223,7 +223,7 @@ inline void handle_fpu_exception(struct pt_regs *regs)
|
|||||||
}
|
}
|
||||||
} else if (fpcsr & FPCSR_mskRIT) {
|
} else if (fpcsr & FPCSR_mskRIT) {
|
||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
do_exit(SIGILL);
|
make_task_dead(SIGILL);
|
||||||
si_signo = SIGILL;
|
si_signo = SIGILL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -185,7 +185,7 @@ void die(const char *str, struct pt_regs *regs, int err)
|
|||||||
|
|
||||||
bust_spinlocks(0);
|
bust_spinlocks(0);
|
||||||
spin_unlock_irq(&die_lock);
|
spin_unlock_irq(&die_lock);
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_SYMBOL(die);
|
EXPORT_SYMBOL(die);
|
||||||
@@ -289,7 +289,7 @@ void unhandled_interruption(struct pt_regs *regs)
|
|||||||
pr_emerg("unhandled_interruption\n");
|
pr_emerg("unhandled_interruption\n");
|
||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
force_sig(SIGKILL);
|
force_sig(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -300,7 +300,7 @@ void unhandled_exceptions(unsigned long entry, unsigned long addr,
|
|||||||
addr, type);
|
addr, type);
|
||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
do_exit(SIGKILL);
|
make_task_dead(SIGKILL);
|
||||||
force_sig(SIGKILL);
|
force_sig(SIGKILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -327,7 +327,7 @@ void do_revinsn(struct pt_regs *regs)
|
|||||||
pr_emerg("Reserved Instruction\n");
|
pr_emerg("Reserved Instruction\n");
|
||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
if (!user_mode(regs))
|
if (!user_mode(regs))
|
||||||
do_exit(SIGILL);
|
make_task_dead(SIGILL);
|
||||||
force_sig(SIGILL);
|
force_sig(SIGILL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -37,10 +37,10 @@ void die(const char *str, struct pt_regs *regs, long err)
|
|||||||
show_regs(regs);
|
show_regs(regs);
|
||||||
spin_unlock_irq(&die_lock);
|
spin_unlock_irq(&die_lock);
|
||||||
/*
|
/*
|
||||||
* do_exit() should take care of panic'ing from an interrupt
|
* make_task_dead() should take care of panic'ing from an interrupt
|
||||||
* context so we don't handle it here
|
* context so we don't handle it here
|
||||||
*/
|
*/
|
||||||
do_exit(err);
|
make_task_dead(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr)
|
void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr)
|
||||||
|
@@ -212,7 +212,7 @@ void die(const char *str, struct pt_regs *regs, long err)
|
|||||||
__asm__ __volatile__("l.nop 1");
|
__asm__ __volatile__("l.nop 1");
|
||||||
do {} while (1);
|
do {} while (1);
|
||||||
#endif
|
#endif
|
||||||
do_exit(SIGSEGV);
|
make_task_dead(SIGSEGV);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This is normally the 'Oops' routine */
|
/* This is normally the 'Oops' routine */
|
||||||
|
@@ -49,28 +49,27 @@
|
|||||||
#define MADV_DONTFORK 10 /* don't inherit across fork */
|
#define MADV_DONTFORK 10 /* don't inherit across fork */
|
||||||
#define MADV_DOFORK 11 /* do inherit across fork */
|
#define MADV_DOFORK 11 /* do inherit across fork */
|
||||||
|
|
||||||
|
#define MADV_MERGEABLE 12 /* KSM may merge identical pages */
|
||||||
|
#define MADV_UNMERGEABLE 13 /* KSM may not merge identical pages */
|
||||||
|
|
||||||
|
#define MADV_HUGEPAGE 14 /* Worth backing with hugepages */
|
||||||
|
#define MADV_NOHUGEPAGE 15 /* Not worth backing with hugepages */
|
||||||
|
|
||||||
|
#define MADV_DONTDUMP 16 /* Explicity exclude from the core dump,
|
||||||
|
overrides the coredump filter bits */
|
||||||
|
#define MADV_DODUMP 17 /* Clear the MADV_NODUMP flag */
|
||||||
|
|
||||||
|
#define MADV_WIPEONFORK 18 /* Zero memory on fork, child only */
|
||||||
|
#define MADV_KEEPONFORK 19 /* Undo MADV_WIPEONFORK */
|
||||||
|
|
||||||
#define MADV_COLD 20 /* deactivate these pages */
|
#define MADV_COLD 20 /* deactivate these pages */
|
||||||
#define MADV_PAGEOUT 21 /* reclaim these pages */
|
#define MADV_PAGEOUT 21 /* reclaim these pages */
|
||||||
|
|
||||||
#define MADV_MERGEABLE 65 /* KSM may merge identical pages */
|
|
||||||
#define MADV_UNMERGEABLE 66 /* KSM may not merge identical pages */
|
|
||||||
|
|
||||||
#define MADV_HUGEPAGE 67 /* Worth backing with hugepages */
|
|
||||||
#define MADV_NOHUGEPAGE 68 /* Not worth backing with hugepages */
|
|
||||||
|
|
||||||
#define MADV_DONTDUMP 69 /* Explicity exclude from the core dump,
|
|
||||||
overrides the coredump filter bits */
|
|
||||||
#define MADV_DODUMP 70 /* Clear the MADV_NODUMP flag */
|
|
||||||
|
|
||||||
#define MADV_WIPEONFORK 71 /* Zero memory on fork, child only */
|
|
||||||
#define MADV_KEEPONFORK 72 /* Undo MADV_WIPEONFORK */
|
|
||||||
|
|
||||||
#define MADV_HWPOISON 100 /* poison a page for testing */
|
#define MADV_HWPOISON 100 /* poison a page for testing */
|
||||||
#define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
|
#define MADV_SOFT_OFFLINE 101 /* soft offline page for testing */
|
||||||
|
|
||||||
/* compatibility flags */
|
/* compatibility flags */
|
||||||
#define MAP_FILE 0
|
#define MAP_FILE 0
|
||||||
#define MAP_VARIABLE 0
|
|
||||||
|
|
||||||
#define PKEY_DISABLE_ACCESS 0x1
|
#define PKEY_DISABLE_ACCESS 0x1
|
||||||
#define PKEY_DISABLE_WRITE 0x2
|
#define PKEY_DISABLE_WRITE 0x2
|
||||||
|
@@ -1230,7 +1230,7 @@ static char __attribute__((aligned(64))) iodc_dbuf[4096];
|
|||||||
*/
|
*/
|
||||||
int pdc_iodc_print(const unsigned char *str, unsigned count)
|
int pdc_iodc_print(const unsigned char *str, unsigned count)
|
||||||
{
|
{
|
||||||
unsigned int i;
|
unsigned int i, found = 0;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
|
|
||||||
for (i = 0; i < count;) {
|
for (i = 0; i < count;) {
|
||||||
@@ -1239,6 +1239,7 @@ int pdc_iodc_print(const unsigned char *str, unsigned count)
|
|||||||
iodc_dbuf[i+0] = '\r';
|
iodc_dbuf[i+0] = '\r';
|
||||||
iodc_dbuf[i+1] = '\n';
|
iodc_dbuf[i+1] = '\n';
|
||||||
i += 2;
|
i += 2;
|
||||||
|
found = 1;
|
||||||
goto print;
|
goto print;
|
||||||
default:
|
default:
|
||||||
iodc_dbuf[i] = str[i];
|
iodc_dbuf[i] = str[i];
|
||||||
@@ -1255,7 +1256,7 @@ print:
|
|||||||
__pa(iodc_retbuf), 0, __pa(iodc_dbuf), i, 0);
|
__pa(iodc_retbuf), 0, __pa(iodc_dbuf), i, 0);
|
||||||
spin_unlock_irqrestore(&pdc_lock, flags);
|
spin_unlock_irqrestore(&pdc_lock, flags);
|
||||||
|
|
||||||
return i;
|
return i - found;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(BOOTLOADER)
|
#if !defined(BOOTLOADER)
|
||||||
|
@@ -127,6 +127,12 @@ long arch_ptrace(struct task_struct *child, long request,
|
|||||||
unsigned long tmp;
|
unsigned long tmp;
|
||||||
long ret = -EIO;
|
long ret = -EIO;
|
||||||
|
|
||||||
|
unsigned long user_regs_struct_size = sizeof(struct user_regs_struct);
|
||||||
|
#ifdef CONFIG_64BIT
|
||||||
|
if (is_compat_task())
|
||||||
|
user_regs_struct_size /= 2;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (request) {
|
switch (request) {
|
||||||
|
|
||||||
/* Read the word at location addr in the USER area. For ptraced
|
/* Read the word at location addr in the USER area. For ptraced
|
||||||
@@ -182,14 +188,14 @@ long arch_ptrace(struct task_struct *child, long request,
|
|||||||
return copy_regset_to_user(child,
|
return copy_regset_to_user(child,
|
||||||
task_user_regset_view(current),
|
task_user_regset_view(current),
|
||||||
REGSET_GENERAL,
|
REGSET_GENERAL,
|
||||||
0, sizeof(struct user_regs_struct),
|
0, user_regs_struct_size,
|
||||||
datap);
|
datap);
|
||||||
|
|
||||||
case PTRACE_SETREGS: /* Set all gp regs in the child. */
|
case PTRACE_SETREGS: /* Set all gp regs in the child. */
|
||||||
return copy_regset_from_user(child,
|
return copy_regset_from_user(child,
|
||||||
task_user_regset_view(current),
|
task_user_regset_view(current),
|
||||||
REGSET_GENERAL,
|
REGSET_GENERAL,
|
||||||
0, sizeof(struct user_regs_struct),
|
0, user_regs_struct_size,
|
||||||
datap);
|
datap);
|
||||||
|
|
||||||
case PTRACE_GETFPREGS: /* Get the child FPU state. */
|
case PTRACE_GETFPREGS: /* Get the child FPU state. */
|
||||||
@@ -303,6 +309,11 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case PTRACE_GETREGS:
|
||||||
|
case PTRACE_SETREGS:
|
||||||
|
case PTRACE_GETFPREGS:
|
||||||
|
case PTRACE_SETFPREGS:
|
||||||
|
return arch_ptrace(child, request, addr, data);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
ret = compat_ptrace_request(child, request, addr, data);
|
ret = compat_ptrace_request(child, request, addr, data);
|
||||||
|
@@ -444,3 +444,30 @@ asmlinkage long parisc_inotify_init1(int flags)
|
|||||||
flags = FIX_O_NONBLOCK(flags);
|
flags = FIX_O_NONBLOCK(flags);
|
||||||
return sys_inotify_init1(flags);
|
return sys_inotify_init1(flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* madvise() wrapper
|
||||||
|
*
|
||||||
|
* Up to kernel v6.1 parisc has different values than all other
|
||||||
|
* platforms for the MADV_xxx flags listed below.
|
||||||
|
* To keep binary compatibility with existing userspace programs
|
||||||
|
* translate the former values to the new values.
|
||||||
|
*
|
||||||
|
* XXX: Remove this wrapper in year 2025 (or later)
|
||||||
|
*/
|
||||||
|
|
||||||
|
asmlinkage notrace long parisc_madvise(unsigned long start, size_t len_in, int behavior)
|
||||||
|
{
|
||||||
|
switch (behavior) {
|
||||||
|
case 65: behavior = MADV_MERGEABLE; break;
|
||||||
|
case 66: behavior = MADV_UNMERGEABLE; break;
|
||||||
|
case 67: behavior = MADV_HUGEPAGE; break;
|
||||||
|
case 68: behavior = MADV_NOHUGEPAGE; break;
|
||||||
|
case 69: behavior = MADV_DONTDUMP; break;
|
||||||
|
case 70: behavior = MADV_DODUMP; break;
|
||||||
|
case 71: behavior = MADV_WIPEONFORK; break;
|
||||||
|
case 72: behavior = MADV_KEEPONFORK; break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return sys_madvise(start, len_in, behavior);
|
||||||
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user