Proposal of improvement for DMA - direct passing of hugepages to the SG list

2021-04-14 Thread wzab
Hi, I'm working both on DMA engines implementations in FPGA and their Linux drivers. Now I need to create an engine that takes the hugepages-backed buffer allocated by the user-space application and passes it to the device. My current solution: https://forums.xilinx.com/t5/Embedded-Linux/How-

Bug introduced in the of_get_named_gpiod_flags function.

2018-10-10 Thread wzab
Hi, The function of_get_named_gpiod_flags in older versions of the kernel (up to 4.7.10 - https://elixir.bootlin.com/linux/v4.7.10/source/drivers/gpio/gpiolib-of.c#L75 ) contained an important workaround: /* .of_xlate might decide to not fill in the flags, so clear it. */if (flags) *flags =