Re: [PATCH v2] vio: make remove callback return void

2021-02-24 Thread Anatoly Pugachev
On Wed, Feb 24, 2021 at 11:17 AM Uwe Kleine-König wrote: > > The driver core ignores the return value of struct bus_type::remove() > because there is only little that can be done. To simplify the quest to > make this function return void, let struct vio_driver::remove() return > void, too. All us

Re: [RFT PATCH 0/3] crypto: sparc - convert to skcipher API

2019-10-18 Thread Anatoly Pugachev
On Sat, Oct 12, 2019 at 7:47 AM Eric Biggers wrote: > > This series converts the glue code for the SPARC64 crypto opcodes > implementations of AES, Camellia, DES, and 3DES modes from the > deprecated "blkcipher" API to the "skcipher" API. This is needed in > order for the blkcipher API to be remo

Re: [sparc64] crc32c misbehave

2017-05-31 Thread Anatoly Pugachev
A bit more on testing machines: kernel on T5 ldom ttip is git kernel: Linux ttip 4.12.0-rc3-00011-gf511c0b17b08 #327 SMP Wed May 31 12:54:02 MSK 2017 sparc64 GNU/Linux kernel on v215 is debian sid kernel: Linux v215 4.9.0-3-sparc64-smp #1 SMP Debian 4.9.25-1 (2017-05-02) sparc64 GNU/Linux mato

Re: [sparc64] crc32c misbehave

2017-05-31 Thread Anatoly Pugachev
Hello! While debugging occasional crc32c checksum errors with xfs disk reads on sparc64 (T5 [sun4v] 3.6 GHz CPU ldom, debian unstable/sid), Eric have found that crc32c sometimes returns wrong checksum for data. Eric made a simple test kernel module (included), which produce the following results o

[sparc64] cryptomgr_test OOPS kernel 4.9.0+

2016-12-25 Thread Anatoly Pugachev
Hello! Disabling kernel config option CRYPTO_MANAGER_DISABLE_TESTS i.e. enable run-time self tests, makes kernel unbootable: tested with git kernels v4.9-8648-g5cc60aeedf31 and v4.9-12259-g7c0f6ba682b9 SILO Version 1.4.14 boot: Allocated 64 Megs of memory at 0x4000 for kernel Uncompressing

Re: [PATCH v6 1/2] sparc: fix a building error reported by kbuild

2016-12-22 Thread Anatoly Pugachev
Guys, so was it fixed or not? I can not compile current git kernel: linux-2.6$ git desc v4.9-11937-g52bce91165e5 linux-2.6$ git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working tree clean linux-2.6$ git log --oneline arch/sparc/include/asm/topo

Re: [sparc] niagara2 cpu, opcodes not available message?

2016-06-08 Thread Anatoly Pugachev
On Wed, Jun 8, 2016 at 8:30 PM, Anatoly Pugachev wrote: > Hello! > > Can someone please tell, why do we get a bunch of the following > messages on niagara2 cpu hardware (SPARC Enterprise T5120, T5220, > T5140, and T5240 servers) > > Asking, because I see the following

[sparc] niagara2 cpu, opcodes not available message?

2016-06-08 Thread Anatoly Pugachev
Hello! Can someone please tell, why do we get a bunch of the following messages on niagara2 cpu hardware (SPARC Enterprise T5120, T5220, T5140, and T5240 servers) Asking, because I see the following lines on kernel boot (removing first field boot time stamp in cut): mator@nvg5120:~/linux-sparc-b

Re: booting sun sparc T5120 with "nosmp" kernel causes OOPS in n2_crypto module

2016-05-25 Thread Anatoly Pugachev
tried to boot git kernel ( 4.6.0+ , git commit ecc5fbd5ef472a4c659dc56a5739b3f041c0530c ) with "nosmp" , got n2_crypto OOPS as well ext4 OOPS (unable to finish boot , mount / fs) , boot log : SPARC Enterprise T5120, No Keyboard Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights

Re: booting sun sparc T5120 with "nosmp" kernel 4.5.4 causes OOPS in n2_crypto module

2016-05-24 Thread Anatoly Pugachev
(re-sent in plain text) Hello! Tried to boot T5120 with nosmp kernel option, gives OOPS in n2_crypto module: May 24 13:11:48 nvg5120 kernel: Kernel command line: root=/dev/mapper/vg1-root ro nosmp ... May 24 13:11:48 nvg5120 kernel: Loading compiled-in X.509 certificates May 24 13:11:48 nvg5120

Re: [crypto / sparc64] cryptomgr_test OOPS

