linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC
@ 2016-04-01  0:30 Eric Anholt
  2016-04-01  0:30 ` [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM Eric Anholt
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Eric Anholt @ 2016-04-01  0:30 UTC (permalink / raw)
  To: linux-rpi-kernel
  Cc: linux-arm-kernel, linux-kernel, Stephen Warren, Lee Jones,
	Florian Fainelli, Eric Anholt

This approximately triples write performance for the SD card.  My card
is too full of important data to collect very reliable numbers, but I
see 271.361% +/- 166.742% improvement (n=3 before, 6 after), for 'dd
if=/dev/zero of=/boot/asdf bs=1M count=3 oflag=dsync,direct'.  Read
performance appears to be unaffected.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/configs/bcm2835_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 1ef69fc..1617fd2 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -87,7 +87,7 @@ CONFIG_USB_DWC2=y
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
-CONFIG_MMC_SDHCI_BCM2835=y
+CONFIG_MMC_SDHCI_IPROC=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
 CONFIG_LEDS_GPIO=y
-- 
2.7.0

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

* [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM.
  2016-04-01  0:30 [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Eric Anholt
@ 2016-04-01  0:30 ` Eric Anholt
  2016-04-01  2:05   ` Stephen Warren
  2016-04-01  0:30 ` [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig Eric Anholt
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Eric Anholt @ 2016-04-01  0:30 UTC (permalink / raw)
  To: linux-rpi-kernel
  Cc: linux-arm-kernel, linux-kernel, Stephen Warren, Lee Jones,
	Florian Fainelli, Eric Anholt

The power domain driver we've enabled doesn't actually do anything
without it, and we need it to do its job for VC4 to initialize
successfully.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/configs/bcm2835_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 1617fd2..1192a6f 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -38,6 +38,7 @@ CONFIG_CRASH_DUMP=y
 CONFIG_VFP=y
 # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
 # CONFIG_SUSPEND is not set
+CONFIG_PM=y
 CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
-- 
2.7.0

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

* [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig
  2016-04-01  0:30 [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Eric Anholt
  2016-04-01  0:30 ` [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM Eric Anholt
@ 2016-04-01  0:30 ` Eric Anholt
  2016-04-01  2:03   ` Stephen Warren
  2016-04-01  0:30 ` [PATCH 4/4] ARM: bcm2835: Enable NFS root support Eric Anholt
  2016-04-01 16:58 ` [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Stephen Warren
  3 siblings, 1 reply; 7+ messages in thread
From: Eric Anholt @ 2016-04-01  0:30 UTC (permalink / raw)
  To: linux-rpi-kernel
  Cc: linux-arm-kernel, linux-kernel, Stephen Warren, Lee Jones,
	Florian Fainelli, Eric Anholt

Combined with the queued DT changes, we now get HDMI and 3D support.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/configs/bcm2835_defconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 1192a6f..896500f 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -64,7 +64,6 @@ CONFIG_INPUT_EVDEV=y
 CONFIG_SERIAL_AMBA_PL011=y
 CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
 CONFIG_TTY_PRINTK=y
-CONFIG_I2C=y
 CONFIG_I2C_CHARDEV=y
 CONFIG_I2C_BCM2835=y
 CONFIG_SPI=y
@@ -74,10 +73,10 @@ CONFIG_GPIO_SYSFS=y
 # CONFIG_HWMON is not set
 CONFIG_WATCHDOG=y
 CONFIG_BCM2835_WDT=y
-CONFIG_FB=y
+CONFIG_DRM=y
+CONFIG_DRM_VC4=y
 CONFIG_FB_SIMPLE=y
 CONFIG_FRAMEBUFFER_CONSOLE=y
-CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
 CONFIG_SOUND=y
 CONFIG_SND=y
 CONFIG_SND_SOC=y
-- 
2.7.0

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

* [PATCH 4/4] ARM: bcm2835: Enable NFS root support.
  2016-04-01  0:30 [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Eric Anholt
  2016-04-01  0:30 ` [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM Eric Anholt
  2016-04-01  0:30 ` [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig Eric Anholt
@ 2016-04-01  0:30 ` Eric Anholt
  2016-04-01 16:58 ` [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Stephen Warren
  3 siblings, 0 replies; 7+ messages in thread
From: Eric Anholt @ 2016-04-01  0:30 UTC (permalink / raw)
  To: linux-rpi-kernel
  Cc: linux-arm-kernel, linux-kernel, Stephen Warren, Lee Jones,
	Florian Fainelli, Eric Anholt

This is also present in multi_v7_defconfig, and means that I can test
the pi1 with the 2835 defconfig in my normal environment.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/configs/bcm2835_defconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig
index 896500f..79de828 100644
--- a/arch/arm/configs/bcm2835_defconfig
+++ b/arch/arm/configs/bcm2835_defconfig
@@ -43,6 +43,8 @@ CONFIG_NET=y
 CONFIG_PACKET=y
 CONFIG_UNIX=y
 CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
 CONFIG_NETWORK_SECMARK=y
 CONFIG_NETFILTER=y
 CONFIG_CFG80211=y
@@ -122,6 +124,7 @@ CONFIG_TMPFS=y
 CONFIG_TMPFS_POSIX_ACL=y
 # CONFIG_MISC_FILESYSTEMS is not set
 CONFIG_NFS_FS=y
+CONFIG_ROOT_NFS=y
 CONFIG_NFSD=y
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ASCII=y
-- 
2.7.0

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

* Re: [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig
  2016-04-01  0:30 ` [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig Eric Anholt
@ 2016-04-01  2:03   ` Stephen Warren
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Warren @ 2016-04-01  2:03 UTC (permalink / raw)
  To: Eric Anholt
  Cc: linux-rpi-kernel, linux-arm-kernel, linux-kernel, Lee Jones,
	Florian Fainelli

On 03/31/2016 06:30 PM, Eric Anholt wrote:
> Combined with the queued DT changes, we now get HDMI and 3D support.

> diff --git a/arch/arm/configs/bcm2835_defconfig b/arch/arm/configs/bcm2835_defconfig

>   CONFIG_FB_SIMPLE=y

Do we need to disable that too, or does hand-off from simplefb to the 
accelerated driver work fine?

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

* Re: [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM.
  2016-04-01  0:30 ` [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM Eric Anholt
@ 2016-04-01  2:05   ` Stephen Warren
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Warren @ 2016-04-01  2:05 UTC (permalink / raw)
  To: Eric Anholt
  Cc: linux-rpi-kernel, linux-arm-kernel, linux-kernel, Lee Jones,
	Florian Fainelli

On 03/31/2016 06:30 PM, Eric Anholt wrote:
> The power domain driver we've enabled doesn't actually do anything
> without it, and we need it to do its job for VC4 to initialize
> successfully.

Patches 1, 2, and 3,
Acked-by: Stephen Warren <swarren@wwwdotorg.org>

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

* Re: [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC
  2016-04-01  0:30 [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Eric Anholt
                   ` (2 preceding siblings ...)
  2016-04-01  0:30 ` [PATCH 4/4] ARM: bcm2835: Enable NFS root support Eric Anholt
@ 2016-04-01 16:58 ` Stephen Warren
  3 siblings, 0 replies; 7+ messages in thread
From: Stephen Warren @ 2016-04-01 16:58 UTC (permalink / raw)
  To: Eric Anholt
  Cc: linux-rpi-kernel, linux-arm-kernel, linux-kernel, Lee Jones,
	Florian Fainelli

On 03/31/2016 06:30 PM, Eric Anholt wrote:
> This approximately triples write performance for the SD card.  My card
> is too full of important data to collect very reliable numbers, but I
> see 271.361% +/- 166.742% improvement (n=3 before, 6 after), for 'dd
> if=/dev/zero of=/boot/asdf bs=1M count=3 oflag=dsync,direct'.  Read
> performance appears to be unaffected.

Acked-by: Stephen Warren <swarren@wwwdotorg.org>

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

end of thread, other threads:[~2016-04-01 16:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-01  0:30 [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Eric Anholt
2016-04-01  0:30 ` [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM Eric Anholt
2016-04-01  2:05   ` Stephen Warren
2016-04-01  0:30 ` [PATCH 3/4] ARM: bcm2835: Enable the VC4 graphics driver in the defconfig Eric Anholt
2016-04-01  2:03   ` Stephen Warren
2016-04-01  0:30 ` [PATCH 4/4] ARM: bcm2835: Enable NFS root support Eric Anholt
2016-04-01 16:58 ` [PATCH 1/4] ARM: bcm2835: Switch BCM2835 to sdhci-iproc.c for MMC Stephen Warren

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).