From patchwork Tue Mar 14 12:11:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 69560 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1721082wrd; Tue, 14 Mar 2023 05:16:37 -0700 (PDT) X-Google-Smtp-Source: AK7set810J5JPy7blR/oKw+qGt79YFXdYnr2bodVJrGXLp65BDaBF32p6WzcZFxKCi6k8BH0Zvsf X-Received: by 2002:a17:902:c94f:b0:19e:73df:b0e9 with SMTP id i15-20020a170902c94f00b0019e73dfb0e9mr47459661pla.21.1678796197126; Tue, 14 Mar 2023 05:16:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678796197; cv=none; d=google.com; s=arc-20160816; b=xZAIJ91du58pcAgT+On1dmx+6M6hU5RSdwBowRBMBiDISwV/HWaEK1RahLhZWiUrow yi6xcA3AjvMr2nvgFfcO57N4Bvq2QGPJI9LWxITQ37KOMwgV2Ug60072T/iz/Ck51kBI oZYNJKLKIcGSD3qwBUTXihDS4ebBipCTYkN/o9Dkcxd+HRgsv2FPl2EdNBivdjL2LVEM zKar//QHXJblALRFNoRuMcXynpIuUACgKcngxhL/yQjbQi4iXcUEiJ43CjEvqu5RxIVI S5GZIuF6qLB6AWf+gy/+W8Zovz3q8R8AMpoCGn25Wlp8cK8j1BhIiVQSj+6ND6B6uAwD 6jNg== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=tB/P7ATyxenNTmxe1GmAjnypUakLdBfrmfOs1am8WME=; b=ciyNDvZRcSY/DEE9k7TviifDm5pPkAR/H1iJRx1q26D7MRVTOCrs5LzJnWgc8DX/fb RVPVrhtsoE6rgUlq4jMuhuXT42MCIesA7Kd1+6jgCy9OWlfUIxMHhwqzwg4d4g+c/Y0q igfrm3uPNwrTOB4EvfjTfGv2TQ5xladN+zyzE11zYQ0t9JQ/QTU56Revp6k5mQQ0oQsZ fGgWWC/6cWoGYR8P4mHE2u8fSsCPtR69ed4ZCmu+l3Iw4P/BmDwNNss8s6kljA46leBk UUEf7YH7Mou0VmkKSj3zurTmc6fdI26K7Ok0dqLR6Ix7wUFKWZ1wnYhrlqIm4A1LW5sF Rcxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=cyeDreqE; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id li8-20020a170903294800b001a0448731c5si2330561plb.506.2023.03.14.05.16.22; Tue, 14 Mar 2023 05:16:37 -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=cyeDreqE; 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=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231803AbjCNMNb (ORCPT + 99 others); Tue, 14 Mar 2023 08:13:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229925AbjCNMNR (ORCPT ); Tue, 14 Mar 2023 08:13:17 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DD3F17175; Tue, 14 Mar 2023 05:12:45 -0700 (PDT) Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32EBwC2S016799; Tue, 14 Mar 2023 12:12:28 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=tB/P7ATyxenNTmxe1GmAjnypUakLdBfrmfOs1am8WME=; b=cyeDreqErwzDRhuxEGSS2TkWem15jYqnaA9dToCz+uucm1Xy7s+ZlnPgAkVXngjCqzoT VTzHE6APHnYNa6s1nqPmdnzb9P7GrcxwGEOhsoqWm+r65fTieLJY26YcixoctjbKFxt/ KpaCQLkrx8Ra2eKNhRLBDel86tbc6/xwccUQIONzzM1tlFaaZ5jCMQGHe22YaXC5kBXb vWaY14g4mOmDn8C8xshUIxqgZh8cXB7nQ5mh26BkjbGdcWxmWJHoYKab0LlcWEaafelS n++9HmTsBK2WedHR38d2erenIcm4D+mFzlzUUO7UUUy5nCbpFuh3F9A+u0WeEM2eSvZX 4Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paph23u52-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:27 +0000 Received: from m0098410.ppops.net (m0098410.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32EAbPHm005258; Tue, 14 Mar 2023 12:12:26 GMT Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3paph23u42-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:26 +0000 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 32E8dNFS028582; Tue, 14 Mar 2023 12:12:23 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma06fra.de.ibm.com (PPS) with ESMTPS id 3p8gwfks4w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 14 Mar 2023 12:12:23 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 32ECCLAi46858832 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 14 Mar 2023 12:12:21 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 68EDD2007B; Tue, 14 Mar 2023 12:12:21 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E60A72007C; Tue, 14 Mar 2023 12:12:20 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 14 Mar 2023 12:12:20 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Damien Le Moal Cc: Greg Kroah-Hartman , Bjorn Helgaas , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Mauro Carvalho Chehab , Alan Stern , "Rafael J. Wysocki" , Geert Uytterhoeven , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, linux-pci@vger.kernel.org, Arnd Bergmann , linux-ide@vger.kernel.org Subject: [PATCH v3 02/38] ata: add HAS_IOPORT dependencies Date: Tue, 14 Mar 2023 13:11:40 +0100 Message-Id: <20230314121216.413434-3-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230314121216.413434-1-schnelle@linux.ibm.com> References: <20230314121216.413434-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: JYTQ8Gzm14XXA76Vp2bOyDsDVcS_RRoj X-Proofpoint-GUID: KUUDBVC_s6UJnWGB-1_JWP1rwoc_YTok X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-14_06,2023-03-14_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 malwarescore=0 suspectscore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 lowpriorityscore=0 priorityscore=1501 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303140103 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760345401042933688?= X-GMAIL-MSGID: =?utf-8?q?1760345401042933688?= In a future patch HAS_IOPORT=n will result in inb()/outb() and friends not being declared. We thus need to add HAS_IOPORT as dependency for those drivers using them. Co-developed-by: Arnd Bergmann Signed-off-by: Niklas Schnelle Acked-by: Damien Le Moal --- drivers/ata/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig index b56fba76b43f..e5e67bdc2dff 100644 --- a/drivers/ata/Kconfig +++ b/drivers/ata/Kconfig @@ -342,6 +342,7 @@ endif # HAS_DMA config ATA_SFF bool "ATA SFF support (for legacy IDE and PATA)" + depends on HAS_IOPORT default y help This option adds support for ATA controllers with SFF