mbox series

[v3,0/5] hisi_lpc: Improve build test coverage

Message ID 1572888139-47298-1-git-send-email-john.garry@huawei.com
Headers show
Series hisi_lpc: Improve build test coverage | expand

Message

John Garry Nov. 4, 2019, 5:22 p.m. UTC
This series aims to improve the build test cover of the driver by
supporting building under COMPILE_TEST.

I also included "lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops
are set at registration" as it was never picked up for 5.4.

Two new patches are also included since v1:
- clean issues detected by sparse
- build logic_pio.o into /lib library

Since v2 I limited test coverage for archs which don't define
{read, write}sb().

John Garry (5):
  lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at
    registration
  logic_pio: Define PIO_INDIRECT_SIZE for !CONFIG_INDIRECT_PIO
  bus: hisi_lpc: Clean some types
  bus: hisi_lpc: Expand build test coverage
  logic_pio: Build into a library

 drivers/bus/Kconfig       |  5 +++--
 drivers/bus/hisi_lpc.c    |  9 ++++-----
 include/linux/logic_pio.h |  4 ++--
 lib/Makefile              |  2 +-
 lib/logic_pio.c           | 14 ++++++++------
 5 files changed, 18 insertions(+), 16 deletions(-)

-- 
2.17.1

Comments

Wei Xu Nov. 9, 2019, 6:33 a.m. UTC | #1
Hi John,

On 2019/11/5 1:22, John Garry wrote:
> This series aims to improve the build test cover of the driver by

> supporting building under COMPILE_TEST.

>

> I also included "lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops

> are set at registration" as it was never picked up for 5.4.

>

> Two new patches are also included since v1:

> - clean issues detected by sparse

> - build logic_pio.o into /lib library

>

> Since v2 I limited test coverage for archs which don't define

> {read, write}sb().

>

> John Garry (5):

>    lib: logic_pio: Enforce LOGIC_PIO_INDIRECT region ops are set at

>      registration

>    logic_pio: Define PIO_INDIRECT_SIZE for !CONFIG_INDIRECT_PIO

>    bus: hisi_lpc: Clean some types

>    bus: hisi_lpc: Expand build test coverage

>    logic_pio: Build into a library

>

>   drivers/bus/Kconfig       |  5 +++--

>   drivers/bus/hisi_lpc.c    |  9 ++++-----

>   include/linux/logic_pio.h |  4 ++--

>   lib/Makefile              |  2 +-

>   lib/logic_pio.c           | 14 ++++++++------

>   5 files changed, 18 insertions(+), 16 deletions(-)

>


Thanks!
Dropped the v2 and applied v3 series to the hisilicon driver tree.

Best Regards,
Wei