From patchwork Tue May 16 10:59:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Schnelle X-Patchwork-Id: 94653 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp356468vqo; Tue, 16 May 2023 04:37:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5S2TThmIJDIIMmtaQ3yglIIZMvuc6DLG/LOxn3KDIEF14FOFKkSaEoMp1jg6IUJc/FHyqz X-Received: by 2002:a05:6a00:244e:b0:634:7ba3:d142 with SMTP id d14-20020a056a00244e00b006347ba3d142mr51493201pfj.10.1684237078261; Tue, 16 May 2023 04:37:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684237078; cv=none; d=google.com; s=arc-20160816; b=h8hX/MGNO0QNOd1cktcWhhi83H/6R2wIyFkTpB/rWNvZNUPXWXVk54G4k+94kr4DiN 8XUgKVO1bNzmUjkmEXkGaa/IpUG9AcUTQldYCGc8tFL9p/8WiPc1GKPrXwG3BupFxDFL zz1ZiMmkFFaqF5/T0QNuv+vy3vWBHtpHTsanUV8AWcDMVs3CCB5aluF1THTaDbBY82F3 /WzQJ19sj4l0Aw5KO5Jr+fSg8QZBsQuxbRSgKj45CSdC8MetDxf6ZVjrId5eQ/j3pqVl 6pAbQNQylTHwk7ejVxM9O0UI13ooYK0KKkH0oZ1dE7wR3TWyFaGTyxaDMCAGgg2AZeAJ BbZw== 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=jrDLOoFUo5SGP37+tLmBsJdOWd+xV1Ul7f2wlbU43Fk=; b=q7fElSsnttpugiRRVDZ2WifvtY2Ff0OP5r9XeAtdMnad7VBycTWGDVZCINI9cTwYR+ r2TZ+SdCHysKu26t9UmeZjGNKv2QlIfhEKOmnqn0Q15T9ICA8iJhtoiHtn5ENUyfCIvk bq3Uu1Zk1pIYxrcoJh0s16uuOdagHiSoOh4IJzNlqiPw/W52zkUv3Vd5ovcodUjfOAub 5kOlrKAUdVhdTiyVvH68sO1X2CpdASKsJ1lb5huX8SPvgKM7I73exIZ5fMu6qFxtC03w d1+0kqX+JYa8O4MlodGc3eFe23p8IHImBpcaoLabmi4RiY2aYx4+yFMmETFMMT+p3g/Y 2igQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=XKAuwRRl; 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 g28-20020a63375c000000b00524b2358ffcsi18566923pgn.574.2023.05.16.04.37.42; Tue, 16 May 2023 04:37:58 -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=XKAuwRRl; 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 S231593AbjEPLBY (ORCPT + 99 others); Tue, 16 May 2023 07:01:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232525AbjEPLBF (ORCPT ); Tue, 16 May 2023 07:01:05 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BE021717; Tue, 16 May 2023 04:01:03 -0700 (PDT) Received: from pps.filterd (m0353723.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34GAqswR008571; Tue, 16 May 2023 11:00:47 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=jrDLOoFUo5SGP37+tLmBsJdOWd+xV1Ul7f2wlbU43Fk=; b=XKAuwRRlsHKjg+GdEO2RgoCu7oHTgZ6te6Ujkt3etMTCuwdv6838/xwy3Jkgrf5fXjck coEKbpZdBIcdynUAmhWCmqqKkPiywnSD+trsMb29BZ0vVHkY4hdzHDvuwXDBMbnbg+Nw LD9sxzvOfJoJkzpJge6kI73Hv0GYqE/NICX6R16Zdn87CZZiZpsMajqRq6wSkN+7v974 9UHnE5RrrTAmW+JNpnGswirbdbScI2fc9Pj04jNmr733YY1t8zlTLDMNez1He8C4/AmY GpcQt+7YX4009vZX03dmD7zJvXZWjmHifSH1dd41/O+99UFRmiRH2j4J3ULXrwOj3bqD lQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8fbg6cv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:46 +0000 Received: from m0353723.ppops.net (m0353723.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 34GArUBA009543; Tue, 16 May 2023 11:00:45 GMT Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3qm8fbg6bf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:45 +0000 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 34G5UiNa005778; Tue, 16 May 2023 11:00:43 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma04ams.nl.ibm.com (PPS) with ESMTPS id 3qj264sk8v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 16 May 2023 11:00:43 +0000 Received: from smtpav04.fra02v.mail.ibm.com (smtpav04.fra02v.mail.ibm.com [10.20.54.103]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 34GB0daU20251372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 May 2023 11:00:39 GMT Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8347520040; Tue, 16 May 2023 11:00:39 +0000 (GMT) Received: from smtpav04.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 29E932004F; Tue, 16 May 2023 11:00:39 +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:39 +0000 (GMT) From: Niklas Schnelle To: Arnd Bergmann 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 Subject: [PATCH v4 01/41] kgdb: add HAS_IOPORT dependency Date: Tue, 16 May 2023 12:59:57 +0200 Message-Id: <20230516110038.2413224-2-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-ORIG-GUID: cerSuj73T9uHE9WSK8RBdPGGDy8sJ4bI X-Proofpoint-GUID: HIwoR0GhtHf4CcDHTsFDw8ZRlel5RDEw 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 suspectscore=0 phishscore=0 mlxscore=0 clxscore=1015 adultscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 priorityscore=1501 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2304280000 definitions=main-2305160089 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?1766050578454464417?= X-GMAIL-MSGID: =?utf-8?q?1766050578454464417?= 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 lib/Kconfig.kgdb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index 3b9a44008433..d6af143ec84a 100644 --- a/lib/Kconfig.kgdb +++ b/lib/Kconfig.kgdb @@ -122,6 +122,7 @@ config KDB_DEFAULT_ENABLE config KDB_KEYBOARD bool "KGDB_KDB: keyboard as input device" depends on VT && KGDB_KDB && !PARISC + depends on HAS_IOPORT default n help KDB can use a PS/2 type keyboard for an input device