zephyr/drivers
Mykola Kvach 62fd5ab3e1 drivers: xen: gnttab: do Xen node mapping inside driver
Move memory mapping of Xen node to Grant Table driver system init
function. After moving mapping we don't need anymore records of
xen-xen node into 'mmu_regions' array, so they were deleted from
all SoCs: Rcar Gen3/Gen4 and XenVM.

We need at least 16M of virtual address space to map memory of Xen
node, so the virtual memory sized has been increased to 32 MB, it
should be enough for basic use-cases and mapping of 16M mem region
of Xen node.

Unfortunately, after moving we also need to increase number of XLAT
tables. The previous code was more efficient if we talking about
usage of XLAT tables, because it mapped grant tables using a higher-
order table that allows mapping blocks of 2MB. And after the changes
is maps every 4KB page, so we need more XLAT tables.

Increase number of grant frames, it is needed to sync stage 1 and stage 2
memory mappings, previously we map only one page on stage 2 and further
usage of unmap regions can cause MMU translation errors.

Perform mapping stage 1 before mapping for stage 2 (add to physmap),
because right after stage 1 we can try to access memory and if it is
unmap in stage 2, error will be received during translation.

Note: Xen Grant Table driver doesn't use Zephyr Device Model.

Authored-by: Mykola Kvach <mykola_kvach@epam.com>
Co-authored-by: Oleksii Moisieiev <oleksii_moisieiev@epam.com>
Signed-off-by: Mykola Kvach <mykola_kvach@epam.com>
2023-09-15 11:15:00 +01:00
..
adc toolchain: only include <zephyr/toolchain.h> 2023-09-15 09:27:30 +02:00
audio drivers: audio: tas6422dac: add driver 2023-09-13 16:27:11 +02:00
auxdisplay auxdisplay: Fix handlers file 2023-08-30 15:54:05 -04:00
bbram bbram: add support from user threads 2023-08-29 10:26:07 +02:00
bluetooth include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
cache cmsis: remove unnecessary includes 2023-08-24 13:20:21 +02:00
can drivers: can: add tcan4x5x CAN controller driver 2023-09-11 19:55:44 +02:00
charger drivers: charger: fix i2c_dump_msgs_rw argument 2023-09-07 21:41:31 +02:00
clock_control drivers: clock: stm32: overdrive after sysclock 2023-09-13 11:37:05 +02:00
console kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
coredump drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
counter drivers: counter: Add support for rpi_pico timer 2023-09-13 16:18:44 +02:00
crypto include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
dac drivers: dac: Add driver for mcux lpdac 2023-09-11 19:55:26 +02:00
dai dai: intel: dmic: fix shadow variable 2023-09-04 19:35:56 -04:00
disk drivers: sdhc: allow bandwidth selection 2023-09-13 16:20:59 +02:00
display drivers: display: ssd1306: Support connecting SPI and I2C at the same 2023-09-13 14:23:24 -07:00
dma drivers: sam dma xdmac: implemented dma device get_status() 2023-09-10 00:49:12 +02:00
edac shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
eeprom i2c: use device instead of name for i2c dump messages 2023-09-06 17:54:53 +02:00
entropy driver: entropy: stm32: Enable PM 2023-09-13 11:50:04 +02:00
espi it8xxx2/linker: append h2ram_pool section at the end of used memory 2023-08-31 10:20:17 +02:00
ethernet include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
flash drivers: flash: stm32: change undefined variable causing build error 2023-09-14 14:35:58 +02:00
fpga drivers: fpga: add an init priority config option 2023-08-24 15:35:37 +02:00
fuel_gauge drivers: fuel_gauge: fix i2c_dump_msgs_rw argument 2023-09-13 12:37:32 +01:00
gpio drivers: gpio_nrfx: Allow to disable interrupt support 2023-09-12 14:38:06 +02:00
hwinfo soc: xtensa,riscv: esp32xx: refactor folder structure 2023-07-25 18:12:33 +02:00
hwspinlock drivers: hwspinlock: constify config struct 2023-08-17 15:40:17 +02:00
i2c include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
i2s kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
i3c drivers: i3c: fix cdns-i3c builds with I3C_USE_IBI=n 2023-09-13 16:32:55 +02:00
ieee802154 drivers: ieee802154: cc13xx_cc26xx{_subg}: fix reversed extended address 2023-08-30 10:23:50 +02:00
input driver: input: gt911: Fix to properly handle touch events on esp32 2023-08-30 22:21:14 +02:00
interrupt_controller include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
ipm include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
kscan drivers: mchp: kscan: low power mode enabled 2023-09-13 16:32:37 +02:00
led drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
led_strip kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
lora drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
mbox mbox: Add NXP MU as a MBOX device 2023-09-14 14:34:05 +02:00
mdio ethernet: smsc91x: select MDIO 2023-08-16 14:52:31 +02:00
memc drivers: hyperram: Add Winbond W956A8MBYA driver 2023-08-15 21:51:57 +00:00
mfd gpio: nct38xx: Remove reg access wrappers 2023-09-11 11:00:47 +02:00
mipi_dsi drivers: mipi_dsi: dsi_mcux_2l: add support for MIPI generic long write CMD 2023-07-28 09:06:17 +00:00
misc drivers: misc: add NXP S32 eMIOS driver 2023-09-06 11:44:00 +02:00
mm mm: intel_adsp_tlb: Handle address space conversion warnings 2023-08-23 14:45:14 +02:00
modem drivers/modem/modem_cellular.c: Improve bus pipe usage 2023-09-06 09:35:34 +02:00
net drivers: fix few mismatched CONTAINER_OF 2023-08-30 10:21:23 +02:00
neural_net kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
pcie drivers: pcie: host: add missing init.h 2023-08-29 12:20:31 +01:00
peci drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
pinctrl drivers: pinctrl: b91: add missing init.h 2023-08-30 14:43:38 +02:00
pm_cpu_ops drivers: pm_cpu_ops: psci: provide sys_poweroff hook 2023-08-04 16:59:36 +02:00
power_domain drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
ps2 driver: ps2: npcx: add the missing kernel.h include 2023-08-31 10:19:52 +02:00
ptp_clock drivers: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
pwm drivers: pwm_mcux_sctimer: Use clock control API 2023-09-12 09:23:46 +02:00
regulator drivers: regulator: npm1300: Set voltage checks existing setting 2023-09-13 11:48:33 +02:00
reset drivers: reset: Add reset controller for Intel Agilex5 platform 2023-07-25 16:58:01 +00:00
retained_mem retained_mem: add user thread support. 2023-08-24 16:57:26 +01:00
rtc drivers: rtc: stm32: fix build warning 2023-09-14 14:35:19 +02:00
sdhc driver: sdhc: added atmel SAM4E hsmci driver 2023-09-14 16:46:12 -05:00
sensor include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
serial drivers: serial: uart_nrfx_uart: fix NRFX_WAIT_FOR result type 2023-09-14 16:51:32 -05:00
sip_svc drivers: sip_svc: sip_smc_intel_socfpga: Log execution time 2023-09-15 09:26:49 +02:00
smbus drivers: smbus: Select PCIE and DYNAMIC_INTERRUPTS 2023-08-10 13:59:15 +03:00
spi drivers: spi: Microchip MEC172x SPI fix for Zephyr 3.4 breakage 2023-09-13 12:01:18 +02:00
syscon drivers: kconfig: unify menuconfig title strings 2023-03-28 15:06:06 +02:00
timer include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
usb i2c: use device instead of name for i2c dump messages 2023-09-06 17:54:53 +02:00
usb_c drivers: usb-c: fix - check if adc_channel is ready before use 2023-07-17 10:16:22 +00:00
video drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
virtualization ivshmem: shell: Remove redundant commands 2023-08-31 10:00:06 -04:00
w1 drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
watchdog include: arch: arm: Remove aarch32 directory 2023-09-13 10:08:05 +01:00
wifi winc1500: fix undefined declarations 2023-09-06 11:44:20 +02:00
xen drivers: xen: gnttab: do Xen node mapping inside driver 2023-09-15 11:15:00 +01:00
CMakeLists.txt charger: Sample sbs charger driver with tests 2023-09-07 13:03:13 -04:00
Kconfig charger: Sample sbs charger driver with tests 2023-09-07 13:03:13 -04:00