Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6926rwb; Thu, 12 Jan 2023 02:45:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXsJHhei7LTZynKRjLQh5Yzf/GFH81p8T/IWWGx4gp/JtyV2emLcLE/B01Ch44406+Tj1gE9 X-Received: by 2002:a17:907:a588:b0:84d:43e4:3633 with SMTP id vs8-20020a170907a58800b0084d43e43633mr13496459ejc.36.1673520348038; Thu, 12 Jan 2023 02:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673520348; cv=none; d=google.com; s=arc-20160816; b=LgZhkHd13pWEa8eOSwSHNetjEkaTFPbmWpJoXfBkS4uBUy382mHnQLWoc4F2K4go2c ISuW018fDTxD6jIFIbcK6ZKQ0N5CQXx1VpXKx0VjQ9/12ghPIO6llJpNC1z83ZiAWzPp 0Yu3q5mHooNz3t8qq0HdgnW7Xudxnb/Bztm7Q7mRd4hE3gkzX5JRFc5l3HKgdVtoGFWo RyiRuRjuXbAaSKI5nRbVGm5rNVtY8NtmNDBNPNaDnxMPQ87ZMlAPTn78kIXJempLInjO a2h8Vs+QbO5isShY5NWeadciL0+D1bvYby+QtsGuF3QVW+qARAHxKNG0UdA6v5N7fuY3 mopQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:feedback-id:dkim-signature:dkim-signature; bh=yluViCVK9LEZ64fIpen7A1Nsh9HPYnGVZn2CRVaZAK4=; b=u35+B8fg0OlL/waO821AK8bKwJMtZKTeiCdEoJtplbezJic6mCVRYi8FDscKMG2y9l 0j/hY8YjbyRWhnm/ShPdGQxW9+20BDAni8hoEA8LXBkwIzGzxYg11cHgX8ilbVhIhp7S 9NixsQForXghU4Ka4PxB/fls4wkIAkDC9vKJZwPT4XZuI5zxQWLLDxSDK2OISkiepTwk U6H51qVIUzir7yvSPC21QPW7nn+06MdHm8HzhQow+niJBRg87b/xBIyxDFskrG5ABt6o MxyuDCcMO6F8FSndrh6iO2TfCIxIO2hOddij6XaBmn+kocFCjMvfmCm2VD119vFkPYns 54aA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=KE2sgd2x; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=F1c3tgRK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gn24-20020a1709070d1800b0084c45d8a681si7812414ejc.39.2023.01.12.02.45.30; Thu, 12 Jan 2023 02:45:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=KE2sgd2x; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=F1c3tgRK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232576AbjALK0v (ORCPT + 49 others); Thu, 12 Jan 2023 05:26:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231403AbjALK0D (ORCPT ); Thu, 12 Jan 2023 05:26:03 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A787BE80; Thu, 12 Jan 2023 02:22:01 -0800 (PST) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 14C9A5C01BC; Thu, 12 Jan 2023 05:22:01 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 12 Jan 2023 05:22:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1673518921; x= 1673605321; bh=yluViCVK9LEZ64fIpen7A1Nsh9HPYnGVZn2CRVaZAK4=; b=K E2sgd2x2541tKIYaCy+Yvjg/3RO7Ao8SzdsrBoIlONL5B1cW6Jz6jJAcDO6Ir4u6 rv8YASockywOz1zQqPVWIHVEK3Zp+4MHBf1hda3uhTwnfTBrU4LBq5lp0/jbrkqS iGlfW9kpE8BuPP1c/4Hq7ls4DZ5E4QX0sfUscDXAzjspzchwXRiUlEybGbhHtxsy MtFOrMhiTMNnuzQLMTnNYWeH22JaIZxqswDjFL+yyLQWaRtmNnNOMj1UG8pJcltS wkje4MRY2c65sMbS0FoyAditOpSmUlf/Tg1E2TF8K7w5+TMo41f8i3EWFOK0fqSS 1TCcJNJBdsnCRuRBNb1uQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1673518921; x= 1673605321; bh=yluViCVK9LEZ64fIpen7A1Nsh9HPYnGVZn2CRVaZAK4=; b=F 1c3tgRKVd3eKWe4Ky9bjion/80gruQhv6G6PKpSG0DNoq6044OwcrnirRJ/lVMmb AOnmG4GTjk4+awWObpOlI8gUoL6NuVSAURX3ZP9SElruExUvK7pO8SQgL/vKIgHL v3zfAtpuDrYvcZ0xP96HECL8f2RwTm3fSLgTzoFqkDB9SinWLLkC52olGFODf7d+ MYPStrGk7to7x/lkzguXIqZoqrLq1vOoZT9F4nmG77LggTAPp2zAAvrg/y9HJ7tq S4iKecniHwkk+2QWTqzDJy/AyajGzBmvMCqzx7UQKpAaJzfWSySIxBrTy3txECZa eq2sGSX14UpTsGyQrgN1g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepifhrvghg ucfmjfcuoehgrhgvgheskhhrohgrhhdrtghomheqnecuggftrfgrthhtvghrnhepgeevve etgfevjeffffevleeuhfejfeegueevfeetudejudefudetjedttdehueffnecuffhomhgr ihhnpehkvghrnhgvlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehgrhgvgheskhhrohgrhhdrtghomh X-ME-Proxy: Feedback-ID: i787e41f1:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 Jan 2023 05:22:00 -0500 (EST) Date: Thu, 12 Jan 2023 11:21:58 +0100 From: Greg KH To: =?iso-8859-1?Q?Bj=F8rn?= Mork Cc: Jakub Kicinski , Andre Przywara , Paolo Abeni , "David S . Miller" , Eric Dumazet , linux-usb@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] r8152; preserve device list format Message-ID: References: <87k01s6tkr.fsf@miraculix.mork.no> <20230112100100.180708-1-bjorn@mork.no> <87cz7k6ooc.fsf@miraculix.mork.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87cz7k6ooc.fsf@miraculix.mork.no> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 12, 2023 at 11:18:59AM +0100, Bj?rn Mork wrote: > Greg KH writes: > > On Thu, Jan 12, 2023 at 11:01:00AM +0100, Bj?rn Mork wrote: > >> This is a partial revert of commit ec51fbd1b8a2 ("r8152: > >> add USB device driver for config selection") > >> > >> Keep a simplified version of the REALTEK_USB_DEVICE macro > >> to avoid unnecessary reformatting of the device list. This > >> makes new device ID additions apply cleanly across driver > >> versions. > >> > >> Fixes: ec51fbd1b8a2 ("r8152: add USB device driver for config selection") > >> Signed-off-by: Bj?rn Mork > >> --- > >> The patch in > >> https://lore.kernel.org/lkml/20230111133228.190801-1-andre.przywara@arm.com/ > >> will apply cleanly on top of this. > >> > >> This fix will also prevent a lot of stable backporting hassle. > > > > No need for this, just backport the original change to older kernels and > > all will be fine. > > > > Don't live with stuff you don't want to because of stable kernels, > > that's not how this whole process works at all :) > > OK, thanks. Will prepare a patch for stable instead then. > > But I guess the original patch is unacceptable for stable as-is? It > changes how Linux react to these devces, and includes a completely new > USB device driver (i.e not interface driver). That's up to you all. We don't add new support for new hardware to older kernels _UNLESS_ it's just a new device id. Otherwise it's just better to tell people to upgrade to the newer kernel. If you split things up and added a whole new driver, then just leave it alone, no need to backport anything, sorry, I didn't realize that. greg k-h