Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1472461lqe; Mon, 8 Apr 2024 09:46:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeIa00Zae4VFtyKsOq8FjejNmiJKoswv0sz2/2FpoCpVM8eccZ0NJnzi5DETkdhMY1LWzVN03nzg796IMJwGCwESntkDj1+JiE3adoyg== X-Google-Smtp-Source: AGHT+IG8x1qd71L1Awa0HVqEUE21S0H/LBKpH0tVVFBZznnO63D/mgMNGlM/xEZMaLG3+zs9ThCl X-Received: by 2002:a17:902:ecc2:b0:1e2:1805:52c5 with SMTP id a2-20020a170902ecc200b001e2180552c5mr13642038plh.16.1712594771806; Mon, 08 Apr 2024 09:46:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712594771; cv=pass; d=google.com; s=arc-20160816; b=SwITIsQNQAgkCrPkAspN/+4Z2nilWe/7H/RrlryFGYIG5NLw3jQfHJr8lYg/waujri T2hpr2ak8m8qMsgHkK9AYbh7+YjGZP38+IZoxn8XKXg/VAJXseju5AsF6cF2ZdJZw1zS Y6F9ycSwwGeqwSjL+WdAT1Z/8LaksF6jZH6B+/qP8jE56abCQ576hP3kVxL5XyVg7Eb/ m72I18AnlxmAEUMey59SMk12G0B1bcI/7O4u/5fEgAn73+eL4SP9XTQyEXbhhkyk/Hhu qGUPcogz6IpWq0thwpI2M2HnGfkcKEsUQCO2uOZld6KzEst/J6nvB3bEQr1bZmYEhhqy tKCA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:message-id:in-reply-to:subject:cc:to:date :from:dkim-signature; bh=G6BcRq6JoV+mlIrI9j/V2dSNGrLOoIGbAfNMeWk/uzk=; fh=Ko5LsfE7AU7cGzOGR7ykU0rH4Q8HIkZDev91sv9zwys=; b=W4qOyYFTl77pyI4kqhzHhuLyCuHB+VbZ2yMpkAcydVTQSZI8gEh8tgr0xMHH3Bdydu Q7Gepoz/k/FMMaTHXIKAL/S9jBxTx4eFhzYsUwsBCAfDOmxEvOUO0lcI2ZyzqalO0mq2 vvxK1bqpuwxaAebLizUFAGfQ4BTYeA/ls8eCp24t4iwxm4hAEkh2qQVzA7ACN1N9GwTk 0a8+6ZVOXvgOkdwtGp1gd2mioaruMmCakv3e8ZYbX7P+0X1oxRCVLoEZliHcFhDtFuFG Uk0Fm+WDV0HqAyIWOkDRIEblgs6szCZdskVTziL5fKwE+VUoRyAWEr5MvtAJj6dwTAt6 CiWA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="A2ILJ6//"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-135616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u2-20020a170902e80200b001e409a07c4dsi2915281plg.128.2024.04.08.09.46.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 09:46:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-135616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="A2ILJ6//"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-135616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-135616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 91AE6B22523 for ; Mon, 8 Apr 2024 15:41:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0FAA71420B6; Mon, 8 Apr 2024 15:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="A2ILJ6//" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (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 97A29141995; Mon, 8 Apr 2024 15:41:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712590893; cv=none; b=alhfYJTuKluOmS1lB9s2QQoW8/eQXTknwaC9j2+kurfpeq1E+BpPHLiSo5AP0si940gK9CqxvOhYlj/O9d11pO1XHZDtnzy7P3SYT2GIE6E6+zqaZRYTI21mpvrZ8N4r6mCd4d/DS8HndFLroZdCOqlPTueJTyFuadExGTNrUWQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712590893; c=relaxed/simple; bh=E3uWjqBGI1fCpvx4YHq4VUFoutTIGcoIeKTDxInRsCk=; h=From:Date:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=rF3qIP0jCt4p9eAuGF7HNmzCbs06BNjrYeBfv005/aHQRW48TUlP/tK4PFpGLxNU/CKdZJQg9YZD6rV0dxcA6JGzjf8Jt8oxlapW2/oYLSbYB5ssOvORt0RlwEGrAqVY81/Kp842+1zhsApIpZdSiDUIFbpkCZgJ+oyLe7bdDqI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=A2ILJ6//; arc=none smtp.client-ip=198.175.65.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712590891; x=1744126891; h=from:date:to:cc:subject:in-reply-to:message-id: references:mime-version:content-id; bh=E3uWjqBGI1fCpvx4YHq4VUFoutTIGcoIeKTDxInRsCk=; b=A2ILJ6//oVWuZg4h5pgl3wptQOdjQmNrauRE1NPp6fr0H8YzhqAqyAFe Qe+O3PLEc8flP1XQn2PlJMwLs0ttfZxlrkiiSfwB/ch0N5C82bmaA2tv2 4c4C4/7XZDyy0nm2RZB6Ksk0GXGN4rGofJUUBOrCWgGXi/RxOw49jmItR s6Y/9XSpHeEDoO8TDtQw/LPc7jagr3iFVkkakLeUaHvck0PONM51QGP86 NDVEo20REYsCZy7rhbbIUn9rUF2fkx5Lg673mJjQUbwI+rj9UWlY+vgTb U/JCjDHifUg7lbt/680weH6U4OFDZHENF/yt0JGF9P6UaejNL9zCgvl6G Q==; X-CSE-ConnectionGUID: QQyNBBt/TLy+HZRfVtt6Qw== X-CSE-MsgGUID: cZGpN1DxT9qpCk07mbhgRA== X-IronPort-AV: E=McAfee;i="6600,9927,11038"; a="18446836" X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="18446836" Received: from fmviesa008.fm.intel.com ([10.60.135.148]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 08:41:31 -0700 X-CSE-ConnectionGUID: ZQ6MJe+9Rw+BtzQ6fkAwdA== X-CSE-MsgGUID: mTxnbnCKTwaJdTK/CAYhrw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,187,1708416000"; d="scan'208";a="20050831" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.245.247.28]) by fmviesa008-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2024 08:41:28 -0700 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Date: Mon, 8 Apr 2024 18:41:24 +0300 (EEST) To: Niklas Schnelle cc: Greg Kroah-Hartman , Jiri Slaby , linux-serial , Arnd Bergmann , Heiko Carstens , LKML Subject: Re: [PATCH 1/1] tty: serial: handle HAS_IOPORT dependencies In-Reply-To: Message-ID: <6251fc72-21ca-aba6-c70a-eefdbc046951@linux.intel.com> References: <20240405152924.252598-1-schnelle@linux.ibm.com> <20240405152924.252598-2-schnelle@linux.ibm.com> <1a14ac6e-30e9-048e-50cc-c1c3aacc2118@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323328-270381069-1712590779=:14302" Content-ID: <4b597578-0a35-f46c-87f0-dea8ba894f82@linux.intel.com> This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-270381069-1712590779=:14302 Content-Type: text/plain; CHARSET=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: <933d7f4f-41e8-a08b-e3ae-4e09ab1be8f6@linux.intel.com> On Mon, 8 Apr 2024, Niklas Schnelle wrote: > On Mon, 2024-04-08 at 12:54 +0300, Ilpo J=E4rvinen wrote: > > On Fri, 5 Apr 2024, Niklas Schnelle wrote: > >=20 > > > In a future patch HAS_IOPORT=3Dn will disable inb()/outb() and friend= s at > > > compile time. We thus need to add HAS_IOPORT as dependency for those > > > drivers using them unconditionally. For 8250 based drivers some suppo= rt > > > MMIO only use so fence only the parts requiring I/O ports. > > >=20 > > > Co-developed-by: Arnd Bergmann > > > Signed-off-by: Arnd Bergmann > > > Signed-off-by: Niklas Schnelle > > > --- > > > Note: This patch does not depend any not-yet-mainline HAS_IOPORT chan= ges > > > and may be merged via subsystem specific trees at your earliest > > > convenience. > > >=20 > > > Note 2: This was previously acked here: > > > https://lore.kernel.org/all/2023053050-prodigal-shine-4d1c@gregkh/ > > > Given this was almost a year ago and didn't apply then I didn't > > > carry the Ack over though. > > >=20 > > >=20 > ---8<--- > > > diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/825= 0/Kconfig > > > index 47ff50763c04..54bf98869abf 100644 > > > --- a/drivers/tty/serial/8250/Kconfig > > > +++ b/drivers/tty/serial/8250/Kconfig > > > @@ -6,7 +6,6 @@ > > > =20 > > > config SERIAL_8250 > > > =09tristate "8250/16550 and compatible serial support" > > > -=09depends on !S390 > >=20 > > Why? Your changelogs gives zero insight on this change. >=20 > I used this for compile testing since I build on s390 natively and this > would have hidden the missing HAS_IOPORT dependencies I'm pretty sure > it was added because of the I/O port problem too. I'll either add to > the commit description that it is no longer needed or drop this. Any > preference? Okay, we might never know the reason for sure if that's old enough. I think the best approach would be to put it into own patch so this=20 guessimation is limited to a single liner patch instead of it being=20 hidden among the other clearer cases. --=20 i. --8323328-270381069-1712590779=:14302--