Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp169893lqp; Thu, 4 Apr 2024 09:41:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIGGm46m/L+lW4wAtmu4hpePCoHH62+5XkcAq/34WxyMvANLnwtK7w1N3QZXgQ/c70fL5OgPNu4CO2xWzHKt/egqY11w1kr0Wvixzm6w== X-Google-Smtp-Source: AGHT+IEd7eW5K8jaTz6qu8ZLNoB3EhXKviKKaIBsQ4SdOn3F+a/GUgMlm58Y3uxamZtI4CH7YNf2 X-Received: by 2002:a17:902:a388:b0:1e2:b393:a15c with SMTP id x8-20020a170902a38800b001e2b393a15cmr1573774pla.59.1712248898309; Thu, 04 Apr 2024 09:41:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712248898; cv=pass; d=google.com; s=arc-20160816; b=qLs44/q0dsBKJ9AsVGticJFrnrOeV4L5KhwBwwnu2zXry3IsJ9v0D0KgM7DPCu6pnP V5AicX+6UsZWAK5RBAyba4yG8iHVYJtA2tJDRj5P2SpwBOF6A8Ly4thEZomva8LwKuk1 z9/TZV3nmGnzWgKtYGN0GYS4xKILzV+Gff3POv06cV/4TWeMa5b+xvFRCkcpO5uevd1F nL8Ld93JgjMcEFzCmHd1zJOsKQjUaVmn1ejf9iG2qrXJOOc8GDIvYQkSfW7po7wiQvW3 pB9D9IDs3yg/F/zh8wYaOZLp02EfNpUbkLsYfcmThs8vPFlQkAdBySlgdnvfN04Skenb AtlA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:sender:dkim-signature; bh=koBbAALBJX5u2i+CgjXOjC27/k7ODf/jfcl7opMOdoY=; fh=RjRO8RwMtAZIyRRr6G/l/G5DsK9HKTbXXsseYDjHCMc=; b=hNJ3U6wKop8ncp2uCHOYh8uVTfJTfxOibABvu6ZZLi5kevY/HXupebqL6zf5sdr2iT LgkcUohLQ/OoZkRLNb5Aum4nBVMxGXcwq1IzoeOO8NC+FohFPbcFHSeKGiO76bxRAlB/ 4wgbfgTZ0AxKANyLBLIUyz8SmJ1p8dVh8dhzRuIw60ggJkBtXVEZzjWpxP3UV2RfZuPV fkpncbBj7bovFiGvFrKrNxPG+BelCih2eLm6gddyui2YGIYHl6E8dlWATGTEQWSd4i6Z DAFU6GRUOaS9KKKr4ICmBIinCMNBjb0ipiA3wP9QAGGzDcblilfNl1VD2ax1v398DHam WbTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XIIzXA8N; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-131839-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k17-20020a170902c41100b001e08b6c8189si15750076plk.589.2024.04.04.09.41.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 09:41:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131839-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XIIzXA8N; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-131839-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131839-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 6444F283136 for ; Thu, 4 Apr 2024 16:41:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C09401C6A4; Thu, 4 Apr 2024 16:40:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="XIIzXA8N" Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7293B125B9 for ; Thu, 4 Apr 2024 16:40:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712248859; cv=none; b=kpUv1r7t0dfn68rV+iInfWg625g110DHYNXnAX6VBePkNL7Zes6fJk58ZC76vimVdahmZUO/HZlz2hv+tR2dWfHaTf7Bhj9HAIZol5QyKlU12CT2OW5foDiImABsK5ySzBlvEykOwvi04U8QeY85Y169FN3BprWHe30xYD2rSpI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712248859; c=relaxed/simple; bh=b2d0qQYbju9lgtc5nmj7jxcijpQBXP6WITuwhntJg4w=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=d1N9gEsodYWn8X4UfrYhPuFCcD8NBRMmAWMgKUeywznZxRTFw/ZhDIh6Lkuygfk68XbGHDkZoCgBW0PVYG2O51tvqTBr/jK7gxZ7/m5epQhKhPtDS5ZVYM2ortWwz0QrLa6eLAsfbMnz+cvNLkpiy4TB4vn3UofGSulBEs8ZVpM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=acm.org; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=XIIzXA8N; arc=none smtp.client-ip=209.85.167.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3bd4e6a7cb0so530614b6e.3 for ; Thu, 04 Apr 2024 09:40:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712248856; x=1712853656; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:from:to:cc:subject:date :message-id:reply-to; bh=koBbAALBJX5u2i+CgjXOjC27/k7ODf/jfcl7opMOdoY=; b=XIIzXA8NloCA+HctKO/dRtDe4BSxpy27wCLstsV1+E342PjD+tRh1KzpIFrNZDTlbC +qRm5Tq0rqAFHg0uqQ8jbRlrtX+Uify+nUX+qa02sZlJCjt/ZnSdj07BfRqzKoEFG7xo yDEbhoiXY59tG8MNS2/ylujBvIWwi/2LBsMOqPGPSR+JpfLoiEvxJk29bksH/FKxBK4j l3pwWFWCzikuZpg8+1HytXmDw9wIz/DJCy5tt1H7UKD6oECpYsxOM4f768qsiacrF8eb 9Ix/5kU8502ZeZeKFydXUTa09PJyoFWzE/EiQPztWBURJbQ5Jd+HKhX2agTudifmvSxd oLXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712248856; x=1712853656; h=in-reply-to:content-disposition:mime-version:references:reply-to :message-id:subject:cc:to:from:date:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=koBbAALBJX5u2i+CgjXOjC27/k7ODf/jfcl7opMOdoY=; b=lvb4KR0HtH/7tZzW4DO/V9tpbt9IMy07bsfL0rwxYwx+C1VXzbUg2tWAwAXtN6iTFe EODzWGeawHgy/DwfmsOPmH3v6693VEAtUm/BeEFT9oNJ6tJG/5fP8wTeW/jz1Q/UNytz FaWrFD5M3hqOOtewve3QlqfRMi8vxatbT1DrFw+VWV8SWr4EgrdZoWQCNsKUceS95/xD hB8BKcDii4lD2uJJQI26qodbi1AfKZxwbqDjmz7hG6mSacEazqoAi0Q5Nx1LEpBlRQ6l QBM+k8LtmuVyWl67TdwWNzQBuj0AxgxhCpJBdiqoEqFOQlOnEgZTpt3u8jluB/RUrpgG a/Ew== X-Forwarded-Encrypted: i=1; AJvYcCXqSEZiURvk62vPa+UlFbOA/NmGib1THboBrC0XBWTApbwWuBH20HiZ29U3duKrWQonWLy5pPzq2NXek5qyteg6apEYBPJYhYrTgzap X-Gm-Message-State: AOJu0Yxeu2C+gYmAPNvdW1F/g5A3Tm4t2nxMj/O5wGFuEG/CYUB1t8VM fbI5QLtR17te05b9C6qZbws/dVZBSe/hklb+CfTiwWA2ggh9AIpLolupAsk= X-Received: by 2002:a05:6808:1314:b0:3c3:8337:8032 with SMTP id y20-20020a056808131400b003c383378032mr3336441oiv.38.1712248856394; Thu, 04 Apr 2024 09:40:56 -0700 (PDT) Received: from serve.minyard.net ([47.184.176.113]) by smtp.gmail.com with ESMTPSA id eu8-20020a056808288800b003c4f4873bf7sm979629oib.29.2024.04.04.09.40.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 09:40:55 -0700 (PDT) Sender: Corey Minyard Received: from mail.minyard.net (unknown [IPv6:2001:470:b8f6:1b:c4d9:1498:3232:e39e]) by serve.minyard.net (Postfix) with ESMTPSA id 3DB1918004E; Thu, 4 Apr 2024 16:40:55 +0000 (UTC) Date: Thu, 4 Apr 2024 11:40:54 -0500 From: Corey Minyard To: Niklas Schnelle Cc: openipmi-developer@lists.sourceforge.net, Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/1] char: ipmi: Handle HAS_IOPORT dependencies Message-ID: Reply-To: minyard@acm.org References: <20240404104506.3352637-1-schnelle@linux.ibm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240404104506.3352637-1-schnelle@linux.ibm.com> On Thu, Apr 04, 2024 at 12:45:05PM +0200, Niklas Schnelle wrote: > Hi Corey, > > 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]. Sorry, my bad, I've been out a lot recently and dealing with a bunch of issues and I missed this. It's in my tree now and it looks good. -corey > > 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): > char: ipmi: handle HAS_IOPORT dependencies > > drivers/char/ipmi/Makefile | 11 ++++------- > drivers/char/ipmi/ipmi_si_intf.c | 3 ++- > drivers/char/ipmi/ipmi_si_pci.c | 3 +++ > 3 files changed, 9 insertions(+), 8 deletions(-) > > -- > 2.40.1 >