Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-24 Thread Geert Uytterhoeven
Hi Gilad, On Thu, May 24, 2018 at 3:20 PM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Tue, May 22, 2018 at 10:48 AM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Mon, May 21, 2018 at 3:43 PM, Gilad Ben-Yossef <gi...@benyossef.com> >> wrote:

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-22 Thread Geert Uytterhoeven
Hi Gilad, On Mon, May 21, 2018 at 3:43 PM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Thu, May 17, 2018 at 1:16 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> Indeed. From a quick glance, it looks like drivers/crypto/ccree/cc_driver.c >> does not d

cryptomgr_test / drbg_ctr: BUG: sleeping function called from invalid context

2018-05-18 Thread Geert Uytterhoeven
mpiler into drbg_kcapi_seed(). Do you have a clue? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I ju

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-17 Thread Geert Uytterhoeven
Hi Gilad, On Thu, May 17, 2018 at 3:41 PM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Thu, May 17, 2018 at 4:35 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Thu, May 17, 2018 at 3:09 PM, Gilad Ben-Yossef <gi...@benyossef.com> >> wrote:

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-17 Thread Geert Uytterhoeven
Hi Gilad, On Thu, May 17, 2018 at 3:09 PM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Thu, May 17, 2018 at 1:16 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> However, even with your clock patch, the signature checking fails for me, >> on both R-C

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-17 Thread Geert Uytterhoeven
On Thu, May 17, 2018 at 12:16 PM, Geert Uytterhoeven <ge...@linux-m68k.org> wrote: > On Thu, May 17, 2018 at 10:01 AM, Gilad Ben-Yossef <gi...@benyossef.com> > wrote: >> On Wed, May 16, 2018 at 10:43 AM, Simon Horman <ho...@verge.net.au> wrote: >>> On Tue,

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-17 Thread Geert Uytterhoeven
Hi Gilad, On Thu, May 17, 2018 at 10:01 AM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Wed, May 16, 2018 at 10:43 AM, Simon Horman <ho...@verge.net.au> wrote: >> On Tue, May 15, 2018 at 04:50:44PM +0200, Geert Uytterhoeven wrote: >>> On Tue, May 15, 2018 at

Re: [PATCH 2/3] clk: renesas: r8a7795: Add ccree clock

2018-05-17 Thread Geert Uytterhoeven
Hi Gilad, On Thu, May 17, 2018 at 10:00 AM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Tue, May 15, 2018 at 5:47 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Tue, May 15, 2018 at 2:29 PM, Gilad Ben-Yossef <gi...@benyossef.com> >> wrote

Re: [PATCH 3/3] arm64: dts: renesas: r8a7795: add ccree binding

