Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp132757lqe; Fri, 5 Apr 2024 15:34:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX95YH3eJxscpcawayj3VQMI9vDOu3lmGVFkKaBwAcK7U0ckTrePhEQ3eeT7DlvPeIO9nD4fNXd9uVuvPJfAeZ1Nfw5uyYwmRoXT/X96g== X-Google-Smtp-Source: AGHT+IGJA8YoibkfwDA77uD5TZNAP6fobB0sgD1ZgEBBLMftpl6kEwGqqc/Tk4A+9jRnx0JUlfaS X-Received: by 2002:a05:6358:9689:b0:17e:f46b:2c49 with SMTP id o9-20020a056358968900b0017ef46b2c49mr2804995rwa.20.1712356451383; Fri, 05 Apr 2024 15:34:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712356451; cv=pass; d=google.com; s=arc-20160816; b=ayDOCiDzPOdojikx8/5qepgZh0gJknaZaPcZS4r2VvQTZHFfCEMBwBYPlkrn24S4lK OrWeF7bRjo4fA4yzbE/NUrL2/K2x86YGJUWf7WPI9V2RkEoxXtD3H0z3nNy3w/cs1u7h hhUMTdDbzRvytX+XC2h6eflfM0AEC4OZW+o4af6zEVa8Ob5oD7BJXYCmjWA1QkPL3Fq+ p7eAe1aOiNOi0gLGvG0T1mkwQsIjXaGJXC5tRMbzMlPupTbuHyG/mTT5bILMVH9YtsI+ U2p2NcMFRS4J7yHbn/2RLFiJW+rT7/yWChbJqfFVvQjrqIWI+WWtqzuBWdQNukaSjUDQ UV/A== 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:message-id:subject:cc :to:from:date; bh=ty7RTv9ycI8QzhGfy6JmTupAzff170AtlL9X9wSr+Tw=; fh=jTRyEAxpI2i9th3zuD1bFcfCYN0zyfIgTu583e9fzTo=; b=0fZBgmVxylJ3WqtiOuyLsxleO6Vii6I2EFeeuUrHCKQ915OGyjOKT3VPc3ZM3WDD1t TjQ9MmWg6CgJ62Fvp3vl65gZ/KdPltN3GC3Tk1ETaPAAX+qbbSeey2TQQjmMhidd18gJ 90/yKwXIopUQCbwMdlc6RScFXWorw+IHUoyZ5SctBrm0Ybwn4/nmbIl4/OmeRlKV1MsK +kdpCz87eEyTTFmZsSYgKFKw2x0i8ge1zH37rdxRpRNN/COiBpLVvbtvegxlMVEyGt/R XYLiuZdd+K2wNJQ3XvGxBh+AmhwzI5r1w04WMdA4sdAr8zOU/C+Q726/UIG1n/twiH56 1BSg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=intel.com dmarc=pass fromdomain=black.fi.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-133684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 13-20020a630b0d000000b005cecb6a1027si2064534pgl.702.2024.04.05.15.34.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 15:34:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=intel.com dmarc=pass fromdomain=black.fi.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-133684-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133684-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A592A28732E for ; Fri, 5 Apr 2024 22:33:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F056D23746; Fri, 5 Apr 2024 22:33:27 +0000 (UTC) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 D9DE91CF8F; Fri, 5 Apr 2024 22:33:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712356407; cv=none; b=jdDzhAXgtURG0ukWrgouVQBnYiHbtFlV5I1jjVB/DrS7j6x+LwPuK6/kXMHruPmsyEtgqK5ToiPNgUrC8O215n5xSdo1ZDa5Ly4ssv2bx/Y6V/o4aLXLP7CxJuIbRAzl6Zg0K2XLWUib09sfgoo7hivPObySEuxwhiPOhENekAc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712356407; c=relaxed/simple; bh=tOOBRSN4UD8iNmFPLqnELgrDuShaBqdXyEqgmPhWEHw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=emhrGhxQF8QR7TUP4WCCdJSjlJFEjrcK5cbu7nro7oYpuI+cOguZBLb4RPuMz1SyZlWPbQuZHoGyQ7fcbtklosOBQOsNBn3SCGsUrC4N1qLge5+eDSul3NGjHigZSPqMLPZrQF3hhXuTFd07GSQHptzSs3iJk1BEl5+Si+HADjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=black.fi.intel.com; spf=pass smtp.mailfrom=intel.com; arc=none smtp.client-ip=192.198.163.14 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=black.fi.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com X-CSE-ConnectionGUID: YOZbUO0fSbGoHoPAw5ipOg== X-CSE-MsgGUID: qZdnhEV0RpWZaRrs8sxlVQ== X-IronPort-AV: E=McAfee;i="6600,9927,11035"; a="7937167" X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="7937167" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Apr 2024 15:33:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11035"; a="937088154" X-IronPort-AV: E=Sophos;i="6.07,182,1708416000"; d="scan'208";a="937088154" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 05 Apr 2024 15:33:23 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 311554C5; Sat, 6 Apr 2024 01:33:22 +0300 (EEST) Date: Sat, 6 Apr 2024 01:33:22 +0300 From: Andy Shevchenko To: Niklas Schnelle Cc: Greg Kroah-Hartman , Jiri Slaby , Ilpo =?iso-8859-1?Q?J=E4rvinen?= , linux-serial@vger.kernel.org, Arnd Bergmann , Heiko Carstens , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/1] tty: Handle HAS_IOPORT dependencies Message-ID: References: <20240405152924.252598-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: <20240405152924.252598-1-schnelle@linux.ibm.com> On Fri, Apr 05, 2024 at 05:29:23PM +0200, Niklas Schnelle wrote: > Hi Greg, Jiri, Ilpo, > > 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]. > > The patch was previously acked[3] by Greg but given this was almost > a year ago and didn't apply then I didn't carry the Ack over. That said > I don't think there were non trivial changes. Hmm... Can those drivers simply be converted to use ioreadXX/iowriteXX instead? -- With Best Regards, Andy Shevchenko