anolis-cloud-kernel/drivers
leoliu-oc cc48a6b845 anolis: iommu/vt-d: add kh40000_iommu_dma_ops for KH-40000
ANBZ: #4330

Add kh40000_iommu_dma_ops for KH-40000 platform.

For coherent DMA access, memory can be allocated only from the memory node
of the node where the device resides.

For streaming DMA access, add a PCI read operation at the end of DMA
access.

Signed-off-by: leoliu-oc <leoliu-oc@zhaoxin.com>
Reviewed-by: Artie Ding <artie.ding@linux.alibaba.com>
Link: https://gitee.com/anolis/cloud-kernel/pulls/3375
2024-08-08 17:15:42 +08:00
..
accessibility
acpi i2c: designware: Add device HID for Hygon I2C controller 2023-07-25 01:56:23 +00:00
amba
android io_uring: disable polling pollfree files 2022-09-23 06:20:05 +00:00
ata ck: ata: sata_zhaoxin: Add support for Zhaoxin Serial ATA 2021-06-01 10:54:08 +08:00
atm atm: idt77252: fix use-after-free bugs caused by tst_timer 2022-12-02 06:00:05 +00:00
auxdisplay
base driver core: fix potential deadlock in __driver_attach 2024-07-19 18:05:10 +08:00
bcma
block nbd: add tracepoints for send/receive timing 2024-01-10 22:24:53 +08:00
bluetooth Bluetooth: hci_ldisc: check HCI_UART_PROTO_READY flag in HCIUARTGETPROTO 2024-01-10 07:24:46 +00:00
bus bus: ti-sysc: Fix getting optional clocks in clock_roles 2019-12-13 08:51:23 +01:00
cdrom cdrom: don't attempt to fiddle with cdo->capability 2019-12-01 09:16:20 +01:00
char anolis: Revert "tpm: add support for partial reads" 2024-06-21 19:44:59 +08:00
clk clk-sunxi: fix a missing-check bug in sunxi_divs_clk_setup() 2019-12-27 13:45:18 +08:00
clocksource clocksource/arm_arch_timer: Store physical timer IRQ number for KVM on VHE 2021-11-24 19:03:27 +08:00
connector
cpufreq anolis: cpufreq: acpi-cpufreq: add ITMT support when CPPC enabled 2024-08-07 08:44:28 +00:00
cpuidle Intel: cpuidle: Allow idle states to be disabled by default 2020-09-02 17:51:53 +08:00
crypto anolis: Zhaoxin: Driver for Zhaoxin SHA algorithm 2024-08-07 05:58:38 +00:00
dax anolis: mm: initialize ZONE_DEVICE page struct on demand in guest kernel 2022-10-31 06:53:30 +00:00
dca
devfreq PM / devfreq: Lock devfreq in trans_stat_show 2019-12-17 20:35:03 +01:00
dio
dma ICX: dmaengine: ioatdma: support latency tolerance report (LTR) for v3.4 2020-01-15 17:43:14 +08:00
dma-buf dma-buf: Fix memory leak in sync_file_merge() 2019-12-21 10:57:38 +01:00
edac anolis: EDAC/amd64: Add support for Hygon family 18h model 10h 2024-06-26 02:45:43 -04:00
eisa .gitignore: add SPDX License Identifier 2020-09-02 17:52:15 +08:00
extcon extcon: max8997: Fix lack of path setting in USB device mode 2019-12-13 08:51:15 +01:00
firewire firewire: fix potential uaf in outbound_phy_packet_callback() 2024-01-11 04:14:32 +00:00
firmware arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit() 2022-12-06 06:46:34 +00:00
fmc
fpga
fsi iov_iter: Separate type from direction and use accessor functions 2020-01-17 16:08:03 +08:00
gnss
gpio anolis:gpio:GPIO driver support for Phytium desktop and embedded CPUs 2024-03-25 10:14:13 +00:00
gpu drm/amdgpu: Fix a use-after-free 2024-03-25 00:01:08 +00:00
hid HID: intel_ish-hid: Add check for ishtp_dma_tx_map 2024-01-10 07:53:07 +00:00
hsi
hv mm/page_alloc.c: memory hotplug: free pages as higher order 2020-09-02 17:51:27 +08:00
hwmon anolis: hwmon: Add driver for Zhaoxin CPU core temperature 2024-08-07 08:41:22 +00:00
hwspinlock
hwtracing intel_th: pci: Add Tiger Lake CPU support 2019-12-17 20:35:02 +01:00
i2c anolis: i2c: smbus: Add support for Zhaoxin SMBUS controller 2024-08-07 08:33:38 +00:00
ide block: genhd: add 'groups' argument to device_add_disk 2021-03-01 18:05:20 +08:00
idle x86/intel: Aggregate big core mobile naming 2021-11-25 11:16:26 +08:00
iio iio: adc: ti-ads7950: use SPI_CS_WORD to reduce CPU usage 2020-01-17 16:08:36 +08:00
infiniband anolis: RDMA/cma: Add independent cma port range support 2023-09-25 06:11:33 +00:00
input Input: add safety guards to input_set_keycode() 2021-11-22 17:07:03 +08:00
iommu anolis: iommu/vt-d: add kh40000_iommu_dma_ops for KH-40000 2024-08-08 17:15:42 +08:00
ipack
irqchip anolis: irqchip: Phytium D2000 PCIe legacy INTx interrupt controller 2024-03-25 10:13:07 +00:00
isdn mISDN: fix use-after-free bugs in l1oip timer handlers 2022-12-05 03:10:26 +00:00
leds leds: trigger: netdev: fix handling on interface rename 2019-12-17 20:35:54 +01:00
lightnvm lightnvm: pblk: consider max hw sectors supported for max_write_pgs 2019-11-24 08:20:52 +01:00
macintosh macintosh/windfarm_smu_sat: Fix debug output 2019-12-01 09:16:37 +01:00
mailbox ICX: acpi: Create subtable parsing infrastructure 2020-01-15 17:43:14 +08:00
mcb
md bcache: avoid NULL checking to c->root in run_cache_set() 2024-04-10 02:34:36 +00:00
media media: pvrusb2: fix use after free on context disconnection 2024-05-22 12:03:38 +00:00
memory memory: omap-gpmc: Get the header of the enum 2019-12-05 09:20:29 +01:00
memstick memstick: r592: Fix UAF bug in r592_remove due to race condition 2023-07-04 01:32:31 +00:00
message
mfd mfd: max8997: Enale irq-wakeup unconditionally 2019-12-01 09:16:57 +01:00
misc misc: sgi-gru: fix use-after-free error in gru_set_context_option, gru_fault and gru_handle_user_call_os 2023-10-23 00:12:54 +00:00
mmc block: genhd: add 'groups' argument to device_add_disk 2021-03-01 18:05:20 +08:00
mtd ubi: Refuse attaching if mtd's erasesize is 0 2023-10-23 00:22:01 +00:00
mux
net anolis: net: txgbe: fix semaphore can't acquire 2024-06-03 17:29:41 +08:00
nfc nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition 2023-07-04 01:49:23 +00:00
ntb NTB: Add Hygon Device ID 2023-07-25 01:56:23 +00:00
nubus
nvdimm anolis: mm: initialize ZONE_DEVICE page struct on demand in guest kernel 2022-10-31 06:53:30 +00:00
nvme nvme-tcp: fix possible circular locking when deleting a controller under memory pressure 2023-09-25 11:59:54 +00:00
nvmem
of of/fdt: Don't calculate initrd size from DT if start > end 2023-02-21 09:37:39 +00:00
opp OPP: Return error on error from dev_pm_opp_get_opp_count() 2019-11-24 08:20:06 +01:00
oprofile
parisc
parport
pci PCI: pciehp: Clear cmd_busy bit in polling mode 2024-04-10 03:10:56 +00:00
pcmcia
perf perf: arm-cmn: Fix conversion specifiers for node type 2021-11-24 14:04:47 +08:00
phy anolis: drviers: Revert "phy: tegra: xusb: Fix return value of tegra_xusb_find_port_node function" 2024-02-27 13:04:03 +00:00
pinctrl anolis: pinctrl: Add support for Zhaoxin GPIO pinctrl 2024-08-07 08:36:09 +00:00
platform x86/intel: Aggregate big core mobile naming 2021-11-25 11:16:26 +08:00
pnp
power power: supply: da9150: Fix use after free bug in da9150_charger_remove due to race condition 2023-07-04 03:18:42 +00:00
powercap x86/intel: Aggregate big core mobile naming 2021-11-25 11:16:26 +08:00
pps
ps3
ptp ptp: Reorganize ptp_kvm.c to make it arch-independent 2021-11-22 20:26:21 +08:00
pwm pwm: Clear chip_data in pwm_put() 2019-12-05 09:21:29 +01:00
rapidio
ras x86/mce: Convert the CEC to use the MCE notifier 2021-03-01 18:05:16 +08:00
regulator regulator: 88pm800: fix warning same module names 2019-12-17 20:35:39 +01:00
remoteproc virtio: don't allocate vqs when names[i] = NULL 2020-04-13 11:56:00 +08:00
reset reset: Fix memory leak in reset_control_array_put() 2019-12-05 09:19:36 +01:00
rpmsg rpmsg: glink: Free pending deferred work on remove 2019-12-21 10:57:30 +01:00
rtc rtc: mc146818-lib: Fix the AltCentury for AMD platforms 2023-07-25 01:56:23 +00:00
s390 block: genhd: add 'groups' argument to device_add_disk 2021-03-01 18:05:20 +08:00
sbus
scsi scsi: sd: Rely on the driver core for asynchronous probing 2024-07-19 18:05:55 +08:00
sfi
sh
siox
slimbus slimbus: ngd: Fix build error on x86 2019-12-13 08:51:54 +01:00
sn
soc soc: renesas: r8a77990-sysc: Fix initialization order of 3DG-{A,B} 2019-12-13 08:52:29 +01:00
soundwire
spi spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls 2020-04-22 23:25:18 +08:00
spmi
ssb
staging staging: rtl8712: fix use after free bugs 2023-07-04 01:53:55 +00:00
target anolis: scsi: target: tcmu: Make zero copy and bypass data area configurable 2022-06-07 05:02:08 +00:00
tc
tee tee: optee: add missing of_node_put after of_device_is_available 2019-11-24 08:19:08 +01:00
thermal thermal: Fix deadlock in thermal thermal_zone_device_check 2019-12-13 08:52:50 +01:00
thunderbolt thunderbolt: Power cycle the router if NVM authentication fails 2019-12-05 09:21:27 +01:00
tty vc_screen: modify vcs_size() handling in vcs_read() 2024-01-10 07:52:19 +00:00
uio anolis: uio: Replace mutex info_lock with percpu_ref to improve performance 2022-06-07 05:02:08 +00:00
usb USB: correct API of usb_control_msg_send/recv 2024-01-12 02:48:39 +00:00
uwb
vfio vfio: Clear the caps->buf to NULL after free 2023-03-10 11:58:53 +08:00
vhost Fix double fget() in vhost_net_set_backend() 2023-04-07 09:45:06 -04:00
video video: fbdev: i740fb: Error out if 'pixclock' equals zero 2024-03-25 00:08:12 +00:00
virt anolis: mm: add page_size() func 2021-11-22 20:26:23 +08:00
virtio anolis: vritio: use vring_weak_barriers to control vring weak_barrier 2021-11-24 13:46:54 +08:00
visorbus
vlynq
vme
w1 w1: IAD Register is yet readable trough iad sys file. Fix snprintf (%u for unsigned, count for max size). 2019-12-01 09:16:22 +01:00
watchdog watchdog: aspeed: Fix clock behaviour for ast2600 2019-12-13 08:52:54 +01:00
xen mm/page_alloc.c: memory hotplug: free pages as higher order 2020-09-02 17:51:27 +08:00
zorro .gitignore: add SPDX License Identifier 2020-09-02 17:52:15 +08:00
Kconfig
Makefile