2018-05-15 Thread Geert Uytterhoeven
}; The rest looks good, but I cannot verify the register block. > + > i2c3: i2c@e66d { > #address-cells = <1>; > #size-cells = <0>; Gr{oetje,eeting}s, Geert -- Geert Uyt

Re: [PATCH 2/3] clk: renesas: r8a7795: Add ccree clock

2018-05-15 Thread Geert Uytterhoeven
nstances. I also can't verify the parent clock. > DEF_MOD("cmt3", 300, R8A7795_CLK_R), > DEF_MOD("cmt2", 301, R8A7795_CLK_R), > DEF_MOD("cmt1", 302, R8A7795_CLK_R), Gr{oetje,eeti

Re: [PATCH 1/5] random: fix crng_ready() test

2018-05-02 Thread Geert Uytterhoeven
ng too early, leading to "(ptrval)" strings instead of actual hashed pointer values. Sample timings on two platforms (arm / arm64) booting with lots of debug ingo: [ 28.521158] random: crng init done [ 17.792705] random: crng init done Gr{oetje,eeting}s, G

Re: [PATCH] crypto: ccree: limit build to plausible archs

2018-04-24 Thread Geert Uytterhoeven
Hi Gilad, On Tue, Apr 24, 2018 at 10:31 AM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Mon, Apr 23, 2018 at 8:53 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Mon, Apr 23, 2018 at 3:22 PM, Gilad Ben-Yossef <gi...@benyossef.com> >> wrote:

Re: [PATCH] crypto: ccree: limit build to plausible archs

2018-04-23 Thread Geert Uytterhoeven
Hi Gilad, On Mon, Apr 23, 2018 at 3:22 PM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Mon, Apr 23, 2018 at 3:13 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Mon, Apr 23, 2018 at 1:48 PM, Gilad Ben-Yossef <gi...@benyossef.com> >> wrot

Re: [PATCH] crypto: ccree: limit build to plausible archs

2018-04-23 Thread Geert Uytterhoeven
Hi Gilad, On Mon, Apr 23, 2018 at 1:48 PM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > Limit option to compile ccree to plausible architectures. Thanks for your patch! > Suggested-by: Geert Uytterhoeven <ge...@linux-m68k.org> > Signed-off-by: Gilad Ben-Yossef

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-23 Thread Geert Uytterhoeven
Hi Gilad, On Mon, Apr 23, 2018 at 9:45 AM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Wed, Apr 18, 2018 at 10:47 AM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> On Wed, Apr 18, 2018 at 6:32 AM, Gilad Ben-Yossef <gi...@benyossef.com> >> wrote:

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-18 Thread Geert Uytterhoeven
Hi Gilad, On Wed, Apr 18, 2018 at 6:32 AM, Gilad Ben-Yossef <gi...@benyossef.com> wrote: > On Tue, Apr 17, 2018 at 9:14 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it >> depend o

Re: [PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-18 Thread Geert Uytterhoeven
Hi Arnd, On Tue, Apr 17, 2018 at 9:53 PM, Arnd Bergmann <a...@arndb.de> wrote: > On Tue, Apr 17, 2018 at 8:14 PM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it >> depend on ARM or

[PATCH v3 18/20] spi: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 17/20] serial: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 13/20] mmc: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 19/20] staging: vc04_services: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 05/20] firewire: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 12/20] media: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
by several individual drivers. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org> Acked-by: Robin Murphy <robin.mur...@arm.com> --- v3: - Rebase to v4.17-rc1, - Handle new VIDEO_RENESAS_CEU symbol, v2: - Add Reviewed-by, Acked-by,

[PATCH v3 07/20] i2c: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 14/20] mtd: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 06/20] fpga: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 16/20] remoteproc: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 02/20] ata: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 00/20] Allow compile-testing NO_DMA (drivers)

2018-04-17 Thread Geert Uytterhoeven
ile-tested with allmodconfig and allyesconfig for m68k/sun3, and has received attention from the kbuild test robot. Thanks for applying! Geert Uytterhoeven (20): ASoC: Remove depends on HAS_DMA in case of platform dependency ata: Remove depends on HAS_DMA in case of platform dependency cryp

[PATCH v3 11/20] mailbox: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH/RFC] crypto: Add platform dependencies for CRYPTO_DEV_CCREE

2018-04-17 Thread Geert Uytterhoeven
The ARM TrustZone CryptoCell is found on ARM SoCs only. Hence make it depend on ARM or ARM64, unless compile-testing. Drop the dependency on HAS_DMA, as DMA is always available on ARM and ARM64 platforms, and doing so will increase compile coverage. Signed-off-by: Geert Uytterhoeven <

[PATCH v3 03/20] crypto: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 15/20] net: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 09/20] iommu: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 01/20] ASoC: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
_SOC_STORM and/or SND_SOC_APQ8016_SBC. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org> Acked-by: Robin Murphy <robin.mur...@arm.com> Acked-by: Mark Brown <broo...@kernel.org> --- v3: - Add Acked-by, - Rebase t

