Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2710327lqz; Wed, 3 Apr 2024 06:34:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXnA6bg23pnxnV8oFeuiMxhvqZ2DHtk2fL/DpqHmibWwzCqda+3Nw5P50E2vs2W3WPjysUUsrxtpYVRallO91Gy9BV6Y/ltO7pABjQ6cg== X-Google-Smtp-Source: AGHT+IG6TdxDjZ0M4hu+0c3TV/kgrH0oUBViEcDDsSWyFC+NTkc4887wsMrr4l+rIiZGlOYUXV5p X-Received: by 2002:a05:6102:12d8:b0:478:32d2:96d with SMTP id jd24-20020a05610212d800b0047832d2096dmr1621453vsb.14.1712151290000; Wed, 03 Apr 2024 06:34:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712151289; cv=pass; d=google.com; s=arc-20160816; b=sHHqn0wrmYOd16KD5HUXBtfZxHGmtTuUeDQlp+m8tY5yCQ6UefhFjq7ZSc/fqF9k9v Cos15hU9DBzQXeLUWt/mNWJepsGp090Tlwk+NIFihJN8Rm/CcuM3w0G4RE6RR65yzJEf SjzLRx8GUb9WySHSS1Idsm+QZ6szT8mfc+/BmeKHtbqtl05U1vCMaMtjbCa42K0wL616 WsDbJrfSRB4BGUB/a0D0ASUy/JoAJ9L5WvZzILChK4Bu7k8VH5UOjyqqbOVW5kNxbCWh sXge3yKO5UVRSCpWAZNjyfmPKYXAIfVgUp3co6v3HtRhGy/DVB+9BpM5G1lupCOFMgtF xzWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:message-id:date:subject:cc:to:from :dkim-signature; bh=KkWFT/+jhv0U959o9d+wWEnRol96GF7q8PvCzsZ4Flg=; fh=+sSyHTkeSnfsPaLORQslHuSbn8rRSKO+CnXZPithcwk=; b=e7q76DW7z8ccYNmPoooXq2dFr6bkmcaiipYs3LHXICfgdFd4qu/RDv7vtnYg7hQj2H Mo3yqsaYC6q1ZwbGH02qZL/KxgXjToStHkT/qUGXVvZgjnzJEVe0WUDv/VPzhLF33Efv yKiJDat28RTO/hzzcFNQXzgWS8tFBsGm5Rkmc5aN2ryBiAxI6xAcdZueHLMW3kRd4+yq qrb0kuNK8Or5JwjjK7tkm1d1NtC9eaqoo/wBFUM3FzT5gJgQ0GcpPDI4vb1BDXvrVe+f CmM/3/OEsI7MwO84GprMIGJ1wMPTLa0oDdT9YkGR5gS9NGAPNlBdNEM9G3SXoAUYvGx5 OEhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Jarh7K/s"; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-129844-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129844-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id p15-20020a67f40f000000b00475fb4ee765si1672325vsn.778.2024.04.03.06.34.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 06:34:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129844-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="Jarh7K/s"; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-129844-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129844-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 64A681C27801 for ; Wed, 3 Apr 2024 13:33:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7071914A0AC; Wed, 3 Apr 2024 13:31:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="Jarh7K/s" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B7DF14900C for ; Wed, 3 Apr 2024 13:31:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712151066; cv=none; b=RCFvhqZQLoAqYUq58dU+ElWQlxRlAqWCXLnul2VFfN5wwI2Kclx5lNOjDUk7PC3+kn2Ff0tKPwarPCMi0g2cDL8WLqb/+pdZPzaw9vAqIglGntRcoznJMQqQKJA582M0bXO20KsGpWq/t52sCknlVjs5perOxvRC73IYtDyPtxU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712151066; c=relaxed/simple; bh=ysqj/Nahnbkho/0q1SMCzJvSE9C/XUY9B4X632GACzU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=r8ms+5j4EK9tkoj+gj/2qJlVSZLUDgezm++gOsJXOWPpyBRNL2YH76U7N3VNXhb6uQijhxxyErgNSFi7nObnpxalr8grTQpT7FhL2rjU23mFKv6ri/1XA/a/Dtx2qaQKLECX4D5Fw1IgRDLUB9kOcWAN88SokBtUzW3/kN2hUNw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=Jarh7K/s; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0353725.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 433DUhvx007281; Wed, 3 Apr 2024 13:30:54 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : mime-version; s=pp1; bh=KkWFT/+jhv0U959o9d+wWEnRol96GF7q8PvCzsZ4Flg=; b=Jarh7K/s1xH/NYR6kMJRjyvXg05Nj9M9Fis8BqhWfXDnQu0S+zddjor8S0jXjPCgDilP JrkuAvTMRwI9JYtjsLm1lHnagMmGLNVX8TGLDthns7Mygxfwub45Aw4tOtaLAHzzXjSy dyFywhlVXT0oG9+5qGaYGP9EXLcV7U+v2Z0wWJ3xxpFyEfgGm2D0rwm4N+zAySpATOwQ G8jyFXOxy4X6XTv/UNjDk5XTKL8LJWw3EIUPjiv/wpVcWJx3RmU95Hc5eGy/v8c/UPbP qtmczrUi15BJEoq+Lhc0F7PHJlejT9M22j6GEzXfTIkIcPzB3OD7ma+nst++rjZAeGPr kw== Received: from ppma11.dal12v.mail.ibm.com (db.9e.1632.ip4.static.sl-reverse.com [50.22.158.219]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3x9826r020-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 13:30:54 +0000 Received: from pps.filterd (ppma11.dal12v.mail.ibm.com [127.0.0.1]) by ppma11.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 433Ar9Vs029593; Wed, 3 Apr 2024 13:25:53 GMT Received: from smtprelay02.fra02v.mail.ibm.com ([9.218.2.226]) by ppma11.dal12v.mail.ibm.com (PPS) with ESMTPS id 3x6ys350v1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 13:25:53 +0000 Received: from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com [10.20.54.105]) by smtprelay02.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 433DPmMn45285688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Apr 2024 13:25:50 GMT Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1C9CE20049; Wed, 3 Apr 2024 13:25:48 +0000 (GMT) Received: from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DD9C920040; Wed, 3 Apr 2024 13:25:47 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 3 Apr 2024 13:25:47 +0000 (GMT) From: Niklas Schnelle To: Andrew Morton Cc: Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org, Niklas Schnelle Subject: [PATCH 0/1] kgdb: Handle HAS_IOPORT dependencies Date: Wed, 3 Apr 2024 15:25:46 +0200 Message-Id: <20240403132547.762429-1-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.40.1 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: iGsXQDKRB3pJ7fioNw3HDo_IpvnrvY9L X-Proofpoint-GUID: iGsXQDKRB3pJ7fioNw3HDo_IpvnrvY9L Content-Transfer-Encoding: 8bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-03_12,2024-04-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 mlxscore=0 lowpriorityscore=0 clxscore=1011 phishscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=999 spamscore=0 adultscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2403210000 definitions=main-2404030093 Hi Andrew, This is a follow up in my ongoing effort of making inb()/outb() and similar I/O port accessors compile-time optional. Previously I sent this as a treewide series titled "treewide: Remove I/O port accessors for HAS_IOPORT=n" with the latest being its 5th version[0]. With a significant subset of patches merged I've changed over to per-subsystem series. These series are stand alone and should be merged via the relevant tree such that with all subsystems complete we can follow this up with the final patch that will make the I/O port accessors compile-time optional. The current state of the full series with changes to the remaining subsystems and the aforementioned final patch can be found for your convenience on my git.kernel.org tree in the has_ioport_v6 branch[1] with signed tags. As for compile-time vs runtime see Linus' reply to my first attempt[2]. Thanks, Niklas [0] https://lore.kernel.org/all/20230522105049.1467313-1-schnelle@linux.ibm.com/ [1] https://git.kernel.org/pub/scm/linux/kernel/git/niks/linux.git/log/?h=has_ioport_v6 [2] https://lore.kernel.org/lkml/CAHk-=wg80je=K7madF4e7WrRNp37e3qh6y10Svhdc7O8SZ_-8g@mail.gmail.com/ Niklas Schnelle (1): kgdb: add HAS_IOPORT dependency lib/Kconfig.kgdb | 1 + 1 file changed, 1 insertion(+) -- 2.40.1