linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support
@ 2021-03-21 19:55 Maciej W. Rozycki
  2021-03-21 19:55 ` [PATCH 1/2] MIPS: SiByte: Regenerate stale SWARM defconfig Maciej W. Rozycki
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maciej W. Rozycki @ 2021-03-21 19:55 UTC (permalink / raw)
  To: linux-mips, linux-kernel; +Cc: Thomas Bogendoerfer, Christoph Hellwig

Hi,

 In the course of looking into Christoph's recent proposal to drop legacy 
IDE drivers I have noticed that SiByte SWARM's defconfig does not enable 
the pata_platform driver for the onboard PATA interface.  I think default 
configuration ought to enable all the supported onboard devices unless 
there are specific reasons so as not to, and the PATA interface is one of 
the boot devices supported by the CFE firmware, so I think even more then 
that it should be included by default.

 Change split into two because the defconfig has become stale since the 
last update, so 1/2 first regenerates it, and then 2/2 applies the actual 
modification.

 Sadly I'm currently away from my SWARM board for the foreseeable future 
and I have no remote access to it either, but this is supposed not to need 
run-time verification.  Build-tested only then.

 Please apply.

  Maciej

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] MIPS: SiByte: Regenerate stale SWARM defconfig
  2021-03-21 19:55 [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Maciej W. Rozycki
@ 2021-03-21 19:55 ` Maciej W. Rozycki
  2021-03-21 19:55 ` [PATCH 2/2] MIPS: SiByte: Enable pata_platform with " Maciej W. Rozycki
  2021-03-24 10:02 ` [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Thomas Bogendoerfer
  2 siblings, 0 replies; 4+ messages in thread
From: Maciej W. Rozycki @ 2021-03-21 19:55 UTC (permalink / raw)
  To: linux-mips, linux-kernel; +Cc: Thomas Bogendoerfer, Christoph Hellwig

Options have been removed and reordered since the last update, so 
regenerate the template so as not to interfere with actual changes.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
---
 arch/mips/configs/sb1250_swarm_defconfig |    9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

linux-swarm-defconfig-regen.diff
Index: linux-swarm-defconfig/arch/mips/configs/sb1250_swarm_defconfig
===================================================================
--- linux-swarm-defconfig.orig/arch/mips/configs/sb1250_swarm_defconfig
+++ linux-swarm-defconfig/arch/mips/configs/sb1250_swarm_defconfig
@@ -17,7 +17,6 @@ CONFIG_64BIT=y
 CONFIG_SMP=y
 CONFIG_NR_CPUS=2
 CONFIG_HZ_1000=y
-CONFIG_PCI=y
 CONFIG_MIPS32_O32=y
 CONFIG_PM=y
 CONFIG_MODULES=y
@@ -34,15 +33,13 @@ CONFIG_INET=y
 CONFIG_IP_PNP=y
 CONFIG_IP_PNP_DHCP=y
 CONFIG_IP_PNP_BOOTP=y
-CONFIG_INET_XFRM_MODE_TRANSPORT=m
-CONFIG_INET_XFRM_MODE_TUNNEL=m
-CONFIG_INET_XFRM_MODE_BEET=m
 CONFIG_TCP_MD5SIG=y
 # CONFIG_IPV6 is not set
 CONFIG_NETWORK_SECMARK=y
 CONFIG_CFG80211=m
 CONFIG_MAC80211=m
 CONFIG_RFKILL=m
+CONFIG_PCI=y
 CONFIG_FW_LOADER=m
 CONFIG_CONNECTOR=m
 CONFIG_BLK_DEV_RAM=y
@@ -88,18 +85,14 @@ CONFIG_CRYPTO_MICHAEL_MIC=m
 CONFIG_CRYPTO_SHA512=m
 CONFIG_CRYPTO_TGR192=m
 CONFIG_CRYPTO_WP512=m
-CONFIG_CRYPTO_ANUBIS=m
 CONFIG_CRYPTO_BLOWFISH=m
 CONFIG_CRYPTO_CAMELLIA=m
 CONFIG_CRYPTO_CAST5=m
 CONFIG_CRYPTO_CAST6=m
 CONFIG_CRYPTO_DES=m
 CONFIG_CRYPTO_FCRYPT=m
-CONFIG_CRYPTO_KHAZAD=m
 CONFIG_CRYPTO_SALSA20=m
-CONFIG_CRYPTO_SEED=m
 CONFIG_CRYPTO_SERPENT=m
-CONFIG_CRYPTO_TEA=m
 CONFIG_CRYPTO_TWOFISH=m
 CONFIG_CRYPTO_DEFLATE=m
 CONFIG_CRYPTO_LZO=m

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] MIPS: SiByte: Enable pata_platform with SWARM defconfig
  2021-03-21 19:55 [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Maciej W. Rozycki
  2021-03-21 19:55 ` [PATCH 1/2] MIPS: SiByte: Regenerate stale SWARM defconfig Maciej W. Rozycki
@ 2021-03-21 19:55 ` Maciej W. Rozycki
  2021-03-24 10:02 ` [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Thomas Bogendoerfer
  2 siblings, 0 replies; 4+ messages in thread
From: Maciej W. Rozycki @ 2021-03-21 19:55 UTC (permalink / raw)
  To: linux-mips, linux-kernel; +Cc: Thomas Bogendoerfer, Christoph Hellwig

Enable support for the onboard PATA PIO mode3 interface, which is one of 
the boot devices supported by the CFE firmware with the Broadcom SWARM 
board.  Include disk, CD-ROM and generic storage drivers.

Signed-off-by: Maciej W. Rozycki <macro@orcam.me.uk>
---
 arch/mips/configs/sb1250_swarm_defconfig |    8 ++++++++
 1 file changed, 8 insertions(+)

linux-pata-swarm-defconfig.diff
Index: linux-swarm-defconfig/arch/mips/configs/sb1250_swarm_defconfig
===================================================================
--- linux-swarm-defconfig.orig/arch/mips/configs/sb1250_swarm_defconfig
+++ linux-swarm-defconfig/arch/mips/configs/sb1250_swarm_defconfig
@@ -50,6 +50,14 @@ CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECD=y
 CONFIG_BLK_DEV_IDETAPE=y
 CONFIG_RAID_ATTRS=m
+CONFIG_BLK_DEV_SD=y
+CONFIG_BLK_DEV_SR=y
+CONFIG_CHR_DEV_SG=y
+CONFIG_SCSI_CONSTANTS=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+# CONFIG_ATA_BMDMA is not set
+CONFIG_PATA_PLATFORM=y
 CONFIG_NETDEVICES=y
 CONFIG_MACVLAN=m
 CONFIG_SB1250_MAC=y

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support
  2021-03-21 19:55 [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Maciej W. Rozycki
  2021-03-21 19:55 ` [PATCH 1/2] MIPS: SiByte: Regenerate stale SWARM defconfig Maciej W. Rozycki
  2021-03-21 19:55 ` [PATCH 2/2] MIPS: SiByte: Enable pata_platform with " Maciej W. Rozycki
@ 2021-03-24 10:02 ` Thomas Bogendoerfer
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Bogendoerfer @ 2021-03-24 10:02 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: linux-mips, linux-kernel, Christoph Hellwig

On Sun, Mar 21, 2021 at 08:55:37PM +0100, Maciej W. Rozycki wrote:
> Hi,
> 
>  In the course of looking into Christoph's recent proposal to drop legacy 
> IDE drivers I have noticed that SiByte SWARM's defconfig does not enable 
> the pata_platform driver for the onboard PATA interface.  I think default 
> configuration ought to enable all the supported onboard devices unless 
> there are specific reasons so as not to, and the PATA interface is one of 
> the boot devices supported by the CFE firmware, so I think even more then 
> that it should be included by default.
> 
>  Change split into two because the defconfig has become stale since the 
> last update, so 1/2 first regenerates it, and then 2/2 applies the actual 
> modification.
> 
>  Sadly I'm currently away from my SWARM board for the foreseeable future 
> and I have no remote access to it either, but this is supposed not to need 
> run-time verification.  Build-tested only then.
> 
>  Please apply.

series applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-03-24 10:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-21 19:55 [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Maciej W. Rozycki
2021-03-21 19:55 ` [PATCH 1/2] MIPS: SiByte: Regenerate stale SWARM defconfig Maciej W. Rozycki
2021-03-21 19:55 ` [PATCH 2/2] MIPS: SiByte: Enable pata_platform with " Maciej W. Rozycki
2021-03-24 10:02 ` [PATCH 0/2] MIPS: SiByte: Update SWARM defconfig for PATA support Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).