[PATCH v3 04/20] fbdev: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 10/20] lightnvm: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v3 08/20] iio: adc: Remove depends on HAS_DMA in case of platform dependency

2018-04-17 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 04/21] fbdev: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 01/21] ASoC: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
_SOC_STORM and/or SND_SOC_APQ8016_SBC. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org> Acked-by: Robin Murphy <robin.mur...@arm.com> --- v2: - Add Reviewed-by, Acked-by, - Drop RFC state, - Drop dependency of SND_

[PATCH v2 16/21] remoteproc: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 03/21] crypto: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 00/21] Allow compile-testing NO_DMA (drivers)

2018-03-16 Thread Geert Uytterhoeven
/git/geert/linux-m68k.git/log/?h=no-dma-compile-testing-v2 It has been compile-tested with allmodconfig and allyesconfig for m68k/sun3, and has received attention from the kbuild test robot. Thanks! Geert Uytterhoeven (21): ASoC: Remove depends on HAS_DMA in case of platform dependency a

[PATCH v2 10/21] lightnvm: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
Do we need a dummy? The use of set_dma_ops() in this driver is questionable), - SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_PLATFORM loose their dependency on HAS_DMA, as they are selected from SND_SOC_APQ8016_SBC. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by:

[PATCH v2 08/21] iio: adc: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 07/21] i2c: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 09/21] iommu: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 13/21] mmc: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 05/21] firewire: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 19/21] spi: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 06/21] fpga: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 20/21] staging: vc04_services: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 14/21] mtd: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 11/21] mailbox: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
Do we need a dummy? The use of set_dma_ops() in this driver is questionable), - SND_SOC_LPASS_IPQ806X and SND_SOC_LPASS_PLATFORM loose their dependency on HAS_DMA, as they are selected from SND_SOC_APQ8016_SBC. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by:

[PATCH v2 17/21] scsi: hisi_sas: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

[PATCH v2 15/21] net: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
f NO_DMA=y, and its use in this driver is questionable. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org> Acked-by: Robin Murphy <robin.mur...@arm.com> --- v2: - Add Reviewed-by, Acked-by, - Drop RFC state, - Split per subsyste

[PATCH v2 18/21] serial: Remove depends on HAS_DMA in case of platform dependency

2018-03-16 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Reviewed-by: Mark Brown <broo...@kernel.org>

Re: [PATCH 2/3] compiler-gcc.h: __nostackprotector needs gcc-4.4 and up

2018-02-01 Thread Geert Uytterhoeven
Hi Arnd, On Thu, Feb 1, 2018 at 12:46 PM, Arnd Bergmann <a...@arndb.de> wrote: > On Thu, Feb 1, 2018 at 11:21 AM, Geert Uytterhoeven > <ge...@linux-m68k.org> wrote: >> Gcc versions before 4.4 do not recognize the __optimize__ compiler >> attribute: >> >

[PATCH 1/3] compiler-gcc.h: Introduce __optimize function attribute

2018-02-01 Thread Geert Uytterhoeven
Create a new function attribute __optimize, which allows to specify an optimization level on a per-function basis. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> --- I assume this is supported as of gcc-4.4: - gcc version 4.3.3 (GCC): warning: ‘__optimize__’ attribute dir

[PATCH 2/3] compiler-gcc.h: __nostackprotector needs gcc-4.4 and up

2018-02-01 Thread Geert Uytterhoeven
Gcc versions before 4.4 do not recognize the __optimize__ compiler attribute: warning: ‘__optimize__’ attribute directive ignored Fixes: 7375ae3a0b79ea07 ("compiler-gcc.h: Introduce __nostackprotector function attribute") Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k

[PATCH 3/3] crypto: sha3-generic - Use __optimize to support old compilers

2018-02-01 Thread Geert Uytterhoeven
With gcc-4.1.2: crypto/sha3_generic.c:39: warning: ‘__optimize__’ attribute directive ignored Use the newly introduced __optimize macro to fix this. Fixes: 83dee2ce1ae791c3 ("crypto: sha3-generic - rewrite KECCAK transform to help the compiler optimize") Signed-off-by: Geert Uy

