Re: [PATCH 0/5] Bring the BusLogic host bus adapter driver up to Y2021

2021-04-18 Thread Ondrej Zary
00763_PCI_EISA_Wide_SCSI_Tech_Ref_Dec94.pdf There's also 3002593 there: https://doc.lagout.org/science/0_Computer Science/0_Computer History/old-hardware/buslogic/ -- Ondrej Zary

Re: 5.10 LTS Kernel: 2 or 6 years?

2021-02-18 Thread Ondrej Zary
way to get support for new HW. > I expect -stable is what most users are running on their notebooks. > > Best regards, > Pavel -- Ondrej Zary

Re: [Nouveau] nouveau broken on Riva TNT2 in 5.9.0-rc8: GPU not supported on big-endian

2020-10-28 Thread Ondrej Zary
On Saturday 10 October 2020 02:02:42 Karol Herbst wrote: > On Sat, Oct 10, 2020 at 12:23 AM Ilia Mirkin wrote: > > > > On Fri, Oct 9, 2020 at 5:54 PM Karol Herbst wrote: > > > > > > On Fri, Oct 9, 2020 at 11:35 PM Ondrej Zary wrote: > > > > > >

Re: [PATCH 1/2] cx82310_eth: re-enable ethernet mode after router reboot

2020-10-12 Thread Ondrej Zary
On Monday 12 October 2020, Jakub Kicinski wrote: > On Sat, 10 Oct 2020 16:00:46 +0200 Ondrej Zary wrote: > > When the router is rebooted without a power cycle, the USB device > > remains connected but its configuration is reset. This results in > > a non-working ethernet con

[PATCH 1/2] cx82310_eth: re-enable ethernet mode after router reboot

2020-10-10 Thread Ondrej Zary
with invalid size of 0x. Signed-off-by: Ondrej Zary --- drivers/net/usb/cx82310_eth.c | 50 ++- 1 file changed, 44 insertions(+), 6 deletions(-) diff --git a/drivers/net/usb/cx82310_eth.c b/drivers/net/usb/cx82310_eth.c index 32b08b18e120..043679311399 100644

Re: [Nouveau] nouveau broken on Riva TNT2 in 5.9.0-rc8: GPU not supported on big-endian

2020-10-10 Thread Ondrej Zary
On Saturday 10 October 2020 00:23:38 Ilia Mirkin wrote: > On Fri, Oct 9, 2020 at 5:54 PM Karol Herbst wrote: > > > > On Fri, Oct 9, 2020 at 11:35 PM Ondrej Zary wrote: > > > > > > Hello, > > > I'm testing 5.9.0-rc8 and found that Riva TNT2 stop

[PATCH 2/2] cx82310_eth: use netdev_err instead of dev_err

2020-10-10 Thread Ondrej Zary
Use netdev_err for better device identification in syslog. Signed-off-by: Ondrej Zary --- drivers/net/usb/cx82310_eth.c | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/drivers/net/usb/cx82310_eth.c b/drivers/net/usb/cx82310_eth.c index

nouveau broken on Riva TNT2 in 5.9.0-rc8: GPU not supported on big-endian

2020-10-09 Thread Ondrej Zary
60x64 [ 23.571050] nouveau :01:00.0: fb0: nouveaudrmfb frame buffer device -- Ondrej Zary

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-28 Thread Ondrej Zary
On Friday 28 August 2020 10:59:37 Kalle Valo wrote: > Ondrej Zary writes: > > > On Thursday 27 August 2020 09:49:12 Kalle Valo wrote: > >> Ondrej Zary writes: > >> > >> > On Monday 17 August 2020 20:27:06 Jesse Brandeburg wrote: > >> >&

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-27 Thread Ondrej Zary
On Thursday 27 August 2020 09:49:12 Kalle Valo wrote: > Ondrej Zary writes: > > > On Monday 17 August 2020 20:27:06 Jesse Brandeburg wrote: > >> On Mon, 17 Aug 2020 16:27:01 +0300 > >> Kalle Valo wrote: > >> > >> > I was surprised to

Re: [PATCH 12/30] net: wireless: cisco: airo: Fix a myriad of coding style issues

2020-08-17 Thread Ondrej Zary
27;t remove random drivers. I still have the Aironet PCMCIA card and can test the driver. -- Ondrej Zary

Re: [PATCH v4] watchdog: alim1535: Rewriting of alim1535 driver to use watchdog subsystem

2019-08-01 Thread Ondrej Zary
#x27;t rewrite drivers you can't test. -- Ondrej Zary

Re: Marking legacy watchdog drivers as deprecated / obsolete

2019-08-01 Thread Ondrej Zary
og/sc1200wdt.c > > drivers/watchdog/sc520_wdt.c > > drivers/watchdog/sch311x_wdt.c > > drivers/watchdog/scx200_wdt.c > > drivers/watchdog/smsc37b787_wdt.c > > drivers/watchdog/w83877f_wdt.c > > drivers/watchdog/w83977f_wdt.c > > drivers/watchdog/wafer5823wdt.c > > drivers/watchdog/wdrtas.c > > drivers/watchdog/wdt.c > > drivers/watchdog/wdt285.c > > drivers/watchdog/wdt977.c > > drivers/watchdog/wdt_pci.c > > > > Arnd > I have some older x86 boards so I probably could test some of them. Likely ALi chipset (alim1535_wdt.c and/or alim7101_wdt.c) and some super I/Os (it8712f_wdt.c, w83877f_wdt.c, w83977f_wdt.c). -- Ondrej Zary

Re: [PATCH] scsi: fdomain: fix building pcmcia front-end

2019-06-19 Thread Ondrej Zary
&& ISA [=y] && SCSI [=y] Selects: CHECK_SIGNATURE [=y] && SCSI_FDOMAIN [=m] Symbol: SCSI_FDOMAIN_PCI [=m] Type : tristate Prompt: Future Domain TMC-3260/AHA-2920A PCI SCSI support Location: -> Device Drivers -> SCSI device support -> SCSI low-level drivers (SCSI_LOWLEVEL [=y]) Defined at drivers/scsi/Kconfig:670 Depends on: SCSI_LOWLEVEL [=y] && PCI [=y] && SCSI [=y] Selects: SCSI_FDOMAIN [=m] -- Ondrej Zary

[PATCH] [resend] wd719x: Fix resets and aborts

2019-06-17 Thread Ondrej Zary
my documentation is missing some pages, including page 67 (SPIDER67.gif) about resets :( Reported-by: Hariprasad Kelam Signed-off-by: Ondrej Zary --- drivers/scsi/wd719x.c | 42 ++ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/wd7

[PATCH] wd719x: Fix resets and aborts

2019-06-01 Thread Ondrej Zary
my documentation is missing some pages, including page 67 (SPIDER67.gif) about resets :( Reported-by: Hariprasad Kelam Signed-off-by: Ondrej Zary --- drivers/scsi/wd719x.c | 42 ++ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/drivers/scsi/wd7

[PATCH] fdomain: Add PCMCIA support

2019-05-27 Thread Ondrej Zary
Add PCMCIA card support to Future Domain SCSI driver. Tested with IBM SCSI PCMCIA Adapter 40G1890. Signed-off-by: Ondrej Zary --- drivers/scsi/fdomain.c | 7 ++- drivers/scsi/pcmcia/Kconfig | 10 + drivers/scsi/pcmcia/Makefile | 1 + drivers/scsi/pcmcia/fdomain_cs.c

[PATCH] fdomain: Add register definitions

2019-05-18 Thread Ondrej Zary
Add register bit definitions from documentation to header file and use them instead of magic constants. No changes to generated binary. Signed-off-by: Ondrej Zary --- drivers/scsi/fdomain.c | 144 - drivers/scsi/fdomain.h | 117

[PATCH v2 2/3] fdomain: Resurrect driver (PCI support)

2019-05-14 Thread Ondrej Zary
Future Domain TMC-3260/AHA-2920A PCI card support. Tested on Adaptec AHA-2920A PCI card. Signed-off-by: Ondrej Zary Reviewed-by: Christoph Hellwig --- drivers/scsi/Kconfig | 17 drivers/scsi/Makefile | 1 + drivers/scsi/fdomain_pci.c | 68

[PATCH v2 1/3] fdomain: Resurrect driver (core)

2019-05-14 Thread Ondrej Zary
Future Domain TMC-16xx/TMC-3260 SCSI driver. This is the core driver, common for PCI, ISA and PCMCIA cards. Signed-off-by: Ondrej Zary Reviewed-by: Christoph Hellwig --- drivers/scsi/Kconfig | 4 + drivers/scsi/Makefile | 1 + drivers/scsi/fdomain.c | 586

[PATCH v2 0/3] fdomain: Resurrect driver

2019-05-14 Thread Ondrej Zary
-specific drivers (PCI, ISA and PCMCIA). Only PCI and ISA drivers are submitted for now. Changes in v2: - BIOS-related code moved to ISA driver and simplified - fixed (un)locking in fdomain_host_reset -- Ondrej Zary

[PATCH v2 3/3] fdomain: Resurrect driver (ISA support)

2019-05-14 Thread Ondrej Zary
Future Domain 16xx ISA SCSI support card support. Tested on IBM 92F0330 card (18C50 chip) with v1.00 BIOS. Signed-off-by: Ondrej Zary Reviewed-by: Christoph Hellwig --- drivers/scsi/Kconfig | 14 +++ drivers/scsi/Makefile | 1 + drivers/scsi/fdomain_isa.c | 222

Re: ext3/ext4 filesystem corruption under post 5.1.0 kernels

2019-05-14 Thread Ondrej Zary
bly hit by the same bug. ext3 filesystem on my test machine was corrupted twice with 5.1.0+. Only the corruption was heavier. Some files that were open (e.g. logs) became cros-linked with files that were not used for ages. -- Ondrej Zary

Re: [PATCH 2/2] fdomain: Add ISA bus support

2019-05-13 Thread Ondrej Zary
On Monday 13 May 2019 09:09:04 Christoph Hellwig wrote: > On Fri, May 10, 2019 at 11:23:35PM +0200, Ondrej Zary wrote: > > Add Future Domain 16xx ISA SCSI support card support. > > > > Tested on IBM 92F0330 card (18C50 chip) with v1.00 BIOS. > > Where did you find th

[PATCH 2/2] fdomain: Add ISA bus support

2019-05-10 Thread Ondrej Zary
Add Future Domain 16xx ISA SCSI support card support. Tested on IBM 92F0330 card (18C50 chip) with v1.00 BIOS. Signed-off-by: Ondrej Zary --- drivers/scsi/Kconfig | 14 +++ drivers/scsi/Makefile | 1 + drivers/scsi/fdomain_isa.c | 222

[PATCH 1/2] fdomain: Remove BIOS-related code from core

2019-05-10 Thread Ondrej Zary
Move all BIOS signature and base handling to (currently not merged) ISA bus driver. Signed-off-by: Ondrej Zary --- drivers/scsi/fdomain.c | 18 ++ drivers/scsi/fdomain.h | 10 -- drivers/scsi/fdomain_pci.c | 2 +- 3 files changed, 3 insertions(+), 27 deletions

[RFC PATCH 3/2] fdomain: Use SCSI host private data instead of global variables

2019-04-08 Thread Ondrej Zary
Move global variables into SCSI host private data in order to support multiple cards. Signed-off-by: Ondrej Zary --- drivers/scsi/fdomain.c | 593 + 1 file changed, 307 insertions(+), 286 deletions(-) diff --git a/drivers/scsi/fdomain.c b/drivers

bnxt_en: NIC Link is Up, 100 Mbps full duplex - but no data

2018-11-28 Thread Ondrej Zary
a gigabit switch. Currently running 4.18.0-2-amd64 kernel (Debian testing). Any ideas? -- Ondrej Zary

Re: bioset changes in 4.18 broke aha1542

2018-10-18 Thread Ondrej Zary
On Thursday 18 October 2018 20:58:57 Jens Axboe wrote: > On 10/18/18 12:34 PM, Ondrej Zary wrote: > > Hello, > > aha1542 works fine in 4.17 but crashes in 4.18. It's hard to bisect because > > of many commits that don't compile. > > # only skipped commits

[PATCH 1/3] gspca_zc3xx: Implement proper autogain and exposure control for OV7648

2018-05-25 Thread Ondrej Zary
The ZS0211 internal autogain causes pumping and flickering with OV7648 sensor on 0ac8:307b webcam. Implement OV7648 autogain and exposure control and use that instead. Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 42 + 1 file changed

[PATCH 2/3 v2] gspca_zc3xx: Fix power line frequency settings for OV7648

2018-05-25 Thread Ondrej Zary
Power line frequency settings for OV7648 sensor contain autogain and exposure commands, affecting unrelated controls. Remove them. Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/media/usb/gspca/zc3xx.c b/drivers

[PATCH 3/3 v2] gspca_zc3xx: Enable short exposure times for OV7648

2018-05-25 Thread Ondrej Zary
round. (This bug came from the Windows driver.) Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/gspca/zc3xx.c b/drivers/media/usb/gspca/zc3xx.c index c72f2d9167d9..cf21991e3d99 100644

[PATCH 1/3] gspca_zc3xx: Implement proper autogain and exposure control for OV7648

2018-05-24 Thread Ondrej Zary
The ZS0211 internal autogain causes pumping and flickering with OV7648 sensor on 0ac8:307b webcam. Implement OV7648 autogain and exposure control and use that instead. Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 42 + 1 file changed

[PATCH 3/3] gspca_zc3xx: Fix exposure with power line frequency for OV7648

2018-05-24 Thread Ondrej Zary
. Fix it. (This bug came from the Windows driver.) Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/gspca/zc3xx.c b/drivers/media/usb/gspca/zc3xx.c index 9a78420e8ad8..299ea70bfb67 1

[PATCH 2/3] gspca_zc3xx: Fix power line frequency settings for OV7648

2018-05-24 Thread Ondrej Zary
Power line frequency settings for OV7648 sensor contain autogain and exposure commands, affecting unrelated controls. Remove them. Signed-off-by: Ondrej Zary --- drivers/media/usb/gspca/zc3xx.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers/media

Re: Moving unmaintained filesystems to staging

2018-04-29 Thread Ondrej Zary
he kernel tree as well as > _in_. We use it all the time to move code there, see if anyone shows up > in 6-8 months to say "I will fix this!", and if not, we delete it. > > Look at what just happened to IRDA in the 4.17-rc1 release as an example > of this. Really a "great" example of deleting working code :( -- Ondrej Zary

[PATCH] Input: i8042 - Never reset on Sony VAIO VGN-CS series

2018-04-09 Thread Ondrej Zary
Resetting i8042 breaks MUX on Sony VAIO VGN-CS. Never reset i8042 on these machines to fix MUX after suspend. Signed-off-by: Ondrej Zary --- drivers/input/serio/i8042-x86ia64io.h | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/input/serio/i8042

Re: [PATCH] i8042: Enable MUX on Sony VAIO VGN-CS series to fix touchpad

2018-04-06 Thread Ondrej Zary
e following trees: v4.16, v4.15.15, v4.14.32, v4.9.92, > v4.4.126. > > v4.16: Build OK! > v4.15.15: Build OK! > v4.14.32: Build OK! > v4.9.92: Build OK! > v4.4.126: Build OK! > > Please let us know if you'd like to have this patch included in a stable > tree. AFAIK, it was already included in various stable trees. -- Ondrej Zary

Re: Sony Vaio VGN-CS31S touch sensor buttons breaking touchpad

2018-04-03 Thread Ondrej Zary
On Monday 02 April 2018 22:39:59 Ondrej Zary wrote: > On Sunday 01 April 2018 23:21:55 Ondrej Zary wrote: > > Hello, > > I got a Sony Vaio VGN-CS31S laptop with Synaptics touchpad that exhibits > > weird behavior. It seems to work until I touch the "Touch Sensor Buttons&q

[PATCH] i8042: Enable MUX on Sony VAIO VGN-CS series to fix touchpad

2018-04-03 Thread Ondrej Zary
request Add a new i8042_dmi_forcemux_table whitelist with VGN-CS. With MUX enabled, touch sensor buttons are detected as separate device (and left disabled as there's currently no driver), fixing all touchpad problems. Signed-off-by: Ondrej Zary --- drivers/input/serio/i8042-x86ia64io.h

Re: Sony Vaio VGN-CS31S touch sensor buttons breaking touchpad

2018-04-02 Thread Ondrej Zary
On Monday 02 April 2018 23:05:29 Dmitry Torokhov wrote: > On Mon, Apr 02, 2018 at 10:39:59PM +0200, Ondrej Zary wrote: > > On Sunday 01 April 2018 23:21:55 Ondrej Zary wrote: > > > Hello, > > > I got a Sony Vaio VGN-CS31S laptop with Synaptics touchpad that > > &g

Re: Sony Vaio VGN-CS31S touch sensor buttons breaking touchpad

2018-04-02 Thread Ondrej Zary
On Sunday 01 April 2018 23:21:55 Ondrej Zary wrote: > Hello, > I got a Sony Vaio VGN-CS31S laptop with Synaptics touchpad that exhibits > weird behavior. It seems to work until I touch the "Touch Sensor Buttons" > bar above the keyboard - then the buttons start to act weir

Re: [PATCH v3] Fix modifier keys for Redragon Asura Keyboard

2018-03-21 Thread Ondrej Zary
On Wednesday 21 March 2018 11:43:31 Robert Munteanu wrote: > +#define USB_VENDOR_ID_MICRODIA 0x0c45 > +#define USB_DEVICE_ID_REDRAGON_ASURA0x760b Microdia is most probably an incorrect name. The 0c45 id probably belongs to "Sonix Technology Co., Ltd." -- Ondrej Zary

Re: [PATCH, RFC] block: remove the paride drivers

2018-03-15 Thread Ondrej Zary
On Thursday 15 March 2018 23:04:40 Ondrej Zary wrote: > On Thursday 15 March 2018 09:04:55 Christoph Hellwig wrote: > > On Thu, Mar 15, 2018 at 09:04:24AM +0100, Ondrej Zary wrote: > > > On Thursday 15 March 2018, Christoph Hellwig wrote: > > > > The paride dri

Re: [PATCH, RFC] block: remove the paride drivers

2018-03-15 Thread Ondrej Zary
On Thursday 15 March 2018 23:04:40 Ondrej Zary wrote: > On Thursday 15 March 2018 09:04:55 Christoph Hellwig wrote: > > On Thu, Mar 15, 2018 at 09:04:24AM +0100, Ondrej Zary wrote: > > > On Thursday 15 March 2018, Christoph Hellwig wrote: > > > > The paride dri

Re: [PATCH, RFC] block: remove the paride drivers

2018-03-15 Thread Ondrej Zary
On Thursday 15 March 2018 09:04:55 Christoph Hellwig wrote: > On Thu, Mar 15, 2018 at 09:04:24AM +0100, Ondrej Zary wrote: > > On Thursday 15 March 2018, Christoph Hellwig wrote: > > > The paride drivers are some of the cruftiest, grottiest block drivers > > > (besid

Re: [PATCH, RFC] block: remove the paride drivers

2018-03-15 Thread Ondrej Zary
asier. This will make my parallel port ZIP and LS-120 drives useless :( -- Ondrej Zary

Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2

2018-02-09 Thread Ondrej Zary
l, I don't think we want to > kill it completely just yet. > > - Matthew I have a working Cyrix MII (was actively using it last year, now upgraded to a P3-based Celeron). Some AMD CPUs too - K6(maybe -2 or -3?), not sure about K5 and also a Rise mP6. But never got a WinChip. So the question is: what to test? BTW. Kernel was not able to identify mP6 CPU 6 years ago, patches were ignored. -- Ondrej Zary

Re: [BUG] x86 : i486 reporting to be vulnerable to Meltdown/Spectre_V1/Spectre_V2

2018-02-07 Thread Ondrej Zary
help and I'll test more of the museum pieces. > > - Matthew What about Pentium II and 3? I'm using 5 such machines (and also a Pentium MMX). I've tried a spectre test before and it wasn't reading anything useful. Don't know about meltdown. Is there a complete test program? (The web is so full of crap that even google can't find anything useful.) -- Ondrej Zary

Re: [alsa-devel] ALSA: nm256: Fine-tuning for three function implementations

2017-11-28 Thread Ondrej Zary
d for the source file “sound/pci/nm256/nm256.c”? Have you tested the driver? Probably not. Please don't "improve" working drivers unless you have the hardware to test your changes. Patches like this are known to cause regressions. If the hardware is rare (like the NM256), the regression can hit years later when someone with such HW upgrades distro (e.g. Debian stable). -- Ondrej Zary

Re: Blank console but X11 works on MCP79 - old regression since 3.8

2017-11-17 Thread Ondrej Zary
On Friday 17 November 2017 20:52:45 Ilia Mirkin wrote: > On Fri, Nov 17, 2017 at 2:37 PM, Ilia Mirkin wrote: > > On Fri, Nov 17, 2017 at 2:25 PM, Ondrej Zary wrote: > >> On Friday 17 November 2017 18:41:17 Ilia Mirkin wrote: > >>> On Fri, Nov 17, 2017 at 12:33 PM,

Re: Blank console but X11 works on MCP79 - old regression since 3.8

2017-11-17 Thread Ondrej Zary
On Friday 17 November 2017 18:41:17 Ilia Mirkin wrote: > On Fri, Nov 17, 2017 at 12:33 PM, Ondrej Zary > > wrote: > > @@ -483,8 +483,8 @@ > > nouveau :02:00.0: disp:0860: -> 0500 > > nouveau :02:00.0: disp:0864: > >

Re: Blank console but X11 works on MCP79 - old regression since 3.8

2017-11-17 Thread Ondrej Zary
mehow buggered. > > Another thing to try would be nouveau.atomic=1 > > On Fri, Nov 17, 2017 at 9:26 AM, Ondrej Zary > wrote: > > Hello, > > I've just been hit by this old bug which is still present in 4.14: > > https://bugs.freedesktop.org/show_bug.cgi?id=80675

Blank console but X11 works on MCP79 - old regression since 3.8

2017-11-17 Thread Ondrej Zary
27;s a big change so I'm not able to do more debugging. -- Ondrej Zary

Re: [PATCH] video: fbdev: remove dead igafb driver

2017-10-18 Thread Ondrej Zary
t; > It could be that I actually have this particular SPARC framebuffer in > > my hardware collection. > > Unless you have a 32-bit sparc laptop, you don't have a machine that > will use this driver. There are also some x86 PCI cards using this chip. -- Ondrej Zary

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-31 Thread Ondrej Zary
On Thursday 31 August 2017, Greg KH wrote: > On Tue, Aug 29, 2017 at 11:32:58PM +0200, Ondrej Zary wrote: > > On Tuesday 29 August 2017 01:42:08 David Miller wrote: > > > From: Greg Kroah-Hartman > > > Date: Sun, 27 Aug 2017 17:03:30 +0200 > > > > > &g

Re: [PATCH 0/4] irda: move it to drivers/staging so we can delete it

2017-08-29 Thread Ondrej Zary
f S=6 s=* pentium hint=0400 [ Computer ] (23) ^C 8 packets received by filter $ obexftp -i -l MMC Connecting..\done Receiving "MMC".../ ]> $ obexftp -i -c MMC -g Image004.jpg Connecting..\done Sending "MMC"...|done Receiving "Image004.jpg"...-done Disconnecting..\done -- Ondrej Zary

Re: [PATCH v7 0/6] g_NCR5380: PDMA fixes and cleanup

2017-07-04 Thread Ondrej Zary
(2): > g_NCR5380: Cleanup comments and whitespace > g_NCR5380: Use unambiguous terminology for PDMA send and receive > > Ondrej Zary (4): > g_NCR5380: Fix PDMA transfer size > g_NCR5380: End PDMA transfer correctly on target disconnection > g_NCR5380: Re-work PDMA loops &g

Re: [PATCH v6 0/6] g_NCR5380: PDMA fixes and cleanup

2017-07-02 Thread Ondrej Zary
On Sunday 02 July 2017 05:11:27 Finn Thain wrote: > On Sat, 1 Jul 2017, Ondrej Zary wrote: > > The write corruption is still present - "start" must be rolled back in > > both IRQ and timeout cases. > > Your original algorithm aborts the transfer for a timeout. Sa

Re: [PATCH v6 0/6] g_NCR5380: PDMA fixes and cleanup

2017-07-01 Thread Ondrej Zary
ll DTC436 workarounds to final patch. > > > Finn Thain (2): > g_NCR5380: Cleanup comments and whitespace > g_NCR5380: Use unambiguous terminology for PDMA send and receive > > Ondrej Zary (4): > g_NCR5380: Fix PDMA transfer size > g_NCR5380: End PDMA transfer corr

Re: [PATCH v5 0/6] g_NCR5380: PDMA fixes and cleanup

2017-06-30 Thread Ondrej Zary
On Friday 30 June 2017 09:12:37 Finn Thain wrote: > On Thu, 29 Jun 2017, Ondrej Zary wrote: > > The write corruption is still there. I'm afraid it can't be fixed > > without rolling "start" back (or inceasing residual) if an error > > occured, someth

Re: [PATCH v5 0/6] g_NCR5380: PDMA fixes and cleanup

2017-06-29 Thread Ondrej Zary
A receive is interrupted. > - Rework residual calculation. > - Add new patch to correct DMA terminology. > > > Finn Thain (2): > g_NCR5380: Cleanup comments and whitespace > g_NCR5380: Use unambiguous terminology for PDMA send and receive > > Ondrej Zary (4): >

Re: [PATCH v5 0/6] g_NCR5380: PDMA fixes and cleanup

2017-06-29 Thread Ondrej Zary
A receive is interrupted. > - Rework residual calculation. > - Add new patch to correct DMA terminology. > > > Finn Thain (2): > g_NCR5380: Cleanup comments and whitespace > g_NCR5380: Use unambiguous terminology for PDMA send and receive > > Ondrej Zary (4): >

Re: [PATCH v4 0/5] g_NCR5380: PDMA fixes and cleanup

2017-06-28 Thread Ondrej Zary
ter any short PDMA transfer. > - Don't fail the transfer if the 53c400 logic got a reset. > > > Finn Thain (1): > g_NCR5380: Cleanup comments and whitespace > > Ondrej Zary (4): > g_NCR5380: Fix PDMA transfer size > g_NCR5380: End PDMA transfer correctly

Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-27 Thread Ondrej Zary
On Tuesday 27 June 2017 03:49:16 Finn Thain wrote: > On Mon, 26 Jun 2017, Ondrej Zary wrote: > > No apparent change in behavior, the first write test resulted in: > > [ 842.830802] sd 2:0:1:0: [sdb] tag#0 53c80 registers not accessible, > > device will be reset [ 842.830

Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-27 Thread Ondrej Zary
On Tuesday 27 June 2017 14:42:29 Finn Thain wrote: > On Tue, 27 Jun 2017, Ondrej Zary wrote: > > BTW. I've probably found the DTC write corruption. Added the following > > check (13 is host buffer index register) - > > That register is not mentioned in my 53c400 datas

Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-26 Thread Ondrej Zary
On Monday 26 June 2017, Ondrej Zary wrote: > On Monday 26 June 2017 09:30:33 Finn Thain wrote: > > Ondrej, would you please test this new series? > > > > Changed since v1: > > - PDMA transfer residual is calculated earlier. > > - End of DMA flag check is now

Re: [PATCH v3 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-26 Thread Ondrej Zary
t of transfer loops when Gated IRQ gets asserted. > - Make udelay conditional on board type. > - Drop sg_tablesize patch due to performance regression. > > > Finn Thain (1): > g_NCR5380: Cleanup comments and whitespace > > Ondrej Zary (3): > g_NCR5380: Fix PDMA transfer

Re: [PATCH v2 0/5] g_NCR5380: PDMA fixes and cleanup

2017-06-26 Thread Ondrej Zary
On Monday 26 June 2017, Finn Thain wrote: > On Sun, 25 Jun 2017, Ondrej Zary wrote: > > It mostly works, but there are some problems: > > > > It's not reliable - we continue the data transfer after poll_politely2 > > returns zero but we don't know if it retu

[PATCH] sata_via: Enable optional hotplug on VT6420

2017-06-25 Thread Ondrej Zary
VT6420 seems to have the same hotplug capability as VT6421. However, enabling hotplug needs to expose SCR registers which can cause problems. It works for me but might break elsewhere. So add a module parameter vt6420_hotplug to enable this feature. Signed-off-by: Ondrej Zary --- drivers/ata

Re: [PATCH v2 0/5] g_NCR5380: PDMA fixes and cleanup

2017-06-25 Thread Ondrej Zary
NCR5380: Limit sg_tablesize to avoid PDMA read overruns on DTC436 > g_NCR5380: Cleanup comments and whitespace > > Ondrej Zary (3): > g_NCR5380: Fix PDMA transfer size > g_NCR5380: End PDMA transfer correctly on target disconnection > g_NCR5380: Re-work P

Re: [PATCH 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-23 Thread Ondrej Zary
on DTC and non-DTC chips. I get many of these messages with CD-ROM: [ 912.397076] generic_NCR5380_pread: No end dma signal (4096/4096) [ 913.141225] generic_NCR5380_pread: No end dma signal (4096/4096) Maybe just remove this error message as in my original patch? -- Ondrej Zary

Re: [PATCH 0/4] g_NCR5380: PDMA fixes and cleanup

2017-06-22 Thread Ondrej Zary
to be fixed. -- Ondrej Zary

[RFC PATCH] sata_via: Enable hotplug on VT6420

2017-03-31 Thread Ondrej Zary
, vt642x_interrupt, IRQF_SHARED, &svia_sht); else return ata_host_activate(host, pdev->irq, ata_bmdma_interrupt, -- Ondrej Zary

[PATCH] sata_via: Enable hotplug only on VT6421

2017-03-31 Thread Ondrej Zary
ess (required for detecting hotplug events) can cause problems on these chips. For now, just keep hotplug disabled on anything other than VT6421. Signed-off-by: Ondrej Zary --- drivers/ata/sata_via.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/d

Re: g_NCR5380 PDMA, was Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-02-19 Thread Ondrej Zary
On Sunday 19 February 2017 00:27:55 Finn Thain wrote: > On Sat, 18 Feb 2017, Ondrej Zary wrote: > > On Friday 17 February 2017 23:38:12 Finn Thain wrote: > > > On Thu, 16 Feb 2017, Ondrej Zary wrote: > > > > On Tuesday 31 January 2017 02:31:45 Finn Thain wrote: >

Re: g_NCR5380 PDMA, was Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-02-18 Thread Ondrej Zary
On Friday 17 February 2017 23:38:12 Finn Thain wrote: > On Thu, 16 Feb 2017, Ondrej Zary wrote: > > On Tuesday 31 January 2017 02:31:45 Finn Thain wrote: > > [...] > > > > > Are you trying to figure out which commands are going to disconnect > > > during a

Re: g_NCR5380 PDMA, was Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-02-16 Thread Ondrej Zary
g" stops after a while. I get gated 53C80 IRQ, BASR=0x10, MODE=0x0e, STATUS=0x7c. When I enable interrupts during PDMA (like the removed UNSAFE macro did), the problems go away. I see an IRQ after each pread call. (had to disable "no 53C80 gated irq after transfer" and "no end dma

Re: [PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A

2017-02-14 Thread Ondrej Zary
On Tuesday 14 February 2017 20:28:56 David Miller wrote: > From: Ondrej Zary > Date: Mon, 13 Feb 2017 23:45:47 +0100 > > > Even though the port autoselection is enabled by default on AM79C970A, > > BNC/AUI port does not work because the link is always reported to be >

[PATCH 1/2] pcnet32: factor out pcnet32_clr_suspend()

2017-02-13 Thread Ondrej Zary
Move the code to clear SUSPEND flag to a separate function to simplify code. Signed-off-by: Ondrej Zary --- drivers/net/ethernet/amd/pcnet32.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/net/ethernet/amd/pcnet32.c b/drivers/net/ethernet

[PATCH 2/2] pcnet32: fix BNC/AUI port on AM79C970A

2017-02-13 Thread Ondrej Zary
ected. When the port autoselection is enabled or AUI port is selected, report the link as always up. Move pcnet32_suspend() and pcnet32_clr_suspend() functions to avoid forward declarations. Signed-off-by: Ondrej Zary --- drivers/net/ethernet/amd/pcnet32.c | 177 +-

Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-01-30 Thread Ondrej Zary
On Sunday 29 January 2017 02:05:02 Finn Thain wrote: > On Sat, 28 Jan 2017, Ondrej Zary wrote: > > On Monday 16 January 2017 00:50:57 Finn Thain wrote: > > > This series removes some unused code and related comments, addresses > > > the warnings generated by 'make

Re: [PATCH 0/6] ncr5380: Miscellaneous minor patches

2017-01-28 Thread Ondrej Zary
? Tested on HP C2502 (53C400A chip), Canon FG2-5202 (53C400 chip), DTC-3181L (DTCT-436P chip) and MS-PNR (53C400A chip) ISA cards - everything works fine! Targets tested: QUANTUM LP240S GM240S01X IBM DORS-32160 IBM 0663L12 Thanks. Tested-by: Ondrej Zary -- Ondrej Zary

Re: [PATCH 0/4] g_NCR5380: Bug fix and some enhancements

2016-12-08 Thread Ondrej Zary
On Monday 05 December 2016 07:07:19 Finn Thain wrote: > This patch series is based on the one submitted recently by Ondrej Zary. > > This version has a different irq probing fix for HP C2502 boards and > a more comprehensive patch to change the default irq parameter. > > It needs

Re: BYD TouchPad driver (4.8.1) misdetects a Logitech mouse

2016-11-10 Thread Ondrej Zary
> > sees the Logitech RX250 as being a BYD TouchPad and thus alters the > > vendor and model names. > > > > I do not know if it is also desirable to add an entry for a Logitech > > model 115 in get_model_info in logips2pp.c > > (drivers/input/mouse/logips2pp.c). But if so, I would be willing to > > test any such new code. Even as an unknown Logitech model, it does > > work just fine. I am curious as to how the tilt feature buttons would > > be declared in the model info (would these be PS2PP_EXTRA_BTN, > > or PS2PP_NAV_BTN, etc.?) > > > > > > > > Cheers and thanks in advance, > > > > Mike Shell The BYD detection is broken. I've seen at least 3 different mice detected as BYD touchpad. -- Ondrej Zary

Re: [PATCH 4/6] g_NCR5380: Add IRQ auto-configuration for HP C2502

2016-11-03 Thread Ondrej Zary
On Thursday 03 November 2016, Finn Thain wrote: > On Wed, 2 Nov 2016, Ondrej Zary wrote: > > > Also, you've ignored the irq module parameters. From the user's point > > > of view, surely the least surprising thing is to attempt to configure > > > the

Re: [PATCH 2/6] g_NCR5380: Test the IRQ before accepting it

2016-11-02 Thread Ondrej Zary
On Wednesday 02 November 2016 08:45:26 Finn Thain wrote: > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > Trigger an IRQ first with a test IRQ handler to find out if it really > > works. Disable the IRQ if not. > > > > This prevents hang when incorrect IRQ was specified b

Re: [PATCH 4/6] g_NCR5380: Add IRQ auto-configuration for HP C2502

2016-11-02 Thread Ondrej Zary
On Wednesday 02 November 2016, Finn Thain wrote: > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > Find free and working IRQ automatically on HP C2502 cards. > > Also allow IRQ 9 to work (aliases to IRQ 2 on the card). > > > > Signed-off-by: Ondrej Zary > > --- >

Re: [PATCH 1/6] NCR5380: Use probe_irq_*() for IRQ probing

2016-11-02 Thread Ondrej Zary
On Wednesday 02 November 2016, Finn Thain wrote: > On Mon, 31 Oct 2016, Ondrej Zary wrote: > > Use standard probe_irq_on() and probe_irq_off() functions instead of own > > implementation. This prevents warning messages like this in the kernel > > log: genirq: Flags mismatch

[PATCH 6/6] g_NCR5380: Fix release region in error handling

2016-10-31 Thread Ondrej Zary
When a SW-configurable card is specified but not found, the driver releases wrong region, causing the following message in kernel log: Trying to free nonexistent resource <-000f> Fix it by assigning base earlier. Signed-off-by: Ondrej Zary --- drivers/scsi/g_N

[PATCH 0/6] (g_)NCR5380: Improve IRQ probing and some fixes

2016-10-31 Thread Ondrej Zary
Hello, this patch series improves IRQ probing and moves it from NCR5380 to g_NCR5380, adds IRQ auto-configuration for HP C2502 and enables all this by default. It also adds IRQ and base address checks to prevent hangs when wrong values are specified by user. There's also a small release region fix

[PATCH 1/6] NCR5380: Use probe_irq_*() for IRQ probing

2016-10-31 Thread Ondrej Zary
purposes (testing if the IRQ works) and move the code from NCR5380 to g_NCR5380. Also add missing IRQ reset before and after the probe. Signed-off-by: Ondrej Zary --- drivers/scsi/NCR5380.c | 77 +- drivers/scsi/NCR5380.h |1 - drivers/scsi

[PATCH 3/6] g_NCR5380: Check for chip presence before calling NCR5380_init()

2016-10-31 Thread Ondrej Zary
Write and read back MODE_REG to check if the chip is really there before doing more initialization. This prevents hang when incorrect I/O address was specified by user (in the most common case where no device is present there so all reads result in 0xff). Signed-off-by: Ondrej Zary --- drivers

[PATCH 2/6] g_NCR5380: Test the IRQ before accepting it

2016-10-31 Thread Ondrej Zary
Trigger an IRQ first with a test IRQ handler to find out if it really works. Disable the IRQ if not. This prevents hang when incorrect IRQ was specified by user. Signed-off-by: Ondrej Zary --- drivers/scsi/g_NCR5380.c | 44 +--- 1 file changed, 41

[PATCH 5/6] g_NCR5380: Autoprobe IRQ by default

2016-10-31 Thread Ondrej Zary
IRQ probing seems to work fine now. Default to autoprobe for IRQ instead of disabling it. Signed-off-by: Ondrej Zary --- drivers/scsi/g_NCR5380.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c index 27fc499..6a08d3e

[PATCH 4/6] g_NCR5380: Add IRQ auto-configuration for HP C2502

2016-10-31 Thread Ondrej Zary
Find free and working IRQ automatically on HP C2502 cards. Also allow IRQ 9 to work (aliases to IRQ 2 on the card). Signed-off-by: Ondrej Zary --- drivers/scsi/g_NCR5380.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/g_NCR5380

Re: [PATCH 2/3] g_NCR5380: Test the IRQ before accepting it

2016-10-31 Thread Ondrej Zary
On Monday 31 October 2016, Finn Thain wrote: > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > Trigger an IRQ first with a test IRQ handler to find out if it really > > works. Disable the IRQ if not. > > > > This prevents hang when incorrect IRQ was specified by user. &g

Re: [PATCH 1/3] NCR5380: Use probe_irq_*() for IRQ probing

2016-10-31 Thread Ondrej Zary
On Monday 31 October 2016, Finn Thain wrote: > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > Use standard probe_irq_on() and probe_irq_off() functions instead of own > > implementation. > > Thanks for doing this. > > > This prevents warning messages like this in the

Re: [PATCH 3/3] NCR5380: Check for chip presence in NCR5380_init()

2016-10-31 Thread Ondrej Zary
On Monday 31 October 2016, Finn Thain wrote: > On Sun, 30 Oct 2016, Ondrej Zary wrote: > > Read back MODE_REG after writing it in NCR5380_init() to check if the > > chip is really there. > > > > This prevents hang when incorrect I/O address was specified by user. > &g

[PATCH 3/3] NCR5380: Check for chip presence in NCR5380_init()

2016-10-30 Thread Ondrej Zary
Read back MODE_REG after writing it in NCR5380_init() to check if the chip is really there. This prevents hang when incorrect I/O address was specified by user. Signed-off-by: Ondrej Zary --- drivers/scsi/NCR5380.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/scsi

  1   2   3   4   5   6   7   >