Re: [PATCH v4] um: seed rng using host OS rng

2022-07-17 Thread Johannes Berg
On Sun, 2022-07-17 at 12:50 +0200, Jason A. Donenfeld wrote: > UML generally does not provide access to special CPU instructions like > RDRAND, and execution tends to be rather deterministic, with no real > hardware interrupts, making good randomness really very hard, if not > all together impossib

[PATCH v3 2/2] asm-generic: Add new pci.h and use it

2022-07-17 Thread Stafford Horne
The asm/pci.h used for many newer architectures share similar definitions. Move the common parts to asm-generic/pci.h to allow for sharing code. Two things to note are: - isa_dma_bridge_buggy, traditionally this is defined in asm/dma.h but these architectures avoid creating that file and add

Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it

2022-07-17 Thread Christoph Hellwig
On Sun, Jul 17, 2022 at 12:34:53PM +0900, Stafford Horne wrote: > Two things to note are: > > - isa_dma_bridge_buggy, traditionally this is defined in asm/dma.h but >these architectures avoid creating that file and add the definition >to asm/pci.h. This doesn't have anyting to do with PC

Re: [PATCH v2 2/2] asm-generic: Add new pci.h and use it

2022-07-17 Thread Arnd Bergmann
On Mon, Jul 18, 2022 at 6:37 AM Christoph Hellwig wrote: > > On Sun, Jul 17, 2022 at 12:34:53PM +0900, Stafford Horne wrote: > > Two things to note are: > > > > - isa_dma_bridge_buggy, traditionally this is defined in asm/dma.h but > >these architectures avoid creating that file and add the d