GPIO chip irq members are exposed before they could be completely initialized and this leads to race conditions. One such issue was observed for the gc->irq.domain variable which was accessed through the I2C in
static int bcma_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) { struct bcma_drv_cc *cc = bcma_gpio_get_cc(chip);if (cc->core->bus->hosttype == BCMA_HOSTTYPE_SOC) return irq_find_mapping(cc->irq_domain, gpio);
Is it possible to add some gpio chip select for support more than one chip select on board ? Loooked on https://github.com/armbian/linux ... ers/spi/spi-sunxi.c I am not found any support of gpio here. Also here https://github.com/armbian/linux/blob/sun8i/drivers/spi/spi-sunxi...
The WAIT pins support either rising or falling edge interrupts so add irqchip support to the gpiochip model.
So revert this commit to make the thunderx gpio work on the stable kernel at least. We will switch to GPIOLIB_IRQCHIP for thunderx gpio by following patches. Fixes: a7fc89f ("gpio: thunderx: Switch to GPIOLIB_IRQCHIP") Signed-off-by: Kevin Hao <haokexin@gmail.com> Link: https:/...
nid = pa_to_nid(start); return nid; } EXPORT_SYMBOL_GPL(memory_add_physaddr_to_nid); #endif #ifdef CONFIG_MEMORY_HOTREMOVE void arch_remove_memory(u64 start, u64 size, struct vmem_altmap *altmap) { unsigned long start_pfn = start >> PAGE_SHIFT; @@ -154,6 +142,13 @@ vo...