[linux-yocto] [linux-yocto-4.1] [Kernel-cache & bsp patch] Action-s500: Enable WIFI/BT/TPM support

Bruce Ashfield bruce.ashfield at windriver.com
Tue Jan 24 12:20:26 PST 2017


On 01/22/2017 04:52 AM, Jiang Lu wrote:
>
>
> Hi Bruce,
>
> This series of patches enable support action s500 SOC and rose-apple-pi board.
>
> There are 95 patches for kernel to enable BT/WIFI/TPM feature on this board.

I haven't forgotten about this, I'm just travelling and haven't had
time to look at this closely.

I'm hoping I'll have time in the next few hours to get it merged.

Cheers,

Bruce

>
> And there is one patch for kernel-cache to enable corresponding kernel configurations.
>
> I send all patch into a github repo, you can find it on:
> https://github.com/WarrickJiang/linux-yocto-4.1.git
> with branch standard/actions-s500_0121
>
> changes since commit 6b03a7e795d8c4e82ed409f356984b842d233458:
>
>   Merge branch 'standard/base' into standard/actions-s500 (2017-01-11 10:36:58 -0500)
>
>
>
> Here is the diffstate
>
> ----------------------------------------------------------------
> Andrew Zamansky (1):
>       tpm2_i2c_nuvoton: add irq validity check
>
> Andrey Pronin (1):
>       tpm: read burstcount from TPM_STS in one 32-bit transaction
>
> Arnd Bergmann (2):
>       tpm: fix tpm_bios_log_setup stub prototype
>       tpm: select ANON_INODES for proxy driver
>
> Christophe JAILLET (1):
>       TPM: Avoid reference to potentially freed memory
>
> Christophe Ricard (12):
>       tpm: drop list from struct tpm_vendor_specific
>       tpm: drop 'iobase' from struct tpm_vendor_specific
>       tpm: drop 'irq' from struct tpm_vendor_specific
>       tpm: drop 'read_queue' from struct tpm_vendor_specific
>       tpm: drop 'locality' from struct tpm_vendor_specific
>       tpm: Move tpm_vendor_specific data related with PTP specification to tpm_chip
>       tpm: Remove useless priv field in struct tpm_vendor_specific
>       tpm: Add include guards in tpm.h
>       tpm: tpm_tis: Share common data between phys
>       tpm_tis: Introduce intermediate layer for TPM access
>       tpm/tpm_tis: Split tpm_tis driver into a core and TCG TIS compliant phy
>       tpm/tpm_tis_spi: Add support for spi phy
>
> Fabian Frederick (1):
>       tpm_ibmvtpm: remove unneccessary message level.
>
> Geert Uytterhoeven (1):
>       tpm: Allow compile test of GPIO consumers if !GPIOLIB
>
> Harald Hoyer (1):
>       tpm_eventlog.c: fix binary_bios_measurements
>
> Jarkko Sakkinen (24):
>       TPM: revert the list handling logic fixed in 398a1e7
>       tpm: fix compat 'ppi' link handling in tpm_chip_register()
>       keys, trusted: fix: *do not* allow duplicate key options
>       keys, trusted: select hash algorithm for TPM2 chips
>       keys, trusted: seal with a TPM2 authorization policy
>       tpm: fix checks for policy digest existence in tpm2_seal_trusted()
>       tpm: fix the rollback in tpm_chip_register()
>       tpm: fix: set continueSession attribute for the unseal operation
>       tpm: fix: return rc when devm_add_action() fails
>       tpm_crb/tis: fix: use dev_name() for /proc/iomem
>       tpm_tis: fix build warning with tpm_tis_resume
>       tpm: cleanup tpm_tis_remove()
>       tpm: fix crash in tpm_tis deinitialization
>       tpm_crb: drop struct resource res from struct crb_priv
>       tpm_crb: fix mapping of the buffers
>       tpm: check for TPM_CHIP_FLAG_TPM2 before calling tpm2_shutdown()
>       tpm: drop int_queue from tpm_vendor_specific
>       tpm: drop tpm_atmel specific fields from tpm_vendor_specific
>       tpm: drop manufacturer_id from struct tpm_vendor_specific
>       tpm: drop 'base' from struct tpm_vendor_specific
>       tpm: drop the field 'time_expired' from struct tpm_chip
>       tpm_vtpm_proxy: fix address space of a user pointer in vtpmx_fops_ioctl()
>       tpm_crb: fix address space of the return pointer in crb_map_res()
>       tpm: invalid self test error message
>
> Jason Gunthorpe (21):
>       tpm_tis: Use devm_free_irq not free_irq
>       tpm_tis: Ensure interrupts are disabled when the driver starts
>       tpm: rework tpm_get_timeouts()
>       tpm_tis: Get rid of the duplicate IRQ probing code
>       tpm_tis: Refactor the interrupt setup
>       tpm_tis: Tighten IRQ auto-probing
>       tpm_crb: Use the common ACPI definition of struct acpi_tpm2
>       tpm_tis: Disable interrupt auto probing on a per-device basis
>       tpm_tis: Do not fall back to a hardcoded address for TPM2
>       tpm_tis: Use devm_ioremap_resource
>       tpm_tis: Clean up the force=1 module parameter
>       tpm_crb: Drop le32_to_cpu(ioread32(..))
>       tpm_crb: Use devm_ioremap_resource
>       tpm: Get rid of chip->pdev
>       tpm: Get rid of devname
>       tpm: Provide strong locking for device removal
>       tpm: Split out the devm stuff from tpmm_chip_alloc
>       tpm: Remove all uses of drvdata from the TPM Core
>       tpm: Fix IRQ unwind ordering in TIS
>       tpm: Factor out common startup code
>       tpm: Add TPM 2.0 support to the Nuvoton i2c driver (NPCT6xx family)
>
> Jerry Snitselaar (1):
>       tpm: remove unneeded include of actbl2.h
>
> Krzysztof Kozlowski (1):
>       char: Drop owner assignment from i2c_driver
>
> Limeng (12):
>       arm: mach: change CONFIG_KERNEL_LOAD_OFFSET into CONFIG_OWL_LOAD_OFFSET
>       drivers: mmc: implement mmc faeature
>       drivers: mmc: implement wifi+bt feature
>       drivers: mmc: fix an emmc bug
>       drivers: net: wireless: enable wifi concurrent mode
>       driver: video: fix 2 build warnings
>       driver: usb: add code to check acts_udc_controller pointer bofore using it
>       driver: video: move ISR registration out of spinlock critical region
>       driver: video: initialize an uninitialized spinlock
>       driver: usb: use macro MONITOR_PRINTK to instead of printk
>       rose-apple-pi: arm: dts: add tpm node for tpm 2.0 IC
>       drivers: spi: spi CS pin should be in active status during command communication
>
> Martin Wilck (3):
>       tpm_tis: free irq after probing
>       tpm_tis: restore IRQ vector in IO memory after failed probing
>       tpm_tis: further simplify calculation of ordinal duration
>
> Stefan Berger (6):
>       tpm_ibmvtpm: properly handle interrupted packet receptions
>       tpm: Get rid of module locking
>       tpm: Replace device number bitmap with IDR
>       tpm: Introduce TPM_CHIP_FLAG_VIRTUAL
>       tpm: Proxy driver for supporting multiple emulated TPMs
>       tpm: Fix suspend regression
>
> Stephen Rothwell (1):
>       tpm: fix for typo in tpm/tpm_ibmvtpm.c
>
> apronin at chromium.org (2):
>       tpm_tis_core: convert max timeouts from msec to jiffies
>       tpm: fix byte-order for the value read by tpm2_get_tpm_pt
>
> honclo at linux.vnet.ibm.com (4):
>       vTPM: fix memory allocation flag for rtce buffer at kernel boot
>       vTPM: fix searching for the right vTPM node in device tree
>       vTPM: support little endian guests
>       TPM: remove unnecessary little endian conversion
>
>  Documentation/devicetree/bindings/i2c/trivial-devices.txt      |    1 +
>  Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt |   24 +++
>  Documentation/security/keys-trusted-encrypted.txt              |   31 ++--
>  arch/arm/boot/dts/actduino_bubble_gum_sdboot_linux.dts         |   30 ++--
>  arch/arm/mach-owl/Makefile.boot                                |    6 +-
>  arch/arm/mach-owl/clocktree-atm7059.c                          |    6 +
>  arch/powerpc/kernel/prom_init.c                                |    8 +-
>  crypto/hash_info.c                                             |    2 +
>  drivers/char/tpm/Kconfig                                       |   30 ++++
>  drivers/char/tpm/Makefile                                      |    3 +
>  drivers/char/tpm/st33zp24/Kconfig                              |    2 +-
>  drivers/char/tpm/st33zp24/i2c.c                                |    1 -
>  drivers/char/tpm/st33zp24/st33zp24.c                           |   51 +++---
>  drivers/char/tpm/st33zp24/st33zp24.h                           |   12 ++
>  drivers/char/tpm/tpm-chip.c                                    |  308 +++++++++++++++++++++++---------
>  drivers/char/tpm/tpm-dev.c                                     |   15 +-
>  drivers/char/tpm/tpm-interface.c                               |  141 ++++++++++-----
>  drivers/char/tpm/tpm-sysfs.c                                   |   78 ++++----
>  drivers/char/tpm/tpm.h                                         |  100 +++++------
>  drivers/char/tpm/tpm2-cmd.c                                    |  124 ++++++++++---
>  drivers/char/tpm/tpm_atmel.c                                   |   63 ++++---
>  drivers/char/tpm/tpm_atmel.h                                   |   16 +-
>  drivers/char/tpm/tpm_crb.c                                     |  225 +++++++++++++----------
>  drivers/char/tpm/tpm_eventlog.c                                |   86 ++++++---
>  drivers/char/tpm/tpm_eventlog.h                                |   10 +-
>  drivers/char/tpm/tpm_i2c_atmel.c                               |   46 +++--
>  drivers/char/tpm/tpm_i2c_infineon.c                            |   60 +++----
>  drivers/char/tpm/tpm_i2c_nuvoton.c                             |  132 ++++++++------
>  drivers/char/tpm/tpm_ibmvtpm.c                                 |   62 +++----
>  drivers/char/tpm/tpm_ibmvtpm.h                                 |    1 +
>  drivers/char/tpm/tpm_infineon.c                                |   22 +--
>  drivers/char/tpm/tpm_nsc.c                                     |   84 ++++++---
>  drivers/char/tpm/tpm_of.c                                      |   11 +-
>  drivers/char/tpm/tpm_tis.c                                     | 1092 +++++++++++++++++++++-------------------------------------------------------------------------------------------
>  drivers/char/tpm/tpm_tis_core.c                                |  835 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/char/tpm/tpm_tis_core.h                                |  156 ++++++++++++++++
>  drivers/char/tpm/tpm_tis_spi.c                                 |  272 ++++++++++++++++++++++++++++
>  drivers/char/tpm/tpm_vtpm_proxy.c                              |  637 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  drivers/char/tpm/xen-tpmfront.c                                |   36 ++--
>  drivers/mmc/host/gl520x_mmc.c                                  |   20 ++-
>  drivers/net/wireless/actions/rtl8723bs/Makefile                |    4 +-
>  drivers/spi/spi_owl.c                                          |    1 -
>  drivers/usb/aotg/aotg_udc_debug.c                              |    3 +
>  drivers/usb/monitor/umonitor_core.c                            |    6 +-
>  drivers/video/fbdev/owl/displays/cvbs/cvbs.c                   |    1 -
>  drivers/video/fbdev/owl/dss/de.c                               |   14 +-
>  drivers/video/fbdev/owl/vce/vce_drv.c                          |    1 -
>  include/crypto/hash_info.h                                     |    3 +
>  include/keys/trusted-type.h                                    |    5 +
>  include/linux/tpm.h                                            |    5 +
>  include/linux/wlan_plat.h                                      |   27 +++
>  include/uapi/linux/Kbuild                                      |    1 +
>  include/uapi/linux/hash_info.h                                 |    1 +
>  include/uapi/linux/vtpm_proxy.h                                |   36 ++++
>  security/keys/Kconfig                                          |    1 +
>  security/keys/trusted.c                                        |   55 +++++-
>  56 files changed, 3409 insertions(+), 1594 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/security/tpm/tpm_tis_spi.txt
>  create mode 100644 drivers/char/tpm/tpm_tis_core.c
>  create mode 100644 drivers/char/tpm/tpm_tis_core.h
>  create mode 100644 drivers/char/tpm/tpm_tis_spi.c
>  create mode 100644 drivers/char/tpm/tpm_vtpm_proxy.c
>  create mode 100644 include/linux/wlan_plat.h
>  create mode 100644 include/uapi/linux/vtpm_proxy.h
>
> Thanks
> Jiang Lu
>



More information about the linux-yocto mailing list