From patchwork Tue May 16 11:00:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 94669 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp365794vqo; Tue, 16 May 2023 04:55:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5bRyanG2uLDlAYsc2Rk4HwZ5LGLfbNogy+ycS7a/aczznW9FU6k2l+QdKXsh1kYXR500Xz X-Received: by 2002:a17:90a:7bcc:b0:252:27d9:7ef0 with SMTP id d12-20020a17090a7bcc00b0025227d97ef0mr19720438pjl.27.1684238148091; Tue, 16 May 2023 04:55:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684238148; cv=none; d=google.com; s=arc-20160816; b=vZxlPe9cEOekVA1HzmhJLQw10GHbl3vUa7LsRL8KD1HNFpJoEs5GNFHYqJg7FUlCXW H0DPh3xDfY/s/TNqZk1+PBqHtHbgudGGN+y+Hiubh+AcmjQgMM5pMoEFI+E07/ggH/BO D9puw0+hjoOeN7xqh+I4Szw7ra7Zafe3Ueu3jDwM6WUyctdNYq5qdyYB15o4D9XKd4iv XabOtkrhM62w2QTocSwD3JD8VX3j0jbc1MtCXs9xygko3+md+SIeAMELWAXWGExf0W93 uo3j2SCYOc3YpbkXUhNEgtDgnw5RRG63WDuhqU0v7GZNKAkMIM55qc0dqbwtZ9JwNK0+ i7lQ== 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=xNKkUtS5V9A6gTi051WHLHlkpzinV3BhgYAAHXmlLuc=; b=jEtb9UVB9LwBDg97vR3/fMRrJEs/mJQHx+MxNfJ8Hx3No/qUgQtxIBuGtxpXhLDhyR B1GisWB2oKtQ+Yavuf4iiwj/VN/zBLBD2cwHiPwNpQ+U3vZ0yM7MNDiyBMUq+ZTMAXUX YyHtEJFPnLxUS8iJGdELbTGAyK8scNACtPiBiSv8uhCFHYE0upln0j+KRLBCJa/pbn3Z qb8ywPRcPSAT91YukgY05Vt0nTPmlcB9HKZtMoMd4tONRymIEtrHxDWfo2AeHZpkaGIl UHEgOa6Rsl4RgtEKv/0O67S0/jbCbcWnPKGNizf8gKEF0e76llmYxDoJtZl8zZuNGc/6 osWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=FrsjYnGV; 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 ob14-20020a17090b390e00b00246a5991cc6si1663415pjb.162.2023.05.16.04.55.33; Tue, 16 May 2023 04:55:48 -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=FrsjYnGV; 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 S232809AbjEPLXE (ORCPT + 99 others); Tue, 16 May 2023 07:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232752AbjEPLXD (ORCPT ); Tue, 16 May 2023 07:23:03 -0400 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 89BEF271C; Tue, 16 May 2023 04:22:46 -0700 (PDT) Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GB0HZi022119; Tue, 16 May 2023 11:05:37 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=xNKkUtS5V9A6gTi051WHLHlkpzinV3BhgYAAHXmlLuc=; b=FrsjYnGV+l7nxMZIaxuW1jPtOvhXd6vwtVb5RwTFlWO8Ai9PkyuMZdb43RTiaaGcQ2Sz VPxc41ndm/JLH5MBhkorFghM/IhBJS3GOY7qbaeOATdqHxLqhatM3rYIGF6IdCDcuOtR wYW3SEf5se58r51MNqOgdIGQ/X7Lva5VIw3MW45WEh0ziokjOhR7EE3JOXKGptey0WLA uiTOKrZhEh9pjEQpKTlT8RC5foiVwtol/wwyvaFH/P1s/C/olHe5TEE9SaY8H/H7Ne4z 1vJZLITa5w6j7557QsneqDk530AKx8f1O/IdywiSkeyJ7YhxZ4ueY8oqXaQhGRFWVMC/ 5A== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm82f0t5s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:05:36 +0000 Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34GAfEX4017994; Tue, 16 May 2023 11:05:04 GMT Received: from ppma03fra.de.ibm.com (6b.4a.5195.ip4.static.sl-reverse.com [149.81.74.107]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm82f0pgt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:05:04 +0000 Received: from pps.filterd (ppma03fra.de.ibm.com [127.0.0.1]) by ppma03fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34G67tJZ019289; Tue, 16 May 2023 11:00:57 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma03fra.de.ibm.com (PPS) with ESMTPS id 3qj2651apx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:57 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34GB0sb344499412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:00:55 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DC0DF2004B; Tue, 16 May 2023 11:00:54 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6F7E920043; Tue, 16 May 2023 11:00:54 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav04.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 16 May 2023 11:00:54 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann , Sathya Prakash , Sreekanth Reddy , Suganath Prabu Subramani 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 , MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Subject: [PATCH v4 19/41] mpt fusion: add HAS_IOPORT dependencies Date: Tue, 16 May 2023 13:00:15 +0200 Message-Id: <20230516110038.2413224-20-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230516110038.2413224-1-schnelle@linux.ibm.com> References: <20230516110038.2413224-1-schnelle@linux.ibm.com> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: mk4l-hpaT0MAr5MVMJuZLZ30aivf1pOK X-Proofpoint-ORIG-GUID: IMGwTAlAKzwKqQ7f6yjmo-RIT0593f6k X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_04,2023-05-16_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 bulkscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 malwarescore=0 adultscore=0 phishscore=0 priorityscore=1501 clxscore=1011 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160094 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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?1766051700216966082?= X-GMAIL-MSGID: =?utf-8?q?1766051700216966082?= 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: Arnd Bergmann Signed-off-by: Niklas Schnelle --- Note: The HAS_IOPORT Kconfig option was added in v6.4-rc1 so per-subsystem patches may be applied independently drivers/message/fusion/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/message/fusion/Kconfig b/drivers/message/fusion/Kconfig index a3d0288fd0e2..88a6e506a942 100644 --- a/drivers/message/fusion/Kconfig +++ b/drivers/message/fusion/Kconfig @@ -2,7 +2,7 @@ menuconfig FUSION bool "Fusion MPT device support" - depends on PCI + depends on PCI && HAS_IOPORT help Say Y here to get to see options for Fusion Message Passing Technology (MPT) drivers.