Re: [PATCH 3/3] arm64: enable 128-bit memory read/write support

2018-01-24 Thread Geert Uytterhoeven
NED_ACCESS > def_bool 64BIT && !HAVE_EFFICIENT_UNALIGNED_ACCESS > help Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical

[PATCH] crypto: keywrap - Add missing ULL suffixes for 64-bit constants

2017-11-15 Thread Geert Uytterhoeven
large for ‘long’ type Fixes: 9e49451d7a15365d ("crypto: keywrap - simplify code") Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> --- crypto/keywrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/keywrap.c b/crypto/keywrap.c index

Re: [PATCH 4/8] random: remove unused branch in hot code path

2017-04-27 Thread Geert Uytterhoeven
the intention for the test "sizeof(ip) > 4" to distinguish between 32-bit and 64-bit platforms? As ip is __u64, while regs is a pointer, shouldn't the test be "sizeof(regs) > 4"? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linu

[PATCH 2/2] crypto: CRYPTO_DEV_MEDIATEK should depend on HAS_DMA

2017-02-24 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/crypto/mediatek/mtk-crypto.ko] undefined! Add a dependency on HAS_DMA to fix this. Fixes: 7dee9f618790d0b7 ("crypto: mediatek - remove ARM dependencies") Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> --- drive

[PATCH 1/2] crypto: CRYPTO_DEV_ATMEL_TDES and CRYPTO_DEV_ATMEL_SHA should depend on HAS_DMA

2017-02-24 Thread Geert Uytterhoeven
If NO_DMA=y: ERROR: "bad_dma_ops" [drivers/crypto/atmel-tdes.ko] undefined! ERROR: "bad_dma_ops" [drivers/crypto/atmel-sha.ko] undefined! Add dependencies on HAS_DMA to fix this. Fixes: ceb4afb3086ab08f ("crypto: atmel - refine Kconfig dependencies") Sig

[PATCH] crypto: sha3 - Add missing ULL suffixes for 64-bit constants

2016-08-03 Thread Geert Uytterhoeven
rypto: sha3 - Add SHA-3 hash algorithm") Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> --- crypto/sha3_generic.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crypto/sha3_generic.c b/crypto/sha3_generic.c index 62264397a2d28636..7e8ed96

Re: [patch] crypto: sha256-mb - cleanup a || vs | typo

2016-07-11 Thread Geert Uytterhoeven
intended to be sent out. This works fine, as checkpatch will complain if I ever forget to remove them while preparing patches. The alternative would be to teach checkpatch to complain about FIXME, TODO, and XXX in comments... Gr{oetje,eeting}s, Geert -- Geert Uytt

[PATCH 14/54] MAINTAINERS: Add file patterns for crypto device tree bindings

2016-05-22 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Cc: Herbert Xu <herb...@gondor.apana.org.au> Cc: David S. Miller <da...@davemloft.net> Cc: linux-crypto@vger.ker

[PATCH 19/54] MAINTAINERS: Add file patterns for rng device tree bindings

2016-05-22 Thread Geert Uytterhoeven
Submitters of device tree binding documentation may forget to CC the subsystem maintainer if this is missing. Signed-off-by: Geert Uytterhoeven <ge...@linux-m68k.org> Cc: Matt Mackall <m...@selenic.com> Cc: Herbert Xu <herb...@gondor.apana.org.au> Cc: linux-crypto@vger.kernel.or

Re: #pragma GCC warnings (was: Re: [PATCH] crypto: drbg - use pragmas for disabling optimization)