2016-05-05 Thread Anatoly Pugachev
On Thu, May 5, 2016 at 6:00 PM, Tadeusz Struk wrote: > On 05/05/2016 02:40 AM, Anatoly Pugachev wrote: >> sure, based on your cryptodev git, just tried 4.3 (6a13feb , good) >> kernel in attempt to find (bisect) when RSA code break, already tested >> 4.5 (44d1b6d , bad)

Re: [crypto / sparc64] cryptomgr_test OOPS

2016-05-05 Thread Anatoly Pugachev
On Thu, May 5, 2016 at 11:42 AM, Herbert Xu wrote: > On Wed, May 04, 2016 at 05:49:04PM +0300, Anatoly Pugachev wrote: >> >> just tested cryptodev ( >> http://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git >> ) kernel, same OOPS, but kernel versio

Re: [crypto / sparc64] cryptomgr_test OOPS

2016-05-05 Thread Anatoly Pugachev
On Thu, May 5, 2016 at 11:42 AM, Herbert Xu wrote: > On Wed, May 04, 2016 at 05:49:04PM +0300, Anatoly Pugachev wrote: >> >> just tested cryptodev ( >> http://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git >> ) kernel, same OOPS, but kernel versio

Re: [crypto / sparc64] cryptomgr_test OOPS

2016-05-04 Thread Anatoly Pugachev
On Tue, May 3, 2016 at 7:33 PM, David Miller wrote: > From: Anatoly Pugachev > Date: Tue, 3 May 2016 16:54:18 +0300 > >> I have git kernel OOPS (4.6.0-rc6) on sparc64. This OOPS does not >> happen, if I set the following kernel option: >> >> CONFIG_CRYPTO_

Re: [crypto / sparc64] cryptomgr_test OOPS

2016-05-04 Thread Anatoly Pugachev
On Wed, May 4, 2016 at 7:07 AM, Herbert Xu wrote: > David Miller wrote: >> From: Anatoly Pugachev >> Date: Tue, 3 May 2016 16:54:18 +0300 >> >>> I have git kernel OOPS (4.6.0-rc6) on sparc64. This OOPS does not >>> happe

[crypto / sparc64] cryptomgr_test OOPS

2016-05-03 Thread Anatoly Pugachev
Hello! I have git kernel OOPS (4.6.0-rc6) on sparc64. This OOPS does not happen, if I set the following kernel option: CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y Can someone please look at https://bugzilla.kernel.org/show_bug.cgi?id=117551 ? Thanks. There's attached kernel config on bugzilla. kern

Re: console noise after commit c1e9b3b0eea

2016-04-19 Thread Anatoly Pugachev
On Wed, Apr 20, 2016 at 1:33 AM, Sowmini Varadhan wrote: > > Hi Anatoly, > > after commit c1e9b3b0eea1 ("hwrng: n2 - Attach on T5/M5, T7/M7 SPARC CPUs") > I get a *lot* of console noise on my T5-2, of the form: > > n2rng f028f21c: Selftest failed on unit 0 > n2rng f028f21c: Test buffer slot 0 [0x0

Re: [PATCH 2/2] n2rng: Attach on T5/M5, T7/M7 SPARC CPUs

2016-01-25 Thread Anatoly Pugachev
n2rng: Attach on T5/M5, T7/M7 SPARC CPUs (space to tab fixes after variable names) Signed-off-by: Anatoly Pugachev --- drivers/char/hw_random/n2-drv.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 843d6f6

Re: [PATCH 0/2] n2rng: Attach on T5/M5, T7/M7 SPARC CPUs

2016-01-25 Thread Anatoly Pugachev
On Mon, Jan 25, 2016 at 10:41:01PM +0800, Herbert Xu wrote: > On Fri, Jan 15, 2016 at 03:22:53PM -0500, David Miller wrote: > > From: Anatoly Pugachev > > Date: Thu, 14 Jan 2016 00:43:18 +0300 > > > > > This patch adds support for recent oracle hardware (T5/M5, T7/M

[PATCH 1/2] n2rng: documentation, add DT bindings, vendor prefixes

2016-01-25 Thread Anatoly Pugachev
n2rng: documentation, add DT bindings, vendor prefixes Signed-off-by: Anatoly Pugachev --- .../devicetree/bindings/sparc_sun_oracle_rng.txt | 30 ++ .../devicetree/bindings/vendor-prefixes.txt| 2 ++ 2 files changed, 32 insertions(+) create mode 100644

[PATCH 2/2] n2rng: Attach on T5/M5, T7/M7 SPARC CPUs

2016-01-25 Thread Anatoly Pugachev
n2rng: Attach on T5/M5, T7/M7 SPARC CPUs Signed-off-by: Anatoly Pugachev --- drivers/char/hw_random/n2-drv.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 843d6f6..8bee43a 100644 --- a/drivers/char