Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp149847lqe; Thu, 4 Apr 2024 02:30:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMsT0ivUpEdv7cJhnO1+nSvcFvvtQIt6HVmo6IFQ7mB+mjKl/bV7Zoiw73LkPckqp+zSKhjS0k0yWufOfxmF6u5fceWTX67QsU5CFNJg== X-Google-Smtp-Source: AGHT+IGrfo66cq0MhlGnuSbPs0VvdOIB0cAEJMRoNGZDVNWeVpq61LYYHz0R2HKYqkeA6x8r6EaJ X-Received: by 2002:a50:8d4f:0:b0:56c:5a49:733 with SMTP id t15-20020a508d4f000000b0056c5a490733mr1335618edt.10.1712223002568; Thu, 04 Apr 2024 02:30:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712223002; cv=pass; d=google.com; s=arc-20160816; b=bMrGS7Pm7Im3p94oC9UoxnwIvvtV/jA1enwM1epRMhy6hl4Ug8pN5mBuVee2DhhRxt /0xcddw9RHsd7HZaEA0V94tXdDBu8pBthwVCJQZ1Q9GVekTiGoSmwDLvu1kaL+T1mqBv xkErrQorRJeEceFlgtSx6pwZIiVgSkvQY4UJXUWoe1dKgYy9yB+4GgcpOIVJ1nHmcFl5 VoCEcLdOW7QN+Fbpn+9a22Km3LWpttcUjOfhJA5u/5h1NtL1h/29HLu5pzU547CLHxeI ksa/JiRDKnZAjHXZG1MXfkCoqyF4SKH0/URtJOEL49N9HV3SS6czrzlKirZiBqMIfNCl Qtrw== 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=fTBgcB7azCZbQ/QcIvc9v9Z7pd/0bT6XdzC9MEtuYIE=; fh=7LnZYXd6+3tjyVry4XL0M2o+5s460r9aMzQ6KGgLWV8=; b=m74Gnk9ROBIfIK4a+mqAfQc9JaVwc35vLEDlaVfevauVqAnuAhzAjiKQT0wcSRfZ38 cumtS0Sq7jCLK4jQlcwBFArpD8KEnwzygSf2QG0FTZ/7srcoqciGPF7QGgao4DUmLULb +FPbSNxAKK2nSXeOItDg8LWQ/7VPjOLuhyh7cTlFkgIwjGIsQobx5erUdd+EDDgLC1dS BK23pXw74TMji/YTgs0r0/yY8Q4fcJu+immiudrsrsfBQ+OsLgkWefJp3hexF0wbrIbT L1QUF28DwfKCeY1n18Ux415WbEqt8Gq43wuvPt3Mu09Fk0gdr0Vc5zwM87TiJmlRHbPy 7C9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=OzZ8xerE; 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-131168-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131168-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 r9-20020a05640251c900b0056e064b8727si1704067edd.354.2024.04.04.02.30.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 02:30:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131168-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=OzZ8xerE; 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-131168-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131168-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 4D9571F25D35 for ; Thu, 4 Apr 2024 09:30:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70469745CB; Thu, 4 Apr 2024 09:29:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="OzZ8xerE" 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 9342874438; Thu, 4 Apr 2024 09:29:47 +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=1712222989; cv=none; b=X5dgYehKmJ3erKlztiNQP0cPzwA7ohofw0BUOxG7UwbzUo/4k0Wjxg+d9g1WEhZO9PgKCq/etJqAupj2DPkoox/sWX+6a3eFjP0GO+mvCLMu3rtpQ27yZxYBI/Kdu/mGCKp49pS8ejLitffTDjfN56cqXvG8wlM7dqzgMN8eg5c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712222989; c=relaxed/simple; bh=2QnvXzbebQJrGbHL7BZuZLKSyvtQ0R8V8+Jj4+BLYXA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=sx3YOrQyxlsET/3KgnqaYfgfVH5ALyTCuqUxKXVkL2IHcAtrWoTj6yXWxQ8S7vWBZ7Ri0ne4S1hRVlustkYcvYS607R+7nUjZ6lgMmmxsgKKgIG6KfFQqqhZUvjpoItNQ+xV1j4ts1FRj24DnbtFy0FGE5Phe7fpQMqLejanGmY= 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=OzZ8xerE; 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 4349NQ05024591; Thu, 4 Apr 2024 09:29:43 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=fTBgcB7azCZbQ/QcIvc9v9Z7pd/0bT6XdzC9MEtuYIE=; b=OzZ8xerE7bCc5MUis66sswg8vhlwFUH0gyHDdnUck+jHzcpLhoLa/ZwirZw3ynIbvBKQ hI6aooyZ/r2765IG8Jo7Ot5cPH9OT2l0w468mg2MH2yP/Ug9pvkyNFtbgFPlT1YEw9Oi EiaXEnP52EwrFqMqPG9J6cW52K9AObZWVPFmBIm9zSR0pz/qDYT0mQ+kAoq/pBBrQDXG THkbiVhR/XRFu2OwXyxi5f15rWPThBnsrRDFD6elpWF4NXqmNBttfHTWnWD54ulRIUCb czRZqotXDbTSYzWyHZhsXSQb+Q2LOlO6YkFTyVYN0Uz8lDmpur9dody/RzV2UEqMEHue SA== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3x9sh9g0jr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Apr 2024 09:29:43 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43470nnx009109; Thu, 4 Apr 2024 09:29:42 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3x9epxu9rj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 04 Apr 2024 09:29:42 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4349Tac648431362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 4 Apr 2024 09:29:38 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 812992004B; Thu, 4 Apr 2024 09:29:36 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 54BD520043; Thu, 4 Apr 2024 09:29:36 +0000 (GMT) Received: from tuxmaker.boeblingen.de.ibm.com (unknown [9.152.85.9]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 4 Apr 2024 09:29:36 +0000 (GMT) From: Niklas Schnelle To: Damien Le Moal , Niklas Cassel Cc: linux-ide@vger.kernel.org, Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org, Niklas Schnelle Subject: [PATCH 0/1] ata: Handle HAS_IOPORT dependencies Date: Thu, 4 Apr 2024 11:29:35 +0200 Message-Id: <20240404092936.3127972-1-schnelle@linux.ibm.com> X-Mailer: git-send-email 2.40.1 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: h6slJHewhCna2YVjds5j_qF08PVAV7jj X-Proofpoint-GUID: h6slJHewhCna2YVjds5j_qF08PVAV7jj 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-04_05,2024-04-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 priorityscore=1501 clxscore=1011 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 adultscore=0 bulkscore=0 impostorscore=0 spamscore=0 phishscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404040063 Hi Damien, Niklas, 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): ata: add HAS_IOPORT dependencies drivers/ata/Kconfig | 28 ++++++++++++++-------------- drivers/ata/libata-sff.c | 4 ++++ 2 files changed, 18 insertions(+), 14 deletions(-) -- 2.40.1