From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BA513C433EF for ; Tue, 2 Nov 2021 14:56:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 79E0460720 for ; Tue, 2 Nov 2021 14:56:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 79E0460720 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UfTY8V/ouSEDB2IgZECECsIW287k91rvJQiENQC5bqo=; b=WzKbUin5tiP+Sv iq1hu2sVjgBxP6m/5JbLFa3NFCCmi591pDkzXYixp90nxXqD/XpQKIVHLH6jhVe1+7Sky+8911MQx BdvYHo+Qd53ZXxJh6iv4NOVam1K9zJPupwLKOKkeGJo7gwIIAwgHnsUDnDsUufk/Ex7rHqA/qsyY5 upJmYkNAgdnAfVm15wwgjizAiOpKD7TZzkwjfErxid8BMYZs9RF3eehH2Lw0b+LUWESkDAqfh6bcF jGbduXNYR5alv9l0hENl0uZlllLpawGJPcqb0xmoKuVCJHLbkjFQtzSal6Lna8rECtENCuAcNo59H oy1GI7JdidzwlhijKDLw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhvCN-0020eV-Lu; Tue, 02 Nov 2021 14:55:39 +0000 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mhvCJ-0020cS-F2 for linux-arm-kernel@lists.infradead.org; Tue, 02 Nov 2021 14:55:37 +0000 Received: from mail-lf1-f70.google.com (mail-lf1-f70.google.com [209.85.167.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id D30C13F1BD for ; Tue, 2 Nov 2021 14:55:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1635864929; bh=1l57wjx0a3onK41N41yLHbCEPI0pyVDuBTZPteBeCAE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WsDpMWK+3JIkFGHGdAYMraiKq9++otzjFsokawn/0ByKJft73+lbashXSNKXEirBV a8g20lGlgrDv/65PRPFH+iVLxmXlR05Jh2HRp+Js1bPCywGuhKMzmaqERHYvx2ybne FqN/gpG90T9R+mt6ZTCcZrLpMHNY+Zo3z/51MrTXp65MFbbX3Ba43RvxfF4gH6zTQh s3X5cSgn8fokCNZSEZROgKVNQ3g2sEeHJI/1nMjhENuqu6Tl6K2Sku3NcHEfQh3fCl ZMyUfgezhuMQTWVGTKi5Je7Hj3N5LyUW2WXepLQYPRL5SJKn7qgRXGvXk4GacMsP+d V61n7jm3xhq4w== Received: by mail-lf1-f70.google.com with SMTP id j11-20020a056512398b00b004016f3be72fso208817lfu.15 for ; Tue, 02 Nov 2021 07:55:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=1l57wjx0a3onK41N41yLHbCEPI0pyVDuBTZPteBeCAE=; b=sbsvrezNFVD4Y917RCWuxirUiUixUzfHt1RTPWJreZusu/PBSZYOxe1pWbqQ5JPq6C yGQViRcCtkceqj6v3iLChcEo5faT3E6o8ixQ3+Goyx4gRUZ+3fzvGUGvAeR202QGKg64 Qf4CSbh/vY1sHaLt4UvdomLEoS8CZ+C0u9umXpsx1Kf8xfJu6IYVPgTX65AOCYBTk4ub iLGSWn8mvqk8PoHEP25Y+M+52Xk4CUKNPuVYsmLItE1uqNpbq9wHoplqmzWBpZdHjK8W 9YXWb1JYsZ98Jl87uWQEnY1/bEs8L5tC6jTtQGimnQYOaSlO8hbpdB0UhFWD9kpwvGGR toIw== X-Gm-Message-State: AOAM532y74iopYl7Q7yQ+2jd+/sXutiubY8uVSWVuf5HC17k608pZrSd s/WwQ4c4MEy/TEAID40nxpRoPrGLI3YEGQ7+bZ1Z+acq4T/4uIALUyc0xoRd9qWkiAOLh/OgX5K 9iGtWxaT3HoyZAnomWNcmXH809cAyXX4DWMkCTrlYGEsx6Bk4LPJa X-Received: by 2002:a05:651c:556:: with SMTP id q22mr26054596ljp.374.1635864928939; Tue, 02 Nov 2021 07:55:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPoqTSwnlW0IiQfpoSYvz+g+cYGtvYWlgr/XmqB9ie+7blrt7ma1maQXbww/CaUPLHEEg/Mg== X-Received: by 2002:a05:651c:556:: with SMTP id q22mr26054549ljp.374.1635864928572; Tue, 02 Nov 2021 07:55:28 -0700 (PDT) Received: from [192.168.3.67] (89-77-68-124.dynamic.chello.pl. [89.77.68.124]) by smtp.gmail.com with ESMTPSA id i1sm1691248lfr.287.2021.11.02.07.55.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 Nov 2021 07:55:28 -0700 (PDT) Message-ID: Date: Tue, 2 Nov 2021 15:55:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.2 Subject: Re: [RFC PATCH] ARM: s3c: mark as deprecated and schedule removal after 2022 Content-Language: en-US To: Arnd Bergmann Cc: Russell King , Linus Walleij , Linux ARM , Linux Kernel Mailing List , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , Olof Johansson , Kukjin Kim , Marek Szyprowski , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Inki Dae , Cedric Roux , Sam Van Den Berge , Lihua Yao , Heiko Stuebner References: <20211102110519.142434-1-krzysztof.kozlowski@canonical.com> From: Krzysztof Kozlowski In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211102_075535_677964_30B1CC15 X-CRM114-Status: GOOD ( 42.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 02/11/2021 14:05, Arnd Bergmann wrote: > On Tue, Nov 2, 2021 at 12:05 PM Krzysztof Kozlowski > wrote: >> >> The Samsung S3C24xx and S3C64xx platforms are very old designs. S3C2416 >> was introduced in 2008 and S3C6410 in 2009/2010. They are not widely >> available anymore - out-of-stock on FriendlyArm (one of manufacturers of >> boards) and only few specialist stores still offer them for quite a high >> price. >> >> The community around these platforms was not very active, so I suspect >> no one really uses them anymore. Maintenance takes precious time so >> there is little sense in keeping them alive if there are no real users. >> >> Let's mark all S3C24xx and S3C64xx platforms as deprecated and mention >> possible removal in one year (after 2022). The deprecation message will >> be as text in Kconfig, build message (not a warning though) and runtime >> print error. >> >> If there are any users, they might respond and postpone the removal. >> >> Signed-off-by: Krzysztof Kozlowski > > Looks good to me. > > We have a couple of platforms that are in a similar state, and we could do > the same there. I'd have to dig through > https://lore.kernel.org/linux-arm-kernel/CAK8P3a2VW8T+yYUG1pn1yR-5eU4jJXe1+M_ot6DAvfr2KyXCzQ@mail.gmail.com/ > to see which ones promised to get back to working on the code and > ended up not doing so. ;-) > > The ones that would help the most in removing are probably omap1, > pxa, and the strongarm-based platforms: those have a lot of special > cases in the code base. At least a year ago the maintainers wanted > to keep those around, but maybe the 2022 LTS kernel is a better > time for planned EOL. If the maintainers or users expressed wish to keep them alive, let's keep them. In fact there might be some industrial machine working for 20 more years... If you did not receive any feedback about your queries, I am happy to add similar deprecation-warning notes to these as well. Just let me know which one should be affected. > I also still have a backlog of cleanup patches > for omap1 and pxa (similar to the s3c24xx changes I did) that we > should get mainlined if we want to keep them around after all. > > At some point later we can also seriously look into removing all > non-DT machine support, which would impact all of these: > > $ git grep -w MACHINE_START arch/arm/mach-* | cut -f 3 -d/ | uniq -c > 1 mach-cns3xxx > 12 mach-davinci > 2 mach-dove > 19 mach-ep93xx > 3 mach-footbridge > 6 mach-iop32x > 2 mach-ixp4xx > 10 mach-mmp > 3 mach-mv78xx0 > 14 mach-omap1 > 17 mach-orion5x > 62 mach-pxa > 1 mach-rpc > 36 mach-s3c > 13 mach-sa1100 > >> +#pragma message "The platform is deprecated and scheduled in removal (see platform help). " \ >> + "Please reach to the maintainers of the platform " \ >> + "and linux-samsung-soc@vger.kernel.org if you still use it." \ >> + "Without such feedback, the platform will be removed after 2022." >> diff --git a/arch/arm/mach-s3c/s3c64xx.c b/arch/arm/mach-s3c/s3c64xx.c >> index 4dfb648142f2..3e248f0e96a2 100644 >> --- a/arch/arm/mach-s3c/s3c64xx.c >> +++ b/arch/arm/mach-s3c/s3c64xx.c >> @@ -425,3 +425,8 @@ static int __init s3c64xx_init_irq_eint(void) >> return 0; >> } >> arch_initcall(s3c64xx_init_irq_eint); >> + >> +#pragma message "The platform is deprecated and scheduled in removal (see platform help). " \ >> + "Please reach to the maintainers of the platform " \ >> + "and linux-samsung-soc@vger.kernel.org if you still use it." \ >> + "Without such feedback, the platform will be removed after 2022." > > I don't want these to clutter up my randconfig build output, which I keep > completely empty by default. If you add an > > #ifndef CONFIG_COMPILE_TEST > > check around them, I'm fine with it though -- it would still catch all > real users > without bothering build-testing bots. I like that idea, I'll use it in v2. No one really should build a real config with COMPILE_TEST and I want to nag and find the real users. > I think even with CONFIG_WERROR, we don't fail the build for #warning, > so that would also work in place of #pragma message. It fails, I tried it. That's why #pragma. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel