lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <cad432e6-1722-3080-0266-18629be56e83@codeaurora.org>
Date:   Tue, 2 Jan 2018 13:19:49 -0500
From:   Sinan Kaya <okaya@...eaurora.org>
To:     Randy Dunlap <rdunlap@...radead.org>,
        Eric Auger <eric.auger@...hat.com>, eric.auger.pro@...il.com,
        wsa@...-dreams.de, linux-i2c@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        "linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>
Subject: Re: [PATCH] i2c: fix ACPI_I2C_OPREGION dependency

On 1/2/2018 1:10 PM, Randy Dunlap wrote:
>>>  config ACPI_I2C_OPREGION
>>>  	bool "ACPI I2C Operation region support"
>>> -	depends on I2C=y && ACPI
>>> +	depends on I2C && ACPI
>>>  	default y
>>>  	help
>>>  	  Say Y here if you want to enable ACPI I2C operation region support.
>>>
>> Anybody picking this up?
> Well.  It looks to me like the patch is reversed or the patch description
> needs some improvement.  Or I just don't understand it.

I'll let Eric improve the description. 

Issue is that if you compile I2C as a module, ACPI_I2C_OPREGION doesn't get selected.
Therefore, any ACPI opregion calls targeting I2C fail with no opregion found.

The goal is to select ACPI_I2C_OPREGION independent of the I2C module type selection.

-- 
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