From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (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 8CABBB66E for ; Wed, 3 Apr 2024 12:43:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.156.1 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712148210; cv=none; b=EzMh8MZDkmo9uQ5QAti7JAF7R+ycn5JB2l4RFjPmYrYmI3P1T9viqZeONyn8tZvfT9rizzoImk8RfgjOmjw18m+hT5cjSuq3AMs+aY4c7TEZKAPoDVlT341YenzxVXCiGcv5m91OL+7ZYP7hv1yfGlmAf1rF7RfX/OE6YqCcRZE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712148210; c=relaxed/simple; bh=CxzGTpdXkg4fUNn85DmT3FCxHdc+WS66M2plLyG7HE0=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=sOz5aXP1tJxCVPptYPVascufRU3hcVWInkFXfQ/Eq+sKf6G8VBEulWGCLT8pPXc6qCmyXNqwrLMaj6cco7worzc03HPYh3Gkj6YacBR79gUJe7Kaq7p6exfGFB9XOyuZN6EFPFF4VqVx5O9g60E7AMQxJJdcQ6H05I87UoCA1VY= 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=CjGy258Y; arc=none smtp.client-ip=148.163.156.1 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="CjGy258Y" 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 433C5VLQ019082; Wed, 3 Apr 2024 12:43:09 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=Uv5M8O+T/sry/XP01aR8MaHBdHM+AWWW/MZvvktXdTU=; b=CjGy258YD2s9cDjFEc8zi7vU8/L33kQ3W74hkE8J4pfdIdbhVZu5jzIkrOzN0kuwbfno Epn8lc71e0Sn9rMkJp3wsXODtIT2naK3LtG7Vj+aljjTFBpCR9VKWR453aXoU3Jc77fr CtQzc2qc448FEZIo4vixwM5sMaOigHajrRNDYE282OvqKC/5sKcRq9irtXub7qKCcpgi MsqT1rn7Rewhc/RXp6alfBD3DN2aM8espOAC+2R+jVr5tTs4263WSNXYvRL4HZrlDDYE yErsUqnvgPASaqa94uFiABVwSknSoLgQ9LtUHtkuQ4ckcS80F71ADrg5cF6UNIFtGuXy sw== Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3x96j2g48e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 12:43:08 +0000 Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 433AilxJ008425; Wed, 3 Apr 2024 12:43:07 GMT Received: from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3x6w2u5j9c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 12:43:07 +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 433Ch2Dh18547062 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 3 Apr 2024 12:43:04 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3AC102004E; Wed, 3 Apr 2024 12:43:02 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 097682004D; Wed, 3 Apr 2024 12:43:02 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 3 Apr 2024 12:43:00 +0000 (GMT) From: Niklas Schnelle To: Richard Weinberger , Anton Ivanov , Johannes Berg Cc: linux-um@lists.infradead.org, Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org, Niklas Schnelle Subject: [PATCH 0/1] um: Handle HAS_IOPORT dependencies Date: Wed, 3 Apr 2024 14:42:59 +0200 Message-Id: <20240403124300.65379-1-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.40.1 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: kJvPQlbNZnmKq_rOTTNDBZ_HRwvTk6z3 X-Proofpoint-ORIG-GUID: kJvPQlbNZnmKq_rOTTNDBZ_HRwvTk6z3 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_10,2024-04-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 impostorscore=0 spamscore=0 phishscore=0 priorityscore=1501 clxscore=1011 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2403210000 definitions=main-2404030087 Hi Richard, Anton, Johannes, 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): um: Select HAS_IOREMAP for UML_IOMEM_EMULATION arch/um/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.40.1