Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1859509iob; Fri, 29 Apr 2022 14:46:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOBVWMDZYNLSbGLzeI/gsL8cNCkZh0dQJNVIyvysfuYhBe05dx70gAaNtSLQM9DT/w8+ah X-Received: by 2002:a17:90a:cd06:b0:1cb:8c74:2baf with SMTP id d6-20020a17090acd0600b001cb8c742bafmr6107948pju.214.1651268791663; Fri, 29 Apr 2022 14:46:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651268791; cv=none; d=google.com; s=arc-20160816; b=VlOECIElSFeT5EPHpYJCuqj5IEGUnzB/g8TGgeC9zLSwyIELoOXVQyJOft1Kbrv/XG 4yTkweO0cJiwYx99s0yzJjotw46jo3JFgR6rvKmjNSa/n7jc7XpGy2Suz9cio1q8rfiL kVj+X0eXHCKcN8epFtw+kJMGZktIxvCOvPszGnmoPioLGEkGOWZnJQ6jP28j/5ngO4iT pHZtKguV9VoSJPRS9srvnVJdDJjqbAYwraRy21pNvTvoBg++mzMrnUqfIbGxda84eqcs GBAEAUqAQR04jVFdo71fA9idp88Zm9qkpETxmSh68c8IkNUwcuvZG+PrTOCpdkLRzanj 4xYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=xoywMIV1matZOHY8izfXpbGzTngIRjvpfi88UXGscU0=; b=Q5uHSnu2+WKdd3vbAAKUgJJ1+6bFb7FsQNHjSOclY/KAjBs/nIjymJCnE+dEupYbKo cd50XRF4EX5VPybpuENpRADI43sClJ22mufWa6GPQKLVXEp1jgTzH+cS8SVIggFBxlR+ In7WAm/ed0stWDgnWld8eTjB8dywUav1gcrekyAUFqS9pmX+hsl5qPh+/wTyqu4lU0Ze pN8GXLWCLPAd5SLtSnCFXpHbU4v5uKGXq5dPmjsWutGezZNgA9S6LJhaUBaDHjTtcM9Y ZjGCy/aCWGjCaB7/F0RY9j7yU5tyHQIZqi7f8/I1YIR1v1wlgGO4uxocYi5gC9d/02jr STvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=lTlsTIJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r193-20020a632bca000000b003aa317d05d8si7869899pgr.440.2022.04.29.14.46.16; Fri, 29 Apr 2022 14:46:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=lTlsTIJw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352531AbiD2Owy (ORCPT + 99 others); Fri, 29 Apr 2022 10:52:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242886AbiD2Oww (ORCPT ); Fri, 29 Apr 2022 10:52:52 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E73AAB89B5; Fri, 29 Apr 2022 07:49:31 -0700 (PDT) Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 23TDsA3K015859; Fri, 29 Apr 2022 14:49:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=xoywMIV1matZOHY8izfXpbGzTngIRjvpfi88UXGscU0=; b=lTlsTIJwxQOY8VeQz+Hpos1Oi3zycc/3coARHSS9dg8mTmBlrZHxNhBzR9WjO/lGvjnu sFUSJtWdChJMDTeM3YB2j1PolHgCZYwJ0qvuBUERuYCfoPeuLzLpdRvi2lI7y9fz/Cef f3wLxBCFN7MhBwmtMTlKuAgvV0dDRzQJ+dGLflRSu+MRIJ02FzR4tI9ZZliVZtK83yB7 YtUbKNaMWBMimazGTOmeBSkRXtOnfL0wFlCKz+Vq7hfOtMF4UTxHl8BZxFyT1IWsIXQJ 4LV5yjpYA7TcYKsTU02o98r5a+1xi1Ovkv6yUCXDu6O4aY1yiTXAF2aAvXwrXJK0Loaz jg== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3fque1dwns-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 14:49:25 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 23TEgh4W028005; Fri, 29 Apr 2022 14:49:23 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma03ams.nl.ibm.com with ESMTP id 3fm9391a0k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Apr 2022 14:49:23 +0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 23TEaCmn48628194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 29 Apr 2022 14:36:12 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 49E7511C050; Fri, 29 Apr 2022 14:49:21 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7EE9C11C04C; Fri, 29 Apr 2022 14:49:20 +0000 (GMT) Received: from sig-9-145-61-57.uk.ibm.com (unknown [9.145.61.57]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 29 Apr 2022 14:49:20 +0000 (GMT) Message-ID: Subject: Re: [PATCH 36/37] usb: handle HAS_IOPORT dependencies From: Niklas Schnelle To: Arnd Bergmann Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , Mathias Nyman , Alan Stern , "open list:USB SUBSYSTEM" Date: Fri, 29 Apr 2022 16:49:20 +0200 In-Reply-To: <20220429135108.2781579-66-schnelle@linux.ibm.com> References: <20220429135108.2781579-1-schnelle@linux.ibm.com> <20220429135108.2781579-66-schnelle@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: UN4aB-gpZNQg5N9UU37zP7etRSe9_sx1 X-Proofpoint-GUID: UN4aB-gpZNQg5N9UU37zP7etRSe9_sx1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-29_07,2022-04-28_01,2022-02-23_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 priorityscore=1501 spamscore=0 impostorscore=0 mlxscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 malwarescore=0 mlxlogscore=438 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204290080 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2022-04-29 at 15:51 +0200, Niklas Schnelle wrote: > In a future patch HAS_IOPORT=n will result in inb()/outb() and friends > not being declared. We thus need to guard sections of code calling them > as alternative access methods with CONFIG_HAS_IOPORT checks. Similarly > drivers requiring these functions need to depend on HAS_IOPORT. > > Co-developed-by: Arnd Bergmann > Signed-off-by: Niklas Schnelle > --- Sorry everyone. I sent this as PATCH in error while preparing to sent the same series as RFC. Since e-mail has no remote delete and I lack a time machine let's just all pretend you only got the RFC.