From patchwork Mon Nov 4 17:22:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 178447 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp1773898ilf; Mon, 4 Nov 2019 09:25:53 -0800 (PST) X-Google-Smtp-Source: APXvYqyTksHVX0YNgVJy/xbA/gxrIJMlp3JC4BrkyHXnsOLS+DS5Ooquwdvulgsz/TsJ37HWJRgi X-Received: by 2002:a50:8264:: with SMTP id 91mr30543701edf.69.1572888352874; Mon, 04 Nov 2019 09:25:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572888352; cv=none; d=google.com; s=arc-20160816; b=O6lJTa4Z//L0FuHpGVa1zusPudSMGcpDeISEUVKD1eXtLH7VezPBurCsN/TBF1JqKa sISBJ1iPBTPyoJ2+SC3SQvDS/mstAH7Ns6V636zYUNk9qJcpo2mHDeMwgX6sHWyj9WC/ f+THuXOhMPEeI4iCu/mpazpvrRtyb7xPO2GIMEIvKsOee0MlQWXuyqJGM0Yua6FTWbi5 rXrjpEzAkBKVHgkwym6eJPpt5j3my7EzmOXUdDtrfr2RQWOc5+0+I+Olz66UI+PE29LZ sJvN5mKO4EtYTXrAhwwtAc9a2PNBmjb1HzUO/lB6Kk3hqVVA6URtPx0/G1uOe9yNnpGM Ldpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=60LaYMt7ecOfUtG2xfV33mCcKOQmWHcsfBgqLRJeEho=; b=cEzUmHzD0hR4R1YVb26JlZJgZbguVnrIvtDJ6OE5nGSmI8ljx8fx+MF9GwicF7dX5T OsfOfmHIbDYHDYkwhoveVp5pZu7bLvjL5iMXp6oZvca1FNUJ/eDRHkxsLNZJd4ACOvG1 fDXj3zCG2uUyPldadB2tR6+9UF5RALXk3ehY/lI9aw5zwDdcyh5tFJYUE+n5UfOyjLkx q6wAEUOwApiBqjMbYdw8BiHR7u66NtyxkPfgWVUlevNp6jUdgG1LfFmAIc3DXaWraAy4 TfGzYoXGDnxHOd9oW/WWgCfENjutWwW9isBN7jd3cXJlEYDO7mwvGGdOIePbNsNLCPiq oh3Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f2si3316647ejr.260.2019.11.04.09.25.52; Mon, 04 Nov 2019 09:25:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729505AbfKDRZv (ORCPT + 26 others); Mon, 4 Nov 2019 12:25:51 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:48622 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727989AbfKDRZd (ORCPT ); Mon, 4 Nov 2019 12:25:33 -0500 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 986C7C0D8199739DA203; Tue, 5 Nov 2019 01:25:31 +0800 (CST) Received: from localhost.localdomain (10.69.192.58) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Tue, 5 Nov 2019 01:25:21 +0800 From: John Garry To: CC: , , , , , John Garry Subject: [PATCH v3 0/5] hisi_lpc: Improve build test coverage Date: Tue, 5 Nov 2019 01:22:14 +0800 Message-ID: <1572888139-47298-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-Originating-IP: [10.69.192.58] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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