Re: [PATCH] ASoC: soc-core: fix DMI handling

2021-03-11 Thread Jean Delvare
, > const char *flavour) > if (card->long_name) > return 0; /* long name already set by driver or from DMI */ > > - if (!is_acpi_device_node(card->dev->fwnode)) > + if (!dmi_available) > return 0; > > /* make up dmi long name as: vendor-product-version-board */ Fine with me. Acked-by: Jean Delvare -- Jean Delvare SUSE L3 Support

Re: [PATCH v1 1/7] PCI: Introduce pci_bus_*() printing macros when device is not available

2021-03-10 Thread Jean Delvare
ed-off-by: Andy Shevchenko > --- > drivers/pci/probe.c | 12 +++- > include/linux/pci.h | 9 + > 2 files changed, 12 insertions(+), 9 deletions(-) > (...) Nice. Reviewed-by: Jean Delvare (If you introduced a _debug flavor of that, it could probably be used in dr

Re: [PATCH v1 7/7] i2c: i801: convert to use common P2SB accessor

2021-03-10 Thread Jean Delvare
CI_DEVFN(31, 1)), > + X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE,PCI_DEVFN(31, 1)), > + X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE_L, PCI_DEVFN(31, 1)), > + X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE, PCI_DEVFN(31, 1)), > + X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_L, PCI_DEVFN(31, 1)), > {} > }; > Any reason why this is added in this patch instead of [3/7] (PCI: New Primary to Sideband (P2SB) bridge support library)? -- Jean Delvare SUSE L3 Support

Re: [PATCH] i2c: sis630: Fix typo issue

2021-03-10 Thread Jean Delvare
the SIS630. DANGEROUS!"); > > -/* SMBus base adress */ > +/* SMBus base address */ > static unsigned short smbus_base; > > /* supported chips */ Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support

Re: [PATCH] i2c: sis630: fix spellint typo

2021-03-01 Thread Jean Delvare
enable the SIS630. DANGEROUS!"); > > -/* SMBus base adress */ > +/* SMBus base address */ > static unsigned short smbus_base; > > /* supported chips */ I pointed out 4 issues in your original patch, you fixed only one and resubmitted with 3 issues remaining. I give up. Pa

Re: [PATCH] i2c/busses: fix spellint typo

2021-02-27 Thread Jean Delvare
+97,7 @@ > module_param(force, bool, 0); > MODULE_PARM_DESC(force, "Forcibly enable the SIS630. DANGEROUS!"); > > -/* SMBus base adress */ > +/* SMBus base address */ > static unsigned short smbus_base; > > /* supported chips */ Other than that, the change looks OK, thanks. -- Jean Delvare SUSE L3 Support

Re: [PATCH] i2c: remove h from printk format specifier

2021-01-06 Thread Jean Delvare
for printk. > > > > Signed-off-by: Tom Rix > > Adding Jean to CC. Jean, I'd think %02x would be better, what do you > think? Agreed, 0x%02x would be better. If this is done then you can add: Reviewed-by: Jean Delvare > > --- > > drivers/i2c/i2c-sm

Re: False positive from checkscript: git git://...

2020-10-29 Thread Jean Delvare
On Thu, 29 Oct 2020 07:55:25 -0700, Joe Perches wrote: > On Thu, 2020-10-29 at 14:32 +0100, Jean Delvare wrote: > > WARNING: Possible repeated word: 'git' > > #20: FILE: MAINTAINERS:5289: > > +T: git git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.

False positive from checkscript: git git://...

2020-10-29 Thread Jean Delvare
way to list a git tree in that file. Could you please add an exception for that case? Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH] firmware/dmi: Include product_sku info to modalias

2020-10-28 Thread Jean Delvare
tches.rst Specifically, when submitting a new version of a patch, please: * Replace [PATCH] with [PATCH v2] in the subject. * Do not reply to the previous version of the patch, instead start a new thread. * Ideally, include a list of changes from previous version, between the "---" marker and the diffstat. Thanks, -- Jean Delvare SUSE L3 Support

[PATCH] MAINTAINERS: The DMI/SMBIOS tree has moved

2020-10-27 Thread Jean Delvare
I switched from quilt to git as requested by Stephen Rothwell. Update the link to the new place. Signed-off-by: Jean Delvare Cc: Stephen Rothwell --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-5.10-rc1.orig/MAINTAINERS 2020-10-25 23:14:11.0

Re: [PATCH] firmware/dmi: Include product_sku info to modalias

2020-10-27 Thread Jean Delvare
h would make the patch more readable too. So please go with either "sku" (my preference) or "psk". Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH] firmware/dmi: Include product_sku info to modalias

2020-10-22 Thread Jean Delvare
better utilization. Do you have an actual use case for this already, or is it a theoretical concern? -- Jean Delvare SUSE L3 Support

[GIT PULL] dmi update for v5.10

