Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1154029ybv; Sun, 23 Feb 2020 00:22:19 -0800 (PST) X-Google-Smtp-Source: APXvYqx7l3xxvqpBy7yBA5NfrkuOMogz9dYMpVwzDb3QJhb74A7F7FTAEINoG2idwtm4qdi7H5ey X-Received: by 2002:aca:1913:: with SMTP id l19mr8305729oii.47.1582446139724; Sun, 23 Feb 2020 00:22:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582446139; cv=none; d=google.com; s=arc-20160816; b=DgmdQYiSJaQ81DqLdu7zO7ECXCQ3O3R57WqXwp3BRkcQBLIOVg1wo3GFjZSzv4/x1K vW7bz0c2Af98QQTglzCa3yFf+VHBPwum1npljcAsw7tdZSIb+veasXHPfmRSZx5RhZqj p96DITpq3yj1mOGn7ToJdcm2Z+YbMfgrYPqjOD385LqS0qj/U37N5MrIKZaG0HwqULvK UuqDC371WXxkmuqrBg/jDlFHTGh04K6GuhusSEhoin4PRIgXhvtX0tWOCTPmJeJtqnHk ZweKz1Id4X0vB3+sXE/GGAOEXmmFZh+mDe7B+Pi5ew7WZ2eGAejBrxB679E+BD/SaDfE khaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=n1gsbzwbzyWAts2kqzoG13wJ66towFYxnDDMAalmFEU=; b=S6N0sCHR/dn91M9iTX26RUyKomcsxrG4fhgJuhMXD3pWbN9i9ExvBXKsmVuzD6bspk o79WSdrsQo8QbwT/G9mQubYQr0FZ+L0/ScKT9J9n9ILSCfy0K1jPuNBegljBwTMD1tZp auuofdpBI1urNwIbTABluMYEgtrzKwDd1kqT0QU2n0fu0ND0CAxv+srZknWA6W+2dYEn eKv12peCDD61lfx7Qkf+dKFRhp2qTzVIlink3Ua8lypjH+hkqlhK/+4tU3P9diNnLHkW UtXStY/8RNed2ln5X+TPV2GvrjGqSFfavuyPl/8yvpw4O6N6eyiZKZcMtycXvxZOI96F S/Pg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q195si3684066oic.83.2020.02.23.00.22.07; Sun, 23 Feb 2020 00:22:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbgBWIWE (ORCPT + 99 others); Sun, 23 Feb 2020 03:22:04 -0500 Received: from bmailout3.hostsharing.net ([176.9.242.62]:39751 "EHLO bmailout3.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725980AbgBWIWE (ORCPT ); Sun, 23 Feb 2020 03:22:04 -0500 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by bmailout3.hostsharing.net (Postfix) with ESMTPS id 8B29C1003D015; Sun, 23 Feb 2020 09:22:01 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 4117A47F54; Sun, 23 Feb 2020 09:22:01 +0100 (CET) Date: Sun, 23 Feb 2020 09:22:01 +0100 From: Lukas Wunner To: Greg Kroah-Hartman Cc: Ronald =?iso-8859-1?Q?Tschal=E4r?= , Rob Herring , Jiri Slaby , Maximilian Luz , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko Subject: Re: [PATCH] serdev: Fix detection of UART devices on Apple machines. Message-ID: <20200223082201.urcwwykmggxsmkoo@wunner.de> References: <20200211194723.486217-1-ronald@innovation.ch> <20200219111519.GB2814125@kroah.com> <20200220063335.GA9421@innovation.ch> <20200220064723.GA3192090@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200220064723.GA3192090@kroah.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 20, 2020 at 07:47:23AM +0100, Greg Kroah-Hartman wrote: > On Wed, Feb 19, 2020 at 10:33:35PM -0800, Ronald Tschal?r wrote: > > On Wed, Feb 19, 2020 at 12:15:19PM +0100, Greg Kroah-Hartman wrote: > > > On Tue, Feb 11, 2020 at 11:47:23AM -0800, Ronald Tschal?r wrote: > > > > +#include > > > > > > Why is this needed? Just for the x86_apple_machine variable? > > That's fine, but what I am objecting to is platform-specific include > files being added to random common kernel code. There's no real reason > for this other than one specific hardware platform has a quirk. Are we > supposed to keep this pattern up by doing tons of: > #include > #include > #include > all through the kernel? > > That's a serious regression to the "bad old days" of platform specific > crud being required in each and every driver subsystem. > > Now I know it's not your fault this is needed for your one change, but > can you work on a patch series to fix this all up so that it is not > needed? I'm sure the x86 maintainers don't want to see this spread > around. Andy (+cc) submitted a patch for the change you're requesting in January: https://lore.kernel.org/lkml/20200122112306.64598-2-andriy.shevchenko@linux.intel.com/ The x86 maintainers haven't picked it up yet. Ronald's patch fixes a regression. Please apply it at your earliest convenience. Thanks, Lukas