Received: by 10.213.65.68 with SMTP id h4csp730988imn; Wed, 4 Apr 2018 06:23:34 -0700 (PDT) X-Google-Smtp-Source: AIpwx4//2ZG6YQOdQ3ZN6hPM+BvWA1MjV74V8OZk0tDfbzWpZjC7BJ0QUoCk1coHGTMS4qCdMp0W X-Received: by 2002:a17:902:5902:: with SMTP id o2-v6mr17482140pli.81.1522848214127; Wed, 04 Apr 2018 06:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522848214; cv=none; d=google.com; s=arc-20160816; b=YH1VX8KfV3zHgPCtI4POW1bLhJQ6fKh4OWxYW55rztQZX1mg94TuajGXGfGCwWT5N6 owAAx1Ep3ea4UDHT5PQeay6wIN02ZvmfIg8NrqfvwD8gfOVqeVcAZCAKbi91aZ1mWQvr nNwmgbE1LoFphfdYuw1Nr+y3x5J8vxmBrT3ZymK9tB+TGtvSY2g/f0FMjMlz3S14lZZx lwftk+IqSjcX8rTS4Yt+qVsUlDkM+ihfkOmAAvgk3BABKEJP9QKHrAyB/rEI7nc0o9ff R+fG2KFQnxoMrkAuTlnpZPwQwVM44POxky0uM0G4ndotxbFu6XhoX+NPlH+sk8xlZbFq 4k7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=K6h18iGlbaZRbdN4xPS3XAG4skSqXMNwbHr7ORMxfmw=; b=IZBmn77fpo5ZiDM5PiJvMGpHZVe+Gd3gq726XxW8t5ZlsmRBjj/19VsaN9BlHe3MoG t7JOfWB1B5f6+7hYZXtdSyRu7zk5Dw8IdPFEnVuVEotW0Q3nyMH5IsnJJLXrWZ9PkcpV Lvjo+5c4RVeRZ1G72Lz4qQQFIw51PqGBf7Dmr+gGIXPo8Y/dOrEKfLw6s+UnWmzh7vVY Hoevp3Bs4c7EionhftiHYLCW6nFWtCHgn9um4kzDNn9LyEONgfHM7AjWfMl1t/kTQmHB HR4aQ1pzpuEUF6jCp+Bqh3BxlnQ4QVsvKR/6U12WEhiH6zx6ZkmRWdzlMP8J6Nts4QeA dkDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Es35SiOa; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13-v6si3300414pln.437.2018.04.04.06.23.20; Wed, 04 Apr 2018 06:23:34 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Es35SiOa; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751278AbeDDNVb (ORCPT + 99 others); Wed, 4 Apr 2018 09:21:31 -0400 Received: from mail-yb0-f196.google.com ([209.85.213.196]:42375 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbeDDNV3 (ORCPT ); Wed, 4 Apr 2018 09:21:29 -0400 Received: by mail-yb0-f196.google.com with SMTP id d7-v6so8047746ybn.9; Wed, 04 Apr 2018 06:21:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=K6h18iGlbaZRbdN4xPS3XAG4skSqXMNwbHr7ORMxfmw=; b=Es35SiOagbatCVrOix9Aij8nfG6f4ki987tY5s0dYJgan3iJKup+n0cGuPCuOhkRpz yxKOQPDXNaZpqZJ3lnRvfu/Rc2cQNE/p6zhYB32AQLbEPpM6FWBAsHhxzEvvqcH3DKgb Vhvo4N2ZAunDLLOVWp8DRKX+L0/yD6h4Da7b3/VWfpTTffLAB5WgY6Mi2zXRvrvEV1RD VeEOP/VUhdyXlCQMTQSm1fLkhb/XcIgisyYZbmpvdGfMUNCaWiwEUSaHJTOCUBb/MgSu wgLanhBupvmqBw2zHgJ1RhCfBl4P8lNC5xngMHvuG2C6i6aG0R/LjJy0MgTp7IREV/WO 8UXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=K6h18iGlbaZRbdN4xPS3XAG4skSqXMNwbHr7ORMxfmw=; b=qxN5gUPFDuhs1S0UQLT8EH1oHb1UWbmyRhEAog7OsDogzJZs7FxD5D1179swYVB3ub QuOvujS/KTgwC7Fo8REKwtkmZbvltUPtHfflesVjlaAhYQe551rWIVvrE/OUwK88QYoz 4YuIwS3FbkIRiH+ZAM8KdqiMJ6WsH7Haz0AG9fVEK6YLuAblcLGsqwFDsaxJGKubK45C /dimvk+taptn3Fwvlt4q42L87RbaPqH5/B68ljW2M31u4dxK18q8MRq0kKLobwhDdfOY gMWhiQXI448JZPii2NFtRtmp+7Ecl/s1TmHk5t9DQEY95oSH6GJec3xFe4l2dzKVuGVd bfKg== X-Gm-Message-State: ALQs6tBAuWKYE/yc5H7aqQnJ65rT+6eULbjrJm/gz/U793QL2xS8/Vap gXLQQmDT0hyUgnKAVdiqql8= X-Received: by 10.129.161.2 with SMTP id y2mr1928124ywg.267.1522848088347; Wed, 04 Apr 2018 06:21:28 -0700 (PDT) Received: from sophia ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id v8sm927189ywg.5.2018.04.04.06.21.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Apr 2018 06:21:27 -0700 (PDT) Date: Wed, 4 Apr 2018 09:21:21 -0400 From: William Breathitt Gray To: Linus Torvalds Cc: Linus Walleij , linux-kernel , "open list:GPIO SUBSYSTEM" Subject: Re: [GIT PULL] Bulk GPIO changes for v4.17 Message-ID: <20180404132121.GA28103@sophia> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 04, 2018 at 01:19:29PM +0200, Linus Walleij wrote: >- There is a series of ISA_BUS_API changes that ended up > getting queued in my tree. Most of them have proper ACKs > and they have been tested throughly in linux-next. > These patches finally split ISA_BUS and ISA_BUS_API > apart as I understand it, as there are devices using > port-mapped I/O but not strictly speaking using any ISA > bus. So the ISA_BUS and the ISA_BUS_API are two > things. The most notable effect of ISA_BUS_API is that > it compiles drivers/base/isa.c so that we get device driver > core infrastructure for these devices. The ISA bus was merged > in 2006 (a5117ba7da37) and was used for sound cards and > watchdog, but only recently William started > to use it for his industrial data acquisition cards and he's found > a bit of problems that are now (hopefully) finally fixed up. > Any questions: William Breathitt Gray is on the CC for this > pull request to answer them. Some background on the impetus and rationale of the ISA_BUS_API Kconfig changes: During submission of the Winbond GPIO driver (a0d65009411c), an attempt to select ISA_BUS_API revealed a recursive dependency bug: https://lkml.org/lkml/2017/12/26/235 The recursive dependency could be avoided if ISA_BUS_API was selected by drivers where needed rather than depended on. A select semantic makes sense as well for these drivers because ISA_BUS_API is simply used to compile the drivers/base/isa.c file, which is just a thin wrapper to allow these ISA-style I/O port drivers to fit the device driver model. ISA_BUS_API is decoupled from the ISA_BUS so that it can be selected independent of the legacy ISA_BUS drivers, which do not necessary make use of drivers/base/isa.c functionality. Thus there is a clean separation between the modern drivers for ISA-style devices which select ISA_BUS_API, and the legacy drivers for true ISA cards which utilize the legacy ISA_BUS Kconfig option. The reason these changes are coming in through the GPIO tree is to avoid a similar recursive dependency error if the STX104 IIO driver attempts to select ISA_BUS_API separate from the other patches (due to its GPIOLIB selection): https://lkml.org/lkml/2017/12/29/384 These updates missed the last merge window, so the Winbond GPIO driver was merged in at that time with a "depends on ISA_BUS_API" line patch to pacify the recursive dependency error. Now that these updates were picked up in the GPIO tree, the revert patch was merged to revert the "depends on ISA_BUS_API" line to the originally intended "select ISA_BUS_API" line. Finally, an explicit EXPERT dependency is added to the PC104 Kconfig option to keep the PC/104 drivers masked as they have been -- the PC/104 interface is somewhat niche and unlikely to be a concern for regular users, so let's keep it tucked away. William Breathitt Gray