2020-10-21 Thread Jean Delvare
HTTP links with HTTPS ones: DMI/SMBIOS SUPPORT Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH] i2c: i801: Register lis3lv02d I2C device on Dell Latitude 5480

2020-08-31 Thread Jean Delvare
gt; * Additional individual entries were added after verification. > > */ > > + { "Latitude 5480", 0x29 }, > > { "Vostro V131",0x1d }, > > }; > > No actual code change and not something I can test, so pretty much any kernel develop

Re: [PATCH v2 2/2] i2c: eg20t: use generic power management

2020-08-25 Thread Jean Delvare
roject/linux-i2c/patch/a2fc5a6d-a3bf-eaf0-bb75-1521be346...@googlemail.com/ should fix it. I was supposed to review it but did not, shame on me. I'll do it today. -- Jean Delvare SUSE L3 Support

Re: VAIO EEPROM support in at24

2020-08-07 Thread Jean Delvare
On Wed, 5 Aug 2020 16:36:55 +0200, Jean Delvare wrote: > 1* Do we actually need to use a struct resource? With the current >requirements, that looks overkill to me. We really only need the >start and end offsets of the masked area (or start and length). Or >do you plan to

Re: VAIO EEPROM support in at24

2020-08-06 Thread Jean Delvare
On Wed, 5 Aug 2020 20:14:28 +0200, Bartosz Golaszewski wrote: > On Wed, Aug 5, 2020 at 4:36 PM Jean Delvare wrote: > > I finally found the time to give it a try. Here's what my (tested) > > prototype looks like: > > Hi Jean, > > this looks good at first glance. >

Re: VAIO EEPROM support in at24

2020-08-05 Thread Jean Delvare
Hi Bartosz, On Tue, 17 Mar 2020 15:32:56 +0100, Bartosz Golaszewski wrote: > wt., 17 mar 2020 o 15:14 Jean Delvare napisał(a): > > Before I start implementing the idea above, I would like to know if > > anyone objects to it, or has a better idea? > > Sounds good to me

Re: VAIO EEPROM support in at24

2020-08-03 Thread Jean Delvare
everybody agrees that's the way to go. I'm not deeply familiar with the at24 driver so I'm not sure how to do it, but hopefully it will get clearer as I progress. -- Jean Delvare SUSE L3 Support

Re: [PATCH for v5.9] i2c: Replace HTTP links with HTTPS ones

2020-07-21 Thread Jean Delvare
I understand this is beyond the scope of your current project. Do you want me to take care of that? -- Jean Delvare SUSE L3 Support

Re: [PATCH][next] i2c: busses: Use fallthrough pseudo-keyword