2015-06-23 Thread Geert Uytterhoeven
Hi Stephan, On Tue, Jun 23, 2015 at 3:01 PM, Stephan Mueller smuel...@chronox.de wrote: On Tue, Jun 23, 2015 at 11:17:23AM +0200, Geert Uytterhoeven wrote: I get that too with m68k-linux-gcc-4.6.3 and m68k-linux-gcc-4.9.0. With m68k-linux-gnu-gcc-4.1, which is still my default cross

Re: [PATCH] crypto: jitterentropy - avoid compiler warnings

2015-06-23 Thread Geert Uytterhoeven
-off-by: Stephan Mueller smuel...@chronox.de Thanks, the warnings I saw before with m68k-linux-gnu-gcc-4.1.2 are gone. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people

#pragma GCC warnings (was: Re: [PATCH] crypto: drbg - use pragmas for disabling optimization)

2015-06-23 Thread Geert Uytterhoeven
target is not supported for this machine [-Wpragmas] #pragma GCC pop_options ^ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Geert Uytterhoeven
dma_request_slave_channel_compat() Then all callers of dma_request_slave_channel_compat() have to be modified to handle ERR_PTR first. The same is true for (the existing) dma_request_slave_channel_reason() vs. dma_request_slave_channel(). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's

[PATCH] crypto: CRYPTO_DEV_IMGTEC_HASH should depend on HAS_DMA

2015-04-23 Thread Geert Uytterhoeven
:(.text+0xa2b948): undefined reference to `dma_unmap_sg' Also move the depends section below the tristate line while we're at it. Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org --- drivers/crypto/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto

[PATCH trivial/resend 4/9] crypto: ux500: Update error message for dmaengine_prep_slave_sg() API

2015-03-04 Thread Geert Uytterhoeven
From: Geert Uytterhoeven geert+rene...@glider.be Commit 7e933d3b1e25b250 (crypto: ux500: use dmaengine_prep_slave_sg API) changed the code to use the new API, but forgot to update an error message. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Herbert Xu herb

[PATCH v2 trivial 2/6] crypto: ux500: Update error message for dmaengine_prep_slave_sg() API

2014-07-11 Thread Geert Uytterhoeven
Commit 7e933d3b1e25b250b58b827ef455a1b489c84157 (crypto: ux500: use dmaengine_prep_slave_sg API) changed the code to use the new API, but forgot to update an error message. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Cc: Herbert Xu herb...@gondor.apana.org.au Cc: Jiri Kosina triv

Re: linux-next: Tree for May 15 (crypto /crct10dif)

2013-05-16 Thread Geert Uytterhoeven
select CRC_T10DIF? select CRYPTO_HASH help CRC T10 Data Integrity Field computation is being cast as Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations

Re: Build regressions/improvements in v3.10-rc1 (crypto/parisc)

2013-05-12 Thread Geert Uytterhoeven
On Sun, 12 May 2013, Geert Uytterhoeven wrote: However, the full list of errors isn't that unmanageable, so I'm following up with a digested list... lib/mpi/generic_mpih-mul1.c:50:3: error: inconsistent operand constraints in an 'asm': 1 errors in 1 logs lib/mpi/generic_mpih-mul2.c:49:3: error

Re: [PATCH 1/2] lib: Add lz4 compressor module

2013-04-22 Thread Geert Uytterhoeven
-- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say programmer or something like that. -- Linus Torvalds

Re: [GIT PULL] Asymmetric keys and module signing

2012-09-28 Thread Geert Uytterhoeven
ball, but I think consistency wins. Not a validly signed module = panic. Just wondering, what's the advantage of doing panic over just rejecting the module? Panic is a DoS? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge

Re: [PATCH v2.2 2/7] crypto: GnuPG based MPI lib - header files (part 2)

2012-03-21 Thread Geert Uytterhoeven
Ping? On Sun, Mar 11, 2012 at 10:55, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Wed, 19 Oct 2011, Dmitry Kasatkin wrote: Adds the multi-precision-integer maths library which was originally taken from GnuPG and ported to the kernel by (among others) David Howells. This version is taken

Re: [BUG] SLOB breaks Crypto

2010-05-19 Thread Geert Uytterhoeven
On Wed, May 19, 2010 at 13:40, David Woodhouse dw...@infradead.org wrote: On Wed, 2010-05-19 at 13:32 +0200, Geert Uytterhoeven wrote: Instead of having (different) defaults in sl[aou]b, perhaps we should just remove the defaults completely, to ensure all architectures set ARCH_SLAB_MINALIGN

Re: [BUG] SLOB breaks Crypto

2010-05-17 Thread Geert Uytterhoeven
) Note that some platforms override this. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking

Re: [PATCH/RFC] crypto: compress - Return produced bytes in crypto_{, de}compress_{update, final}() (was: Re: [PATCH/RFC] crypto: compress - Add comp_request.total_out

2009-07-28 Thread Geert Uytterhoeven
On Tue, 21 Apr 2009, Phillip Lougher wrote: Geert Uytterhoeven wrote: On Mon, 20 Apr 2009, Herbert Xu wrote: On Tue, Mar 24, 2009 at 05:33:01PM +0100, Geert Uytterhoeven wrote: Here's an alternative patch, which does exactly that. Phillip, what do you think? Thanks for your

[PATCH] crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}()

2009-05-11 Thread Geert Uytterhoeven
If crypto_{,de}compress_{update,final}() succeed, return the actual number of bytes produced instead of zero, so their users don't have to calculate that theirselves. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- As we're already at 2.6.30-rc5, I do not want to delay any

Re: pcomp for lzma for later use with squashfs

2009-05-08 Thread Geert Uytterhoeven
), complicating partial decompression. I just started looking at this, my end goal is to use your pcomp patch for squashfs and get lzma squahsfs. That would be great, thx! With kind regards, Geert Uytterhoeven Software Architect Techsoft Centre Technology and Software Centre Europe The Corporate

Re: [PATCH/RFC] crypto: compress - Return produced bytes in crypto_{, de}compress_{update, final}() (was: Re: [PATCH/RFC] crypto: compress - Add comp_request.total_out (was: Re: [PATCH 6/6] squashfs:

2009-05-05 Thread Geert Uytterhoeven
On Mon, 20 Apr 2009, Geert Uytterhoeven wrote: On Mon, 20 Apr 2009, Herbert Xu wrote: On Tue, Mar 24, 2009 at 05:33:01PM +0100, Geert Uytterhoeven wrote: Here's an alternative patch, which does exactly that. Phillip, what do you think? Thanks for your comments! From

Re: [PATCH/RFC] crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}() (was: Re: [PATCH/RFC] crypto: compress - Add comp_request.total_out (was: Re: [PATCH 6/6] squashfs: Ma

2009-04-20 Thread Geert Uytterhoeven
On Mon, 20 Apr 2009, Herbert Xu wrote: On Tue, Mar 24, 2009 at 05:33:01PM +0100, Geert Uytterhoeven wrote: Here's an alternative patch, which does exactly that. Phillip, what do you think? Thanks for your comments! From be7d630f96a85d3ce48716b8e328563ba217647b Mon Sep 17 00:00:00

[PATCH] crypto: pcomp - pcompress.c should include crypto/internal/compress.h

2009-03-25 Thread Geert Uytterhoeven
make C=1: | crypto/pcompress.c:77:5: warning: symbol 'crypto_register_pcomp' was not declared. Should it be static? | crypto/pcompress.c:89:5: warning: symbol 'crypto_unregister_pcomp' was not declared. Should it be static? Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com

[PATCH] crypto: testmgr - Kill test_comp() sparse warnings

2009-03-25 Thread Geert Uytterhoeven
) | crypto/testmgr.c:878:47:expected unsigned int *dlen | crypto/testmgr.c:878:47:got int *noident Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- crypto/testmgr.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crypto/testmgr.c b/crypto

[PATCH/RFC] crypto: compress - Return produced bytes in crypto_{,de}compress_{update,final}() (was: Re: [PATCH/RFC] crypto: compress - Add comp_request.total_out (was: Re: [PATCH 6/6] squashfs: Make S

2009-03-24 Thread Geert Uytterhoeven
On Tue, 17 Mar 2009, Geert Uytterhoeven wrote: On Wed, 11 Mar 2009, Geert Uytterhoeven wrote: On Sun, 8 Mar 2009, Phillip Lougher wrote: Two API issues of concern (one major, one minor). Both of these relate to the way Squashfs drives the decompression code, where it repeatedly calls

Re: [PATCH 6/6] squashfs: Make SquashFS 4 use the new pcomp crypto interface

2009-03-17 Thread Geert Uytterhoeven
On Wed, 25 Feb 2009, Geert Uytterhoeven wrote: Modify SquashFS 4 to use the new pcomp crypto interface for decompression, instead of calling the underlying zlib library directly. This simplifies e.g. the addition of support for hardware decompression and different decompression algorithms

[PATCH/RFC] crypto: compress - Add comp_request.total_out (was: Re: [PATCH 6/6] squashfs: Make SquashFS 4 use the new pcomp crypto interface)

2009-03-17 Thread Geert Uytterhoeven
On Wed, 11 Mar 2009, Geert Uytterhoeven wrote: On Sun, 8 Mar 2009, Phillip Lougher wrote: Two API issues of concern (one major, one minor). Both of these relate to the way Squashfs drives the decompression code, where it repeatedly calls it supplying additional input/output buffers

Re: [PATCH 6/6] squashfs: Make SquashFS 4 use the new pcomp crypto interface

2009-03-11 Thread Geert Uytterhoeven
Hi Phillip, On Sun, 8 Mar 2009, Phillip Lougher wrote: Herbert Xu wrote: On Wed, Feb 25, 2009 at 02:43:14PM +0100, Geert Uytterhoeven wrote: Modify SquashFS 4 to use the new pcomp crypto interface for decompression, instead of calling the underlying zlib library directly

Re: linux-next: Tree for March 10 (crypto NLATTR)

2009-03-10 Thread Geert Uytterhoeven
missed this compile failure? Does it sound sane to protect the routines that do call skb_put() by #ifdef CONFIG_NET? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal

Re: [PATCH] crypto: compress - Add pcomp interface

2009-02-25 Thread Geert Uytterhoeven
On Wed, 25 Feb 2009, Herbert Xu wrote: On Mon, Feb 23, 2009 at 06:32:19PM +0100, Geert Uytterhoeven wrote: Is the below (on top of my last patch series) what you have in mind? Looks great to me! OK. Notes: - I had to drop the `const' from the `params' pointers of pcomp_alg

[PATCH 0/6] Partial (de)compression Crypto API

2009-02-25 Thread Geert Uytterhoeven
netlink attributes for the (de)compression setup parameters - Move netlink attribute parsing support to lib/, enabled by CONFIG_NLATTR David, Phillip: can I please have your ack? If nobody objects, please apply. Thanks! With kind regards, Geert Uytterhoeven Software Architect Sony Techsoft

[PATCH 1/6] netlink: Move netlink attribute parsing support to lib/

2009-02-25 Thread Geert Uytterhoeven
Netlink attribute parsing may be used even if CONFIG_NET is not set. Move it from net/netlink to lib and control its inclusion based on the new config symbol CONFIG_NLATTR, which is selected by CONFIG_NET. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com Cc: David S. Miller da

[PATCH 2/6] crypto: compress - Add pcomp interface

2009-02-25 Thread Geert Uytterhoeven
meanings depend on the actual (name of the) (de)compression algorithm. Signed-off-by: Geert Uytterhoeven geert.uytterhoe...@sonycom.com --- crypto/Kconfig |4 + crypto/Makefile|2 + crypto/pcompress.c | 97

  1   2   >