Re: [PATCH 9/9] serial: xuartps: Fix out-of-bounds access through DT alias

2018-02-20 Thread Michal Simek
On 20.2.2018 10:40, Geert Uytterhoeven wrote: > The cdns_uart_port[] array is indexed using a value derived from the > "serialN" alias in DT, which may lead to an out-of-bounds access. > > Fix this by adding a range check. > > Fixes: 1f118c02a1819856 ("serial: xuartps: Fix out-of-bounds access

Re: [PATCH 9/9] serial: xuartps: Fix out-of-bounds access through DT alias

2018-02-20 Thread Michal Simek
On 20.2.2018 13:27, Geert Uytterhoeven wrote: > Hi Michal, > > On Tue, Feb 20, 2018 at 12:27 PM, Michal Simek <michal.si...@xilinx.com> > wrote: >> On 20.2.2018 11:38, Geert Uytterhoeven wrote: >>> On Tue, Feb 20, 2018 at 11:22 AM, Michal Simek <

Re: [PATCH 03/26] m68k, microblaze: remove ioremap_fullcache

2019-09-02 Thread Michal Simek
#define ioremap_nocache(addr, size) ioremap((addr), (size)) > -#define ioremap_fullcache(addr, size)ioremap((addr), (size)) > #define ioremap_wc(addr, size) ioremap((addr), (size)) > #define ioremap_wt(addr, size) ioremap((addr), (size

[PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-24 Thread Michal Simek
-off-by: Michal Simek --- https://lore.kernel.org/linux-riscv/20191008154604.ga7...@infradead.org/ --- arch/arc/include/asm/Kbuild | 1 - arch/arm/include/asm/Kbuild | 1 - arch/arm64/include/asm/Kbuild | 1 - arch/mips/include/asm/Kbuild| 1 - arch/powerpc/include/asm/Kbuild | 1

[PATCH 0/2] Enabling MSI for Microblaze

2019-10-24 Thread Michal Simek
-86cc-b335624b3e7c@palmer-si-x1e/ and https://lore.kernel.org/linux-pci/20191017181937.7004-1-pal...@sifive.com/ Thanks, Michal Michal Simek (1): asm-generic: Make msi.h a mandatory include/asm header Palmer Dabbelt (1): pci: Default to PCI_MSI_IRQ_DOMAIN arch/arc/include/asm/Kbuild | 1

Re: [PATCH 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-25 Thread Michal Simek
On 24. 10. 19 16:44, Masahiro Yamada wrote: > On Thu, Oct 24, 2019 at 7:13 PM Michal Simek wrote: >> >> msi.h is generic for all architectures expect of x86 which has own version. > > Maybe a typo? "except" unfortunately yes. > > > Anyway,

[PATCH v2 0/2] Enabling MSI for Microblaze

2019-10-25 Thread Michal Simek
-86cc-b335624b3e7c@palmer-si-x1e/ and https://lore.kernel.org/linux-pci/20191017181937.7004-1-pal...@sifive.com/ Thanks, Michal Changes in v2: - Fix typo in commit message s/expect/except/ - Reported-by: Masahiro Michal Simek (1): asm-generic: Make msi.h a mandatory include/asm header Palmer

[PATCH v2 1/2] asm-generic: Make msi.h a mandatory include/asm header

2019-10-25 Thread Michal Simek
-off-by: Michal Simek Acked-by: Waiman Long Acked-by: Paul Walmsley # arch/riscv Tested-by: Paul Walmsley # build only, rv32/rv64 Reviewed-by: Masahiro Yamada --- Changes in v2: - Fix typo in commit message s/expect/except/ - Reported-by: Masahiro https://lore.kernel.org/linux-riscv