NAK: [Trusty][SRU][PATCH 0/2] Add PowerNV OPAL i2c driver

Brad Figg brad.figg at canonical.com
Tue Feb 10 15:29:20 UTC 2015


On Mon, Feb 09, 2015 at 05:25:53PM -0600, Chris J Arges wrote:
> BugLink: http://bugs.launchpad.net/bugs/1419151                                 
>                                                                                 
> [Impact]                                                                        
> This exposes the i2c busses of the machine which are controlled via the OPAL firmware. This is among
> other things, necessary for manufacturing configuration of VPDs etc..., but will also enable Linux access
> to some i2c devices such as the TPM.                                            
>                                                                                 
> We wish to have this in utopic and if possible trusty.                          
>                                                                                 
> [Fix]                                                                           
> The Open Power machines need the driver that was merged in 3.19 backported. The commit upstream
> is 470834508f87877f680738a10a305280582c7aed "i2c: Driver to expose PowerNV platform i2c busses"
> $ git describe --contains 470834508f87877f680738a10a305280582c7aed              
> v3.19-rc1~22^2~7                                                                
>                                                                                 
> [Test Case]                                                                     
> modprobe i2c-opal                                                               
>                                                                                 
> I've boot tested && modprobe i2c-opal these patches on power8 hardware. 
> 
> Chris J Arges (1):
>   UBUNTU: [Config] ppc64el CONFIG_I2C_OPAL=m
> 
> Neelesh Gupta (1):
>   i2c: Driver to expose PowerNV platform i2c busses
> 
>  Documentation/devicetree/bindings/i2c/i2c-opal.txt |  37 +++
>  arch/powerpc/include/asm/opal.h                    |  29 ++
>  arch/powerpc/platforms/powernv/opal-async.c        |   3 +
>  arch/powerpc/platforms/powernv/opal-wrappers.S     |   1 +
>  arch/powerpc/platforms/powernv/opal.c              |  13 +
>  debian.master/config/config.common.ubuntu          |   1 +
>  drivers/i2c/busses/Kconfig                         |  11 +
>  drivers/i2c/busses/Makefile                        |   1 +
>  drivers/i2c/busses/i2c-opal.c                      | 294 +++++++++++++++++++++
>  9 files changed, 390 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/i2c/i2c-opal.txt
>  create mode 100644 drivers/i2c/busses/i2c-opal.c
> 
> -- 
> 1.9.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

The default Trusty LTS kernel will soon be the Utopic HWE kernel (yes that
wording is a little confusing). Therefore feature additions of this nature
should be targeted at Utopic.

Brad
-- 
Brad Figg brad.figg at canonical.com http://www.canonical.com




More information about the kernel-team mailing list