Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1640343pxa; Sun, 16 Aug 2020 06:01:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCeNXFpRrYFCyU62Pams0d4lc6IvM2YTOwiwntS8bzGJlp3U5UaShJKSra7uD1cOhTfPuC X-Received: by 2002:a17:906:2e0c:: with SMTP id n12mr10490612eji.35.1597582879944; Sun, 16 Aug 2020 06:01:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597582879; cv=none; d=google.com; s=arc-20160816; b=AYoo7nAv8+79Hn+ZmDAzRRkegzSnpq65RtXkvrJSQFtIXp49TPXaeBbLlWcaQ4JipN 5NcMQs9I18uW8sydOQUyofCkPIHSHXLXMHLjztt/6Lc0d2U16Nr312ZYXHg/zjjKvzDj Tt/ST6qoO2hQbuYvS8jY4KnfoZKLAmxgjOMzeKdapb7XzcgE4us7VKngQdN8bWeQChPe WUjsNyzGBQilocLcc8ToyC/e6ArNFayPrxdweSDweh/2zb5bprSK/G0U/dblun4g94GS 3LBq/sfheekSk5hPm3yxMDE11GAkKBoLbCIArbTX6Zo6qciGu9+bLwL4HpHpiz/yDAEv Zs7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=t/dd5cpY0Ko8HnBEbK57xl4K42DyS4TF3VdOB1xFWs4=; b=VZ0chQORxGragnk8tzUY5MvwQ1zvPs19/QKMVNrXH65XTbgGEKH1iqiBbNfQRxurZb VRCGJe3why9Ht8WH3UtLxyb8qRDat5Z4JHJcWkbQtuchXrwNUL/u0bNU+AqA9LYAZJEl TcZFRtEsmzuSLel58DW6qW5pqEF350gRW6pC9n1ZOxxq8DuqnxtHp9H26E2T4Z42Dgdm rjTJGz+88vmamHuKTuQHpfhNvyEE2+xyeFWhcdZIxycl8GENd5d/psnmrcM38igDI6jg 3J9bjr6ipF6zxbkBqL80V6nFJvW4C6dKgq+J4aSPMA+GxUMKyp2otdhC+WDCccZeDbVW Ki4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=fb3+potx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b23si9207071ejv.299.2020.08.16.06.00.57; Sun, 16 Aug 2020 06:01:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=fb3+potx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728347AbgHPMxl (ORCPT + 99 others); Sun, 16 Aug 2020 08:53:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725843AbgHPMxl (ORCPT ); Sun, 16 Aug 2020 08:53:41 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4B20C061786; Sun, 16 Aug 2020 05:53:40 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4BTxtk1wzYz9sTR; Sun, 16 Aug 2020 22:53:32 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1597582414; bh=xpLVIzLpo/1ZhQwWcKA7c8rb6SmsBOgSF5mqM7GHsWY=; h=From:To:Subject:In-Reply-To:References:Date:From; b=fb3+potxlS9NiACHDhstC8E0WATgvYJ9izglTZ2GSFNu31rYjqsHvMT3VxJ9fg6Od twnwYvGCoKrRjF7zJRv+8DnUIRRdHeBBq8NH+WFZ1q2oo8X6YmAmhM8rp6Ku5RSf9q HuktcBiE54nMDMbmWUpdYcah3fBc5THqFOJ0H77+s2WA2YKyTfQvbeT1z95WeSw58l brk3dL0BwZFiwYF58Cq08Mb1RLxfYAUOni1AlzkVVvSideVn8Qdn6kQP9Mo87oeOJm BNFEA037TPSBKGrvSeK5CpfSMa6c/xRWS7KYVHk9eqgVIVErt50sFLkjQaaygClnOW OjOMo8L55u9gg== From: Michael Ellerman To: Arnd Bergmann , ksummit , Mike Rapoport , linux-arch , Linux Kernel Mailing List Subject: Re: [TECH TOPIC] Planning code obsolescence In-Reply-To: References: Date: Sun, 16 Aug 2020 22:53:29 +1000 Message-ID: <874kp2ah12.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > I have submitted the below as a topic for the linux/arch/* MC that Mike > and I run, but I suppose it also makes sense to discuss it on the > ksummit-discuss mailing list (cross-posted to linux-arch and lkml) as well > even if we don't discuss it at the main ksummit track. > > Arnd > > 8<--- ... > > I propose adding a Documentation file that keeps track of any notable > kernel feature that could be classified as "obsolete", and listing > e.g. following properties: > > * Kconfig symbol controlling the feature > > * How long we expect to keep it as a minimum > > * Known use cases, or other reasons this needs to stay > > * Latest kernel in which it was known to have worked > > * Contact information for known users (mailing list, personal email) > > * Other features that may depend on this > > * Possible benefits of eventually removing it > > With that information, my hope is that it becomes easier to plan when > some code can be removed after the last users have stopped upgrading > their kernels, while also preventing code from being removed that is > actually still in active use. > > In the discussion at the linux/arch/* MC, I would hope to answer these > questions: > > * Do other developers find this useful to have? Yes! > * Where should the information be kept (Documentation/*, Kconfig, > MAINTAINERS, wiki.kernel.org, ...) Documentation/ seems like the obvious place. Possibly also somewhere on wiki.kernel.org or elsewhere so that people can contribute information without having to submit a formal patch. > * Which information should be part of an entry? Your list above is pretty good. For features that relate to specific hardware I think it would be useful to have some more information. For example when the hardware was last manufactured, who made it, how could it be purchased when it was available (eg. was it for sale to the public or in limited quantities or only to certain people or internal to a particular company). > * What granularity should this be applied to -- only high-level features > like CPU architectures and subsystems, or individual drivers and machines? I think it can make sense at many levels. It probably just depends on how much effort folks want to go to in order to track down the information. Looking at powerpc it would be useful to have that sort of info for individual boards, as well as each platform, CPU families and specific drivers. cheers