2020-07-20 Thread Jean Delvare
s32 vt596_access(struct i2c_adapter *adap, u16 > addr, > goto exit_unsupported; > if (read_write == I2C_SMBUS_READ) > outb_p(data->block[0], SMBHSTDAT0); > - /* Fall through */ > + fallthrough; > case I2C

Re: [RFC PATCH 15/35] i2c/busses: Tidy Success/Failure checks

2020-07-17 Thread Jean Delvare
0) > + if (pci_write_config_byte(SIS5595_dev, SIS5595_ENABLE_REG, val > | 0x80)) > goto error; > - if (pci_read_config_byte(SIS5595_dev, SIS5595_ENABLE_REG, ) > - != 0) > + if (pci_read_config_byte(SIS5595_dev, SIS5595_ENABLE_R

Re: [RFC PATCH 14/35] i2c/busses: Change PCIBIOS_SUCCESSFUL to 0

2020-07-17 Thread Jean Delvare
error; > if ((val & 0x80) == 0) { > dev_info(_dev->dev, "enabling ACPI\n"); > if (pci_write_config_byte(SIS5595_dev, SIS5595_ENABLE_REG, val > | 0x80) > - != PCIBIOS_SUCCESSFUL) > + != 0) >

Re: linux-next: failing to fetch the dmi tree

2020-07-16 Thread Jean Delvare
Hi Stephen, On Wed, 15 Jul 2020 11:37:43 +0200, Jean Delvare wrote: > On Mon, 13 Jul 2020 09:11:02 +1000, Stephen Rothwell wrote: > > Jean, I don't suppose you would like to produce a git tree for me to > > fetch instead, as yours is the last quilt series I fetch (apart from >

Re: linux-next: failing to fetch the dmi tree

2020-07-15 Thread Jean Delvare
yours is the last quilt series I fetch (apart from > Andrew's which is special). Actually, feel free to suppose. While a quilt tree fits my current workflow better, I don't want to be the guy who makes your life more difficult. Let me give it a try. -- Jean Delvare SUSE L3 Support

Re: [PATCH] Replace HTTP links with HTTPS ones: DMI/SMBIOS SUPPORT

2020-07-09 Thread Jean Delvare
> Replace HTTP with HTTPS. > > Signed-off-by: Alexander A. Klimov > --- > (...) > If you apply the patch, please let me know. > > > drivers/firmware/dmi_scan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > (...) Applied, thanks. -- Jean Delvare SUSE L3 Support

[PATCH 2/2] soc: ixp4xx: Really select helper drivers automatically

2020-07-03 Thread Jean Delvare
Kconfig claims that the ixp4xx-qmgr and ixp4xx-npe helper drivers are selected automatically as needed. However this is not what the Kconfig entries are doing. Convert depends to select to match the help texts. Signed-off-by: Jean Delvare Cc: Krzysztof Halasa --- drivers/crypto/Kconfig

[PATCH 1/2] soc: ixp4xx: List the whole directory in MAINTAINERS

2020-07-03 Thread Jean Delvare
-by: Jean Delvare Cc: Krzysztof Halasa --- MAINTAINERS |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- linux-5.7.orig/MAINTAINERS 2020-06-23 13:03:34.728650310 +0200 +++ linux-5.7/MAINTAINERS 2020-06-23 13:04:14.045055597 +0200 @@ -8654,10 +8654,8 @@ M: Krzysztof Halasa

[GIT PULL] dmi update for v5.8

2020-06-06 Thread Jean Delvare
| 2 ++ scripts/mod/file2alias.c| 2 ++ 4 files changed, 40 insertions(+) --- Erwan Velu (1): firmware/dmi: Report DMI Bios & EC firmware release Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH] firmware/dmi: Report DMI Bios & EC firmware release

2020-05-12 Thread Jean Delvare
te, so it was not accepted. Your patch is still in my pending queue: http://jdelvare.nerim.net/devel/linux/jdelvare-dmi/ and therefore included in every linux-next snapshot, but it won't be merged in v5.7, you'll have to wait for v5.8. This is entirely my fault and I am sorry about that. -- Jean Delvare S

Re: [PATCH 3/3] firmware/dmi: Report DMI Embedded Firmware release

2019-10-21 Thread Jean Delvare
l on your patch before you resubmit, and address all the problems reported. Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH 2/3] firmware/dmi: Report DMI Bios release

2019-10-21 Thread Jean Delvare
nt from each other anyway. I'd rather have one field with the values combined: [root@t1700 ~]# cat /sys/devices/virtual/dmi/id/bios_release 65.27 [root@t1700 ~]# This would also be in line with how it was implemented in dmidecode. Is there any reason to NOT go that route? -- Jean Delvare SUSE L3 Support

Re: [PATCH 1/3] firmware/dmi_scan: Add dmi_save_release to save releases fields

2019-10-21 Thread Jean Delvare
eturn; > + > + sprintf(s, "%u", d[0]); > + > + dmi_ident[slot] = s; > +} > + > static void __init dmi_save_uuid(const struct dmi_header *dm, int slot, > int index) > { -- Jean Delvare SUSE L3 Support

[GIT PULL] dmi fix for v5.4

2019-10-15 Thread Jean Delvare
Hi Linus, Please pull dmi subsystem fixes for Linux v5.4 from: git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git dmi-for-linus drivers/firmware/dmi_scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- Jean Delvare (1): firmware: dmi: Fix

Re: [PATCH 4/4] i2c: i801: Instantiate SPD EEPROMs automatically

2019-10-14 Thread Jean Delvare
rop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see > https://stackoverflow.com/a/37406982] > > url: > https://github.com/0day-ci/linux/commits/Jean-Delvare/Instantiate-SPD-EEPROMs-at-boo

Re: [PATCH 3/4] i2c: smbus: Add a way to instantiate SPD EEPROMs automatically

2019-10-14 Thread Jean Delvare
rop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see > https://stackoverflow.com/a/37406982] > > url: > https://github.com/0day-ci/linux/commits/Jean-Delvare/Instantiate-SPD-EEPROMs-

[PATCH 4/4] i2c: i801: Instantiate SPD EEPROMs automatically

2019-10-14 Thread Jean Delvare
Call the function to instantiate SPD EEPROMs automatically on the main SMBus controller. Multiplexed SMBus systems are excluded for now as they are more complex to handle. Signed-off-by: Jean Delvare --- drivers/i2c/busses/i2c-i801.c |4 1 file changed, 4 insertions(+) --- linux-5.3

[PATCH 3/4] i2c: smbus: Add a way to instantiate SPD EEPROMs automatically

2019-10-14 Thread Jean Delvare
In simple cases we can instantiate SPD EEPROMs on the SMBus automatically. Start with just DDR2, DDR3 and DDR4 on x86 for now, and only for systems with no more than 4 memory slots. These limitations may be lifted later. Signed-off-by: Jean Delvare --- drivers/i2c/i2c-smbus.c | 104

[PATCH 2/4] firmware: dmi: Add dmi_memdev_handle

2019-10-14 Thread Jean Delvare
Add a utility function dmi_memdev_handle() which returns the DMI handle associated with a given memory slot. This will allow kernel drivers to iterate over the memory slots. Signed-off-by: Jean Delvare --- drivers/firmware/dmi_scan.c | 16 include/linux/dmi.h |2

[PATCH 1/4] firmware: dmi: Remember the memory type

2019-10-14 Thread Jean Delvare
Store the memory type while walking the memory slots, and provide a way to retrieve it later. Signed-off-by: Jean Delvare --- drivers/firmware/dmi_scan.c | 25 - include/linux/dmi.h |2 ++ 2 files changed, 26 insertions(+), 1 deletion(-) --- linux-5.3.orig

[PATCH 0/4] Instantiate SPD EEPROMs at boot on x86

2019-10-14 Thread Jean Delvare
: Instantiate SPD EEPROMs automatically -- Jean Delvare SUSE L3 Support

[PATCH] firmware: dmi: Fix unlikely out-of-bounds read in save_mem_devices

2019-10-04 Thread Jean Delvare
Before reading the Extended Size field, we should ensure it fits in the DMI record. There is already a record length check but it does not cover that field. It would take a seriously corrupted DMI table to hit that bug, so no need to worry, but we should still fix it. Signed-off-by: Jean Delvare

[PATCH] eeprom: Warn that the driver is deprecated

2019-10-02 Thread Jean Delvare
Deprecating the driver in Kconfig is one thing, but we also need to let the users themselves know. Log a warning each time a device is bound to the deprecated eeprom driver. Signed-off-by: Jean Delvare Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/eeprom/eeprom.c |4 1

Re: /dev/mem and secure boot

2019-09-09 Thread Jean Delvare
Hi Greg, On Fri, 6 Sep 2019 14:15:10 +0200, Greg Kroah-Hartman wrote: > On Fri, Sep 06, 2019 at 01:02:21PM +0200, Jean Delvare wrote: > > I've been bitten recently by mcelog not working on machines started in > > secure boot mode. mcelog tries to read DMI information from /dev/me

Re: /dev/mem and secure boot

2019-09-06 Thread Jean Delvare
D'oh, I hit reply while still editing... Sorry for the noise, a better answer will come later when ready. -- Jean Delvare SUSE L3 Support

Re: /dev/mem and secure boot

2019-09-06 Thread Jean Delvare
On Fri, 6 Sep 2019 14:15:10 +0200, Greg Kroah-Hartman wrote: > On Fri, Sep 06, 2019 at 01:02:21PM +0200, Jean Delvare wrote: > > I've been bitten recently by mcelog not working on machines started in > > secure boot mode. mcelog tries to read DMI information from /dev/mem > &

Re: [PATCH] eeprom: Deprecate the legacy eeprom driver

2019-09-06 Thread Jean Delvare
Hi Greg, On Wed, 4 Sep 2019 09:57:29 +0200, Greg Kroah-Hartman wrote: > On Mon, Sep 02, 2019 at 10:48:38AM +0200, Jean Delvare wrote: > > Time has come to get rid of the old eeprom driver. The at24 driver > > should be used instead. So mark the eeprom driver as deprecated and >

/dev/mem and secure boot

2019-09-06 Thread Jean Delvare
creating these device nodes at all in the first place? Can't we detect that we are in secure boot mode and skip that step, and reap the rewards (faster boot, lower memory footprint and less confusion)? Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-09-05 Thread Jean Delvare
write_config_byte(dev, SMBHSTCFG, priv->original_hstcfg); @@ -1916,7 +1977,7 @@ static void i801_shutdown(struct pci_dev struct i801_priv *priv = pci_get_drvdata(dev); /* Restore config registers to avoid hard hang on some systems */ - i801_disable_host_notify(priv); + i801_restore_slvcmd(priv); pci_write_config_byte(dev, SMBHSTCFG, priv->original_hstcfg); } -- Jean Delvare SUSE L3 Support

[PATCH] eeprom: Deprecate the legacy eeprom driver

2019-09-02 Thread Jean Delvare
Time has come to get rid of the old eeprom driver. The at24 driver should be used instead. So mark the eeprom driver as deprecated and give users some time to migrate. Then we can remove the legacy eeprom driver completely. Signed-off-by: Jean Delvare Cc: Arnd Bergmann Cc: Greg Kroah-Hartman

Re: [PATCH] i801_smbus: clear SMBALERT status bit and disable SMBALERT interrupt

2019-08-28 Thread Jean Delvare
eady there as we added support in a few I2C bus drivers already. So maybe instead of silencing the interrupts, we could add proper SMBus Alert support to the i2c-i801 driver? Did you figure out which device is raising the SMBus Alert and why? -- Jean Delvare SUSE L3 Support

Re: [PATCH v5 0/3] Enable ACPI-defined peripherals on i2c-piix4 SMBus

2019-08-09 Thread Jean Delvare
Hi Enrico, On Thu, 8 Aug 2019 11:17:53 +0200, Enrico Weigelt, metux IT consult wrote: > On 02.08.19 14:51, Jean Delvare wrote: > > These patches fix a couple of issues with the i2c-piix4 driver on > > AMD Family 16h Model 30h SoCs and add ACPI-based enumeration to the >

[PATCH v5 2/3] i2c: piix4: Fix probing of reserved ports on AMD Family 16h Model 30h

2019-08-02 Thread Jean Delvare
-3Fh Based on earlier work by Andrew Cooks. Reported-by: Andrew Cooks Signed-off-by: Jean Delvare --- Changes since v4: * Fix subject line * Drop local variable port_count, use piix4_adapter_count everywhere to represent the maximum number of main SMBus ports * Exclude early Hudson2

[PATCH v5 3/3] i2c: piix4: Add ACPI support

2019-08-02 Thread Jean Delvare
ve to pass an extra parameter to piix4_add_adapter(). [1] 52740 BIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h Models 30h-3Fh Processors Based on earlier work by Andrew Cooks. Reported-by: Andrew Cooks Signed-off-by: Jean Delvare --- Changes since v4: * Fix code alignment (reported

[PATCH v5 1/3] i2c: piix4: Fix port selection for AMD Family 16h Model 30h

2019-08-02 Thread Jean Delvare
ly 15h Model 10h-1Fh doesn't mention any 49125 - Family 15h Model 30h-3Fh doesn't mention any 48751 - Family 16h Model 00h-0Fh uses the previously supported index register SB800_PIIX4_PORT_IDX_ALT at 0x2e Signed-off-by: Andrew Cooks Signed-off-by: Jean Delvare Cc: sta...@vger.kernel.org

[PATCH v5 0/3] Enable ACPI-defined peripherals on i2c-piix4 SMBus

2019-08-02 Thread Jean Delvare
determining port selection register v2: count the adapters, instead of misusing port numbers -- Jean Delvare SUSE L3 Support

NETIF_F_LLTX breaks iwlwifi

2019-07-30 Thread Jean Delvare
but was just a performance optimization. I am available to do any amount of tests or debugging, given the guidance. Thanks, -- Jean Delvare SUSE L3 Support

[PATCH v2 2/2] nvmem: Use the same permissions for eeprom as for nvmem

2019-07-28 Thread Jean Delvare
The compatibility "eeprom" attribute is currently root-only no matter what the configuration says. The "nvmem" attribute does respect the setting of the root_only configuration bit, so do the same for "eeprom". Signed-off-by: Jean Delvare Fixes: b6c217ab9be6 ("

[PATCH v2 1/2] eeprom: at24: make spd world-readable again

2019-07-28 Thread Jean Delvare
The integration of the at24 driver into the nvmem framework broke the world-readability of spd EEPROMs. Fix it. Signed-off-by: Jean Delvare Fixes: 57d155506dd5 ("eeprom: at24: extend driver to plug into the NVMEM framework") Cc: Andrew Lunn Cc: Srinivas Kandagatla Cc: Greg Kroah-H

Re: [RESEND][PATCH v4 3/3] i2c: piix4: add ACPI support

2019-07-24 Thread Jean Delvare
that ACPI developers will use the AMD documentation ordering, so we have to pass an extra parameter to piix4_add_adapter(). [1] 52740 BIOS and Kernel Developer's Guide (BKDG) for AMD Family 16h Models 30h-3Fh Processors Signed-off-by: Jean Delvare --- drivers/i2c/busses/i2c-piix

Re: [RESEND][PATCH v4 3/3] i2c: piix4: add ACPI support

2019-07-24 Thread Jean Delvare
if nothing else. This probably means passing one more parameter to piix4_add_adapter() and/or some more code to figure out the bus number to pass to acpi_preset_companion(), but I don't think we can avoid that, so let's just do it. > + } > + > snprintf(adap->name, sizeof(adap->name), > "SMBus PIIX4 adapter%s at %04x", name, smba); > -- Jean Delvare SUSE L3 Support

Re: [RESEND][PATCH v4 2/3] i2c: piix4: fix probing of reserved ports on AMD

2019-07-24 Thread Jean Delvare
e: if (PIIX4_dev->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS || (PIIX4_dev->device == PCI_DEVICE_ID_AMD_HUDSON2_SMBUS && PIIX4_dev->revision >= 0x1F)) { piix4_adapter_count = HUDSON2_MAIN_PORTS; } else { (...) i.e. the same as in previous patch. By the way, I don't own compatible hardware. I will see if I can gain access to a SUSE Labs machine for testing purposes, but it would be a lot easier if someone with the hardware could test the patch series once it is rebased. Volunteers? Thanks, -- Jean Delvare SUSE L3 Support

Re: [RESEND][PATCH v4 1/3] i2c: piix4: Fix port selection for AMD Family 16h Model 30h

2019-07-24 Thread Jean Delvare
On Wed, 24 Jul 2019 10:37:48 +0200, Jean Delvare wrote: > Hi Andrew, > > Sorry for the delay... What can I say :( Unfortunately by now Andrew is gone. So I will be the one rebasing and resubmitting this series. -- Jean Delvare SUSE L3 Support

Re: [RESEND][PATCH v4 1/3] i2c: piix4: Fix port selection for AMD Family 16h Model 30h

2019-07-24 Thread Jean Delvare
++--- > 1 file changed, 5 insertions(+), 7 deletions(-) > (...) Looks good to me. Unfortunately the patch no longer applies (my fault obviously), it needs to be rebased on top of commit 24beb83ad289c68bce7c01351cb90465bbb1940a ("i2c-piix4: Add Hygon Dhyana SMBus support"). I als

Re: [PATCH] i2c: busses: Use dev_get_drvdata where possible

2019-07-23 Thread Jean Delvare
01.c | 3 +-- > 2 files changed, 3 insertions(+), 6 deletions(-) > (...) Looks good to me, thanks. Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support

[PATCH 3/3] soc: ixp4xx: Hide auto-selected drivers

2019-07-12 Thread Jean Delvare
config IXP4XX_NPE - tristate "IXP4xx Network Processor Engine support" + tristate select FW_LOADER help This driver supports IXP4xx built-in network coprocessors and is automatically selected by Ethernet and HSS drivers. endmenu +endif -- Jean Delvare SUSE L3 Support

[PATCH 2/3] soc: ixp4xx: Really select helper drivers automatically

2019-07-12 Thread Jean Delvare
Kconfig claims that the ixp4xx-qmgr and ixp4xx-npe helper drivers are selected automatically as needed. However this is not what the Kconfig entries are doing. Convert depends to select to match the help texts. Signed-off-by: Jean Delvare Cc: Krzysztof Halasa --- Sorry about the weird patch

[PATCH 1/2] soc: ixp4xx: List the whole directory in MAINTAINERS

2019-07-12 Thread Jean Delvare
-by: Jean Delvare Cc: Krzysztof Halasa --- MAINTAINERS |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) --- linux-5.2.orig/MAINTAINERS 2019-07-12 15:33:28.106852821 +0200 +++ linux-5.2/MAINTAINERS 2019-07-12 15:35:54.309067537 +0200 @@ -8023,10 +8023,8 @@ F: Documentation

[PATCH] staging: kpc2000: drop useless softdep statement

2019-07-01 Thread Jean Delvare
The i2c-dev module is for access to I2C buses from user-space. Kernel drivers do not care about its presence. Signed-off-by: Jean Delvare Cc: Matt Sickler Cc: Greg Kroah-Hartman --- drivers/staging/kpc2000/kpc_i2c/i2c_driver.c |1 - 1 file changed, 1 deletion(-) --- linux-5.2-rc7.orig

Re: [PATCH v5] i2c: i801: Register optional lis3lv02d I2C device on Dell machines

2019-06-07 Thread Jean Delvare
gt; > Signed-off-by: Pali Rohár > > --- > Changes since v4: > * Remove usage of redundant acpi_bus_get_status_handle() > * Update comment about acpi_get_devices() > (...) Looks all good now. Reviewed-by: Jean Delvare Thanks! -- Jean Delvare SUSE L3 Support

Re: [PATCH v4] i2c: i801: Register optional lis3lv02d I2C device on Dell machines

2019-06-06 Thread Jean Delvare
On Thu, 6 Jun 2019 17:48:00 +0200, Pali Rohár wrote: > On Thursday 06 June 2019 16:53:09 Jean Delvare wrote: > > This is testing that *either* bit is set. Is it what you intend to > > achieve, or would you rather want to ensure that *all* these bits are > > set? >

Re: [PATCH v4] i2c: i801: Register optional lis3lv02d I2C device on Dell machines

2019-06-06 Thread Jean Delvare
e; > + > + /* > + * Check that ACPI device SMO88xx exists and is enabled. That ACPI > + * device represent our ST microelectronics lis3lv02d accelerometer but > + * unfortunately without any other information (like I2C address). > + */ > + found = false; > + acpi_get_devices(NULL, check_acpi_smo88xx_device, NULL, > + (void **)); Alignment is incorrect now - but don't resend just for this. > + > + return found; > +} > (...) Everything else looks good to me now. Has the latest version of your patch been tested on real hardware? -- Jean Delvare SUSE L3 Support

Re: [PATCH v3] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2019-06-04 Thread Jean Delvare
t; +{ > + struct i2c_board_info info; > + const char *dmi_product_name; > + int i; > + > + dmi_product_name = dmi_get_system_info(DMI_PRODUCT_NAME); > + for (i = 0; i < ARRAY_SIZE(dell_lis3lv02d_devices); ++i) { > + if (strcmp(dmi_product_name,

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2019-05-28 Thread Jean Delvare
On Tue, 28 May 2019 11:54:02 +0200, Pali Rohár wrote: > On Tuesday 28 May 2019 11:50:15 Jean Delvare wrote: > > OK, thanks for the explanation. But assuming that we now instantiate > > the lis2lv02d device from i2c-i801 for exactly all the same machines, > > can't we just

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2019-05-28 Thread Jean Delvare
nes, can't we just *enable* the freefall misc device feature of lis2lv02d and kill the dell-smo8800 driver completely? Seems more simple to maintain going forward. -- Jean Delvare SUSE L3 Support

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2019-05-28 Thread Jean Delvare
On Mon, 26 Feb 2018 21:32:55 +0100, Wolfram Sang wrote: > > I'm not maintainer of i2c-i801.ko, Jean Delvare & Wolfram Sang are. > > Therefore instructing future contributors would be up to them. > > This is really Jean's realm. Sorry for the delay. As a general

Re: [PATCH 3/3] i2c: i801: avoid panic if ioreamp fails

2019-05-10 Thread Jean Delvare
On Fri, 10 May 2019 17:35:46 +0800, Kefeng Wang wrote: > On 2019/5/10 16:09, Jean Delvare wrote: > > We don't need this anyway. The comment says it can't fail, so why > > bother checking for a condition which will never happen? > > The ioremap could fails due to no memory,

Re: [PATCH 3/3] i2c: i801: avoid panic if ioreamp fails

2019-05-10 Thread Jean Delvare
Hi Kefeng, On Fri, 10 May 2019 11:03:20 +0800, Kefeng Wang wrote: > If ioremap fails, NULL pointer dereference will happen and > leading to a kernel panic when access the virtual address > in check_signature(). > > Fix it by check the return value of ioremap. > > Cc: Jean D

Re: [PATCH] i2c: Allow selecting BCM2835 I2C controllers on ARCH_BRCMSTB

2019-05-10 Thread Jean Delvare
config > @@ -435,7 +435,7 @@ config I2C_AXXIA > > config I2C_BCM2835 > tristate "Broadcom BCM2835 I2C controller" > - depends on ARCH_BCM2835 > + depends on ARCH_BCM2835 || ARCH_BRCMSTB > help > If you say yes to this option, support will b

Re: [PATCH 2/2] eeprom: ee1004: Deal with nack on page selection

2019-05-06 Thread Jean Delvare
On Mon, 6 May 2019 17:03:20 +0300, Jarkko Nikula wrote: > On 5/6/19 4:16 PM, Jean Delvare wrote: > > Some EE1004 implementations will not properly ack page selection > > commands. They still set the page correctly, so there is no actual > > error. Deal with this case g

[PATCH 2/2] eeprom: ee1004: Deal with nack on page selection

2019-05-06 Thread Jean Delvare
-by: Jean Delvare Tested-by: Jarkko Nikula Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/eeprom/ee1004.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) --- linux-5.0.orig/drivers/misc/eeprom/ee1004.c 2019-05-06 11:57:14.333572368 +0200 +++ linux-5.0/drivers/misc

[PATCH 1/2] eeprom: ee1004: Move selected page detection to a separate function

2019-05-06 Thread Jean Delvare
No functional change, this is in preparation for future needs. Signed-off-by: Jean Delvare Tested-by: Jarkko Nikula Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/eeprom/ee1004.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) --- linux

Re: [RFC PATCH v2] i2c-piix4: Add Hygon Dhyana SMBus support

2019-04-29 Thread Jean Delvare
2c/busses/i2c-piix4 | 2 ++ > drivers/i2c/busses/Kconfig | 1 + > drivers/i2c/busses/i2c-piix4.c | 15 +++ > 3 files changed, 14 insertions(+), 4 deletions(-) > (...) Looks good to me now, thanks. Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support

Re: [Bug 203297] Synaptics touchpad TM-3127 functionality broken by PCI runtime power management patch on 4.20.2

2019-04-29 Thread Jean Delvare
e we do > for others where the IRQ controller is still ready. > > So yes, that could work from me. Not sure what Wolfram and Jean would > say though. I would say OK with me, this looks like the cleanest solution to me, so if testing is positive, let's go with it. -- Jean Delvare SUSE L3 Support

Re: [RFC PATCH RESEND] i2c-piix4: Add Hygon Dhyana SMBus support

2019-04-26 Thread Jean Delvare
On Fri, 2019-04-26 at 22:23 +0800, Pu Wen wrote: > On 2019/4/26 17:38, Jean Delvare wrote: > > I would like you to also document the new supported chipset in > > drivers/i2c/busses/Kconfig and Documentation/i2c/busses/i2c-piix4 as > > well as in the header comment of i2c-p

Re: [RFC PATCH RESEND] i2c-piix4: Add Hygon Dhyana SMBus support

2019-04-26 Thread Jean Delvare
_ID_AMD || > + dev->vendor == PCI_VENDOR_ID_HYGON) && > dev->device == PCI_DEVICE_ID_AMD_KERNCZ_SMBUS) { > u8 imc; > Patch looks good. I assume you have tested it on real hardware? I would like you to also document the new supported chipset in drivers/i2c/busses/Kconfig and Documentation/i2c/busses/i2c-piix4 as well as in the header comment of i2c-piix4.c itself. I know it seems redundant but it helps the user know which driver they need. Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH 2/2] docs: hwmon: remove the extension from .rst files

2019-04-19 Thread Jean Delvare
ested-by: Jani Nikula The line above appears to be truncated. > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/hwmon/index.rst | 316 +- > 1 file changed, 158 insertions(+), 158 deletions(-) -- Jean Delvare SUSE L3 Support

Re: [PATCH] i2c: isch: Remove unnecessary acpi.h include

2019-04-01 Thread Jean Delvare
orn Helgaas > > Added > > Fixes: fd46a0064af1 ("i2c: convert i2c-isch to platform_device") > Reviewed-by: Jean Delvare > Reviewed-by: Mukesh Ojha > > on my local branch. > > Jean, would you like me to repost this with the updates? I assume you > w

Re: [PATCH] i2c: isch: Remove unnecessary acpi.h include

2019-03-31 Thread Jean Delvare
rivers/i2c/busses/i2c-isch.c b/drivers/i2c/busses/i2c-isch.c > index 5c754bf659e2..f64c1d72f73f 100644 > --- a/drivers/i2c/busses/i2c-isch.c > +++ b/drivers/i2c/busses/i2c-isch.c > @@ -30,7 +30,6 @@ > #include > #include > #include > -#include > > /* SCH SMB

Re: [PATCH] spi: mediatek: Attempt to address style issues in spi-mt7621.c

2019-03-14 Thread Jean Delvare
it is deemed not worth the maintenance effort then it should be deleted. I don't care either way. -- Jean Delvare SUSE L3 Support

Re: [PATCH] i2c: sis630: correct format strings

2019-03-06 Thread Jean Delvare
-EBUSY; > @@ -528,7 +528,7 @@ static int sis630_probe(struct pci_dev *dev, const struct > pci_device_id *id) > sis630_adapter.dev.parent = >dev; > > snprintf(sis630_adapter.name, sizeof(sis630_adapter.name), > - "SMBus SIS630 adapter at %04hx&

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-11 Thread Jean Delvare
a different pair of kernel versions. You cannot at the same time argue that the change should not have been done back then, and ask for same change to be done again now. -- Jean Delvare SUSE L3 Support

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-06 Thread Jean Delvare
On Thu, 2018-12-06 at 10:22 +0100, Peter Korsgaard wrote: > > > > > > "Jean" == Jean Delvare writes: > > > On Wed, 2018-12-05 at 22:13 +0100, Peter Korsgaard wrote: > >> This reverts commit 712ff25450bd01366301eef81c33e865d901e7b7. > >>

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-06 Thread Jean Delvare
On Thu, 2018-12-06 at 10:22 +0100, Peter Korsgaard wrote: > > > > > > "Jean" == Jean Delvare writes: > > > On Wed, 2018-12-05 at 22:13 +0100, Peter Korsgaard wrote: > >> This reverts commit 712ff25450bd01366301eef81c33e865d901e7b7. > >>

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-06 Thread Jean Delvare
sprintf(s, "%pUl", d); > + sprintf(s, "%pUL", d); > else > - sprintf(s, "%pUb", d); > + sprintf(s, "%pUB", d); > > dmi_ident[slot] = s; > } Nak. This is too late. Changing it again would just add confusion. -- Jean Delvare SUSE L3 Support

Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"

2018-12-06 Thread Jean Delvare
sprintf(s, "%pUl", d); > + sprintf(s, "%pUL", d); > else > - sprintf(s, "%pUb", d); > + sprintf(s, "%pUB", d); > > dmi_ident[slot] = s; > } Nak. This is too late. Changing it again would just add confusion. -- Jean Delvare SUSE L3 Support

Re: [PATCH 4.14 044/100] ACPICA: AML interpreter: add region addresses in global list during initialization

2018-11-29 Thread Jean Delvare
ed my lesson and I'll > > put the > > correct tags from now on :-) > > Ok, now dropped from 4.14, thanks. Should be dropped from 4.9 and 4.4 too... if it was not clear. Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH 4.14 044/100] ACPICA: AML interpreter: add region addresses in global list during initialization

2018-11-29 Thread Jean Delvare
ed my lesson and I'll > > put the > > correct tags from now on :-) > > Ok, now dropped from 4.14, thanks. Should be dropped from 4.9 and 4.4 too... if it was not clear. Thanks, -- Jean Delvare SUSE L3 Support

Re: [PATCH 4.14 044/100] ACPICA: AML interpreter: add region addresses in global list during initialization

2018-11-29 Thread Jean Delvare
So how can the fix be needed in any kernel older than v4.17? Erik, did I understand you incorrectly? -- Jean Delvare SUSE L3 Support

  1   2   3   4   5   6   7   8   9   10   >