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
bluetooth include: always use <> for Zephyr includes 2023-09-14 13:49:58 +02:00
cache
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
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
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
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
hwspinlock
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
led_strip kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
lora
mbox mbox: Add NXP MU as a MBOX device 2023-09-14 14:34:05 +02:00
mdio
memc
mfd gpio: nct38xx: Remove reg access wrappers 2023-09-11 11:00:47 +02:00
mipi_dsi
misc drivers: misc: add NXP S32 eMIOS driver 2023-09-06 11:44:00 +02:00
mm
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
peci
pinctrl drivers: pinctrl: b91: add missing init.h 2023-08-30 14:43:38 +02:00
pm_cpu_ops
power_domain
ps2 driver: ps2: npcx: add the missing kernel.h include 2023-08-31 10:19:52 +02:00
ptp_clock
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
retained_mem
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
spi drivers: spi: Microchip MEC172x SPI fix for Zephyr 3.4 breakage 2023-09-13 12:01:18 +02:00
syscon
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
video
virtualization ivshmem: shell: Remove redundant commands 2023-08-31 10:00:06 -04:00
w1
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