iwlwifi: Microcode SW error

2021-04-19 Thread Gon Solo
Hi all! My internet was very slow and I saw the following in dmesg: [Apr19 10:50] iwlwifi :02:00.0: Queue 10 is active on fifo 1 and stuck for 1 ms. SW [40, 93] HW [40, 93] FH TRB=0x0c010a037 [ +0,001244] iwlwifi :02:00.0: Microcode SW error detected. Restarting 0x200. The re

[PATCH 2/2] Perf: Clean beauty directory.

2021-03-07 Thread Gon Solo
Clean up generated beauty directory. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Andreas Wendleder --- tools/perf/Makefile.perf | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 5345ac70cd83..293e297f719d 100644 --- a/tools/p

[PATCH 1/2] Perf: Clean generated directory, other archs.

2021-03-07 Thread Gon Solo
After a make clean there are generated directories left in the arch directories of perf. Clean them up. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Andreas Wendleder --- tools/perf/arch/arm64/Makefile | 5 +++-- tools/perf/arch/powerpc/Makefile | 5 +++-- tools/perf/arch/s390/Makefi

[PATCH 2/2] Perf: Clean beauty directory.

2021-03-03 Thread Gon Solo
--- tools/perf/Makefile.perf | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 5345ac70cd83..293e297f719d 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -1087,6 +1087,7 @@ clean:: $(LIBTRACEEVENT)-clean $(LIBAPI)-

[PATCH 1/2] Perf: Clean generated directory, other archs.

2021-03-03 Thread Gon Solo
--- tools/perf/arch/arm64/Makefile | 5 +++-- tools/perf/arch/powerpc/Makefile | 5 +++-- tools/perf/arch/s390/Makefile| 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/tools/perf/arch/arm64/Makefile b/tools/perf/arch/arm64/Makefile index fab3095fb5d0..426aecdd0b71 10

[PATCH] Perf: Clean generated directory.

2021-03-01 Thread Gon Solo
From: Andreas Wendleder Remove generated directory tools/perf/arch/x86/include/generated. Signed-off-by: Andreas Wendleder --- tools/perf/arch/x86/Makefile | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tools/perf/arch/x86/Makefile b/tools/perf/arch/x86/Makefil

Unused lines

2020-06-29 Thread Gon Solo
seems to build just fine. Cheers, g >From 6dbc3e4d129ce46f952c8365f6ca22b2e1aaa33b Mon Sep 17 00:00:00 2001 From: Gon Solo Date: Tue, 30 Jun 2020 07:47:12 +0200 Subject: [PATCH] Remove unused line. --- drivers/gpu/drm/amd/include/asic_reg/nbio/nbio_6_1_sh_mask.h | 1 - 1 file changed, 1

Re: [PATCH 4/4] Add support for Logilink VG0022A.

2019-10-10 Thread Gon Solo
Hi! > "When the [...] firmware that came with the device is replaced > by a new one, any I2C data received from the tuner will be > replaced by 0xff. > > Probably, the vendor firmware has some patch specifically > designed for this device. So, we can't replace by the generic > firmware. > > The

Re: [PATCH 1/4] media: si2168: use bits instead of bool for flags

2019-10-10 Thread Gon Solo
On Fri, Oct 04, 2019 at 10:15:22AM -0300, Mauro Carvalho Chehab wrote: > Using bool on struct is not recommended, as it wastes lots of > space. So, instead, let's use bits. Wouldn't "bool b:1;" even be better? I performed a little test: #include #include struct uints { unsigned int a0;

[PATCH 4/4] Add support for Logilink VG0022A.

2019-10-10 Thread Gon Solo
is to just keep the original firmware at the device." Signed-off-by: Gon Solo --- drivers/media/usb/dvb-usb-v2/af9035.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 51e607ea3add.

[PATCH 2/4] si2157: Add option for not downloading firmware.

2019-10-10 Thread Gon Solo
While at it, convert to kernel-doc format and use bits instead of bools. Signed-off-by: Gon Solo --- drivers/media/tuners/si2157.c | 6 ++ drivers/media/tuners/si2157.h | 33 +- drivers/media/tuners/si2157_priv.h | 5 +++-- 3 files changed, 28

[PATCH 1/4] si2168: Use bits and convert to kernel-doc format.

2019-10-10 Thread Gon Solo
Signed-off-by: Gon Solo --- drivers/media/dvb-frontends/si2168.h | 47 +-- drivers/media/dvb-frontends/si2168_priv.h | 10 ++--- 2 files changed, 31 insertions(+), 26 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.h b/drivers/media/dvb-frontends/si2168.h

[PATCH 3/4] af9035: Make speed computation clear.

2019-10-10 Thread Gon Solo
Signed-off-by: Gon Solo --- drivers/media/usb/dvb-usb-v2/af9035.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 3afd18733614..51e607ea3add 100644 --- a/drivers/media/usb

[PATCH 0/4] Add support for Logilink VG0022A.

2019-10-10 Thread Gon Solo
These patches add support for the Logilink VG0022A. Signed-off-by: Andreas Wendleder Gon Solo (4): si2168: Use bits and convert to kernel-doc format. si2157: Add option for not downloading firmware. af9035: Make speed computation clear. Add support for Logilink VG0022A. drivers/media

Re: [PATCH 3/4] media: af9035: add support for Logilink VG0022A

2019-10-10 Thread Gon Solo
Hi! This patch works for me. It disables firmware downloading for the si2157 instead of the si2168. Convert si2157 and si2168 to kernel-doc format as suggested by Mauro. Use bits instead of bool. Add a flag to si2157 for not loading the firmware. Make computation of speed register clear. Add ha

Re: [PATCH 3/4] media: af9035: add support for Logilink VG0022A

2019-10-10 Thread Gon Solo
Hi! I rebased Mauros patch on top of mine and this patch [3/4] is the first bad commit. I believe these lines are the culprit: + if (le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_DEXATEK && + le16_to_cpu(d->udev->descriptor.idProduct) == 0x0100) + si2168_confi

Re: [PATCH 3/4] media: af9035: add support for Logilink VG0022A

2019-10-09 Thread Gon Solo
> Unfortunately, after applying these four patches it doesn't work for me. Your patch disables firmware loading at dvb-frontends/si2168.c:449 while my original one disabled it at tuners/si2157.c:554: case SI_BOGUS: dev_info(&client->dev, "bogus chip version, trying with no

Re: [PATCH 3/4] media: af9035: add support for Logilink VG0022A

2019-10-09 Thread Gon Solo
> This it930x-based device has an issue with si2068. > > When the si2168 firmware that came with the device is replaced > by a new one, any I2C data received from the tuner will be > replaced by 0xff. > > Probably, the vendor firmware has some patch specifically > designed for this device. So, we

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gon Solo
> You could also try to disable the firmware upload at si2168 and see > if the si2157 reads will succeed. I disabled the upload and while vlc wasn't working anymore I got the following messages: [ 168.196656] si2157 2-0063: found a 'Silicon Labs Si2147-A30' [ 168.223009] si2157 2-0063: firmware

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gon Solo
> No, I mean with the first patch you sent to the ML, with the powerup > hack. Boot time: [4.653257] si2168 1-0067: Silicon Labs Si2168-B40 successfully identified [4.653259] si2168 1-0067: firmware version: B 4.0.2 [4.653279] usb 2-1: DVB: registering adapter 0 frontend 0 (Silicon La

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gon Solo
> With the original patch you proposed, what are the logs? With the following patch applied to media_tree master: diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index e87040d6eca7..4c1ab0b6876a 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers/media/tuners/si215

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gon Solo
> Maybe something like this would make it work? Nope. :( [ 47.371022] si2168 1-0067: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 48.632824] si2168 1-0067: firmware version: B 4.0.25 [ 48.671268] si2157 2-0063: unknown chip version Si21255-\xff\xff\xff g

[PATCH 3/3] [PATCH] af9035: Add Logilink VG0022A id.

2019-10-03 Thread Gon Solo
Original patch from Andreas Kemnade. Signed-off-by: Gon Solo --- drivers/media/usb/dvb-usb-v2/af9035.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 7828f8567da0..a02cafadfb49 100644 --- a/drivers/media

[PATCH 1/3] [PATCH] af9035: Better explain how i2c bus speed is computed.

2019-10-03 Thread Gon Solo
Original patch from Mauro Carvalho Chehab. Signed-off-by: Gon Solo --- drivers/media/usb/dvb-usb-v2/af9035.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 3afd18733614

[PATCH 0/3] Add support for Logilink VG0022A

2019-10-03 Thread Gon Solo
These three patches make the Logilink VG0022A work. Being cheap hardware a bogus chip version is returned but this is catched in the driver. Gon Solo (3): af9035: Better explain how i2c bus speed is computed. s2157: Handle bogus chip version. af9035: Add Logilink VG0022A id. drivers/media

[PATCH 2/3] [PATCH] s2157: Handle bogus chip version.

2019-10-03 Thread Gon Solo
On some hardware bogus chip version numbers are returned. Try to continue without firmware. Signed-off-by: Gon Solo --- drivers/media/tuners/si2157.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gon Solo
> well, you could try to increase the timeout - although 100 ms seems a lot > of time to me. I tried 5s, still no change. Would it be possible to include my patch, possibly with a warning like "bogus chip version, trying with no firmware"? g

Re: [PATCH] si2157: Add support for Logilink VG0022A.

2019-10-03 Thread Gon Solo
Hi! > Btw, could you please try the enclosed hack and post the results? [ 210.178948] si2168 1-0067: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 212.404011] si2168 1-0067: firmware version: B 4.0.25 [ 212.656467] si2157 2-0063: Needed to wait 100 ms to get chip version [

[PATCH 0/1] Testing timing patch for Logilink VG0022A

2019-10-03 Thread Gon Solo
interface: v0.10 Did I forget something or is it just not working? Anyway, thanks for your effort. Can we try something else? g Gon Solo (1): Test Mauros timing patch. drivers/media/tuners/si2157.c | 32 --- drivers/media/usb/dvb-usb-v2/af9035.c | 14 +

[PATCH 1/1] Test Mauros timing patch.

2019-10-03 Thread Gon Solo
Signed-off-by: Gon Solo --- drivers/media/tuners/si2157.c | 32 --- drivers/media/usb/dvb-usb-v2/af9035.c | 14 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index

[PATCH] si2157: Add support for Logilink VG0022A.

2019-10-02 Thread Gon Solo
--- drivers/media/tuners/si2157.c | 68 +-- drivers/media/tuners/si2157_priv.h| 1 + drivers/media/usb/dvb-usb-v2/af9035.c | 47 ++ 3 files changed, 90 insertions(+), 26 deletions(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tu

[PATCH] si2157: Add support for Logilink VG0022A.

2019-10-02 Thread Gon Solo
Dear Mauro! Thanks for your reply, I tried to address most of your concerns, so please bear with me (especially this is my first email with git send-email). :) > First of all, don't attach a patch. Instead, just send it with a decent > emailer (with won't mangle whitespaces) or use git send-email