From patchwork Thu Jun 1 12:56:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 13263687 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE31AC7EE23 for ; Thu, 1 Jun 2023 12:56:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233315AbjFAM41 (ORCPT ); Thu, 1 Jun 2023 08:56:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233300AbjFAM4Z (ORCPT ); Thu, 1 Jun 2023 08:56:25 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 926D1138; Thu, 1 Jun 2023 05:56:20 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 8C87E92009D; Thu, 1 Jun 2023 14:56:19 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 85DDF92009C; Thu, 1 Jun 2023 13:56:19 +0100 (BST) Date: Thu, 1 Jun 2023 13:56:19 +0100 (BST) From: "Maciej W. Rozycki" To: Thomas Bogendoerfer cc: Manuel Lauss , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] MIPS: Alchemy: Enable PATA_PLATFORM support In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org We have limited demand for platform PATA support across MIPS platforms: $ find arch/mips -type f | sort | xargs grep -l pata_platform_info arch/mips/alchemy/devboards/db1200.c arch/mips/alchemy/devboards/db1300.c arch/mips/sibyte/swarm/platform.c $ certainly not high enough to justify enabling support for PATA_PLATFORM port-wide. SiByte platforms are handled selectively already, so just make a similar arrangement for Alchemy DB1XXX platforms. Signed-off-by: Maciej W. Rozycki --- arch/mips/alchemy/Kconfig | 1 + 1 file changed, 1 insertion(+) linux-mips-alchemy-pata-platform.diff Index: linux-macro/arch/mips/alchemy/Kconfig =================================================================== --- linux-macro.orig/arch/mips/alchemy/Kconfig +++ linux-macro/arch/mips/alchemy/Kconfig @@ -14,6 +14,7 @@ config MIPS_DB1XXX bool "Alchemy DB1XXX / PB1XXX boards" select GPIOLIB select HAVE_PCI + select HAVE_PATA_PLATFORM select SYS_SUPPORTS_LITTLE_ENDIAN select SYS_HAS_EARLY_PRINTK help From patchwork Thu Jun 1 12:56:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 13263688 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 73735C7EE23 for ; Thu, 1 Jun 2023 12:56:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233346AbjFAM4m (ORCPT ); Thu, 1 Jun 2023 08:56:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233345AbjFAM4i (ORCPT ); Thu, 1 Jun 2023 08:56:38 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [IPv6:2001:4190:8020::34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2E0EC13D; Thu, 1 Jun 2023 05:56:37 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 8E82A92009D; Thu, 1 Jun 2023 14:56:36 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 8B0FB92009B; Thu, 1 Jun 2023 13:56:36 +0100 (BST) Date: Thu, 1 Jun 2023 13:56:36 +0100 (BST) From: "Maciej W. Rozycki" To: Thomas Bogendoerfer cc: Manuel Lauss , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] Revert "MIPS: unhide PATA_PLATFORM" In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Revert commit 75b18aac6fa3 ("MIPS: unhide PATA_PLATFORM") now that HAVE_PATA_PLATFORM is set selectively for all the relevant platforms. Verified with `db1xxx_defconfig' and `sb1250_swarm_defconfig' by making sure PATA_PLATFORM is still there in `.config' with this change applied, and with `malta_defconfig' by making sure it's now gone. Signed-off-by: Maciej W. Rozycki --- arch/mips/Kconfig | 1 - 1 file changed, 1 deletion(-) linux-mips-no-pata-platform.diff Index: linux-macro/arch/mips/Kconfig =================================================================== --- linux-macro.orig/arch/mips/Kconfig +++ linux-macro/arch/mips/Kconfig @@ -79,7 +79,6 @@ config MIPS select HAVE_LD_DEAD_CODE_DATA_ELIMINATION select HAVE_MOD_ARCH_SPECIFIC select HAVE_NMI - select HAVE_PATA_PLATFORM select HAVE_PERF_EVENTS select HAVE_PERF_REGS select HAVE_PERF_USER_STACK_DUMP