Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp1864lqj; Wed, 10 Apr 2024 01:42:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVxCT7XTt2Jnm+BLz8kO1dQk8644QBxk2s2QROUDuAkCmv1m/78cAES0c8Lyy+AT23K+m4iDisNMjuJBVdl65MhZqN0c6Ps6Kd89OGJ4Q== X-Google-Smtp-Source: AGHT+IHadYveE4abv0swIqm9e8389V0OoRIgMqwF5roUSFPZvlxu/PGKLoQBKbXmJe0eoqqw9U15 X-Received: by 2002:a50:9558:0:b0:56e:4ac1:88f with SMTP id v24-20020a509558000000b0056e4ac1088fmr1312626eda.27.1712738553543; Wed, 10 Apr 2024 01:42:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712738553; cv=pass; d=google.com; s=arc-20160816; b=z/uf95ys+N6gL73+1NXl1O6pGAPrjvnEbOfOBRAUiaNE+x6igeXM0xAeBsrj+PEtYf ubYR+TZDCyYyXCs8JOZfl/zlib0uizMKqmRvwJhfpamDLDeHczw7dlM8Ot1TyvmAedtd mRqkmSE/I7Gk2IBjWBUC5AnDDZaAWbqKNgY3h8Pz9oUB6RRReYTFnqA4bB8y5znqcLWy UDA6v6asdZR4bim6KuuevYEPrpL9/IWK99MF0e6I9wNvosxfNq3MJGEytFE9jDm/GfMM 4/TMeI0V90ijK2v/2jMBhWYOwBxmDLbF2DxYIh/gq/S5/osa26Nu707UWMFcod7CLPKm cXXA== 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=FYNPn/ZEtEV4kUA+deN8z40Grjyrjzsl/i2iEbw8aQI=; fh=Dt7uUHg6tLiwjaTiP4IkK9zjDEEujZLCTORq/GqaF44=; b=DJlp/QH1/hQpE27/E5Uw4Smw711bbwvRzFsTvfodM/kRVtWQ/0EWQp9WcZWEOqSRI1 p8sByCXxZfM3yHofPLqKUFil22ReB27Nf3u4iTu1SIcIw7epo8DfRqowDuEx3q93HP0y Pthus1GRavI2AxtpFE6/p83KF8luQcJn+l/8xHJuo3sUHOYUfI0wP2T+D750zQEEMgp5 ei3mkm+c72CNPLx7JJJjGr7NM+zh0x0sFcEcFR0fycNMFmJYGwYFU07FzFrxFZzC/Ejg Z51vbROzy/E5ZI0VnsYAgyXL0Vj6Xk5i4h/27/2doa50VyUKvbsOMewMbZHVOTWJXVIn y0gQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=SbSVGYrB; 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-138180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138180-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u11-20020a50c04b000000b0056e2c60b1d3si5718711edd.649.2024.04.10.01.42.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 01:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=SbSVGYrB; 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-138180-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138180-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 488691F22847 for ; Wed, 10 Apr 2024 08:42:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91545154C0B; Wed, 10 Apr 2024 08:42:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="SbSVGYrB" 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 1A795EAD0; Wed, 10 Apr 2024 08:42:23 +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=1712738545; cv=none; b=nN0B2Wt3Fn7wKEQbeLw+LNvHkFhFntM+cjPD/fKL7YwCENUNoiD3ng0JmBbKa2f3FouQSqmUFqcPuuTpg6s23cocCrHWCpCvET9dSvs5VkHnfYy6ocvWrfb8Ma7/aWxWi3L50pgmCf/yDrNClDWYy9wp4wFJcEBbHfE7/lnzIJU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712738545; c=relaxed/simple; bh=zgD4h2tdgOKxahcEGju+xnEIk5FkSqhzKcu7AKKSMlg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=opf5Y1ZwczNLoarySntLIyEObG87W0PsCrTMZ1NnwMVAuYEfEMNQruiqY6lEvmuCt4bMZwHvCG4T10nRaSZqgICu98LBcNj6f0PegYLiztvpHMHeuEI84XJ/iFbW2wdkroXzu6tQ2+6UVT5xYoA+W5jKdriiv6DGVC+ufBkKAOA= 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=SbSVGYrB; 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 (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43A7T5rK001569; Wed, 10 Apr 2024 08:42:08 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=FYNPn/ZEtEV4kUA+deN8z40Grjyrjzsl/i2iEbw8aQI=; b=SbSVGYrBwz7hvJ6ciPm9qebhE0RrAkfQ++I5FRJ6pnw0Ie0w6GqIdfNfYnQCb3+8cqCK Mxb+MNwp0xEWa4WGDHzLMBcLJAq/Kq16AhJrIUL72SIYRGyA5EpSYdm3nkM06/MdXbYB ObwSSGRMwt5S3oWoKVBrjHo2CTN/MoCmRIM5U4pfy1YvJUv+sqVbZDCd5ulWBh4bjk/k Wu1Ayx/s32GmKrqpsZ7b/X5scakqAAuEdCUBBcYyvBhJ5nu1mXSEGecngpswxM4cbgcn xgS4nTuY+m9M18VQZpj8gQ3ldeGAsPSOi9kV+qAvxfJRCTnMheUlwkJ6cyqcCEx2Ly6X xA== 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 3xdnjs0bbc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Apr 2024 08:42:07 +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 43A6aUhS013554; Wed, 10 Apr 2024 08:42:07 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 3xbgqtkwww-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 10 Apr 2024 08:42:07 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43A8g1jI46662018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 10 Apr 2024 08:42:03 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BBA152004B; Wed, 10 Apr 2024 08:42:01 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9C78B20040; Wed, 10 Apr 2024 08:42:01 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 10 Apr 2024 08:42:01 +0000 (GMT) From: Niklas Schnelle To: Wim Van Sebroeck , Guenter Roeck Cc: linux-watchdog@vger.kernel.org, Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org, Niklas Schnelle Subject: [PATCH 0/1] watchdog: Handle HAS_IOPORT dependencies Date: Wed, 10 Apr 2024 10:42:00 +0200 Message-Id: <20240410084201.1481930-1-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.40.1 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: SotcYkK1g1t-hT_77sKaS333X9wa4BSX X-Proofpoint-ORIG-GUID: SotcYkK1g1t-hT_77sKaS333X9wa4BSX 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-10_03,2024-04-09_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 suspectscore=0 impostorscore=0 priorityscore=1501 lowpriorityscore=0 malwarescore=0 bulkscore=0 spamscore=0 adultscore=0 mlxlogscore=999 mlxscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404100062 Hi Wim, Guenter, 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 branch[1]. 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 [2] https://lore.kernel.org/lkml/CAHk-=wg80je=K7madF4e7WrRNp37e3qh6y10Svhdc7O8SZ_-8g@mail.gmail.com/ Niklas Schnelle (1): watchdog: add HAS_IOPORT dependencies drivers/watchdog/Kconfig | 58 +++++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 28 deletions(-) -- 2.40.1