[PATCH 5/8] CMDLINE: mips: convert to generic builtin command line

2021-03-30 Thread Daniel Walker
;s/CONFIG_CMDLINE=/CONFIG_CMDLINE_BOOL=y\nCONFIG_CMDLINE_PREPEND=/g' $1/.config make ARCH=$1 O=$1 olddefconfig make ARCH=$1 O=$1 savedefconfig cp $1/defconfig $2 rm -Rf $1 Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/mip

[PATCH 4/8] CMDLINE: powerpc: convert to generic builtin command line

2021-03-30 Thread Daniel Walker
fconfig make ARCH=$1 O=$1 savedefconfig cp $1/defconfig $2 rm -Rf $1 Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/powerpc/Kconfig | 38 +-- arch/

[PATCH 8/8] CMDLINE: arm64: convert to generic builtin command line

2021-03-30 Thread Daniel Walker
This updates the arm64 code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker --- arch/arm64/Kconfig | 33 +- arch/arm64/kernel/idreg-override.c | 8 +--- arch/arm64/kernel/setup.c

[PATCH 2/8] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-30 Thread Daniel Walker
It looks like there's some seepage of cmdline stuff into the generic device tree code. This conflicts with the generic cmdline implementation so I remove it in the case when that's enabled. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Dan

Re: [PATCH v3 01/17] cmdline: Add generic function to build command line.

2021-03-30 Thread Daniel Walker
On Tue, Mar 30, 2021 at 08:07:30PM +0200, H. Nikolaus Schaller wrote: > > > Am 30.03.2021 um 19:27 schrieb Daniel Walker : > > > > On Fri, Mar 26, 2021 at 01:44:48PM +, Christophe Leroy wrote: > >> This code provides architectures with a way to build command li

Re: [PATCH 2/8] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-30 Thread Daniel Walker
On Tue, Mar 30, 2021 at 02:49:13PM -0500, Rob Herring wrote: > On Tue, Mar 30, 2021 at 12:57 PM Daniel Walker wrote: > > > > It looks like there's some seepage of cmdline stuff into > > the generic device tree code. This conflicts with the > > generic cmdline impl

Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-03-30 Thread Daniel Walker
On Tue, Mar 30, 2021 at 03:13:04PM -0500, Rob Herring wrote: > On Tue, Mar 30, 2021 at 12:33 PM Daniel Walker wrote: > > > > On Thu, Mar 25, 2021 at 05:29:44PM -0600, Rob Herring wrote: > > > On Thu, Mar 25, 2021 at 2:00 PM Daniel Walker wrote: > > > > > &

[PATCH] arm64: Add support for cisco craw64 ARMv8 SoCs

2021-03-30 Thread Daniel Walker
From: Ofer Licht Define craw64 config, dts and Makefile for Cisco SoCs known as Craw. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ofer Licht Signed-off-by: Daniel Walker --- .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/Kconfig.platforms | 5 + arch

Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-03-31 Thread Daniel Walker
On Wed, Mar 31, 2021 at 12:52:19PM +0100, Will Deacon wrote: > On Tue, Mar 30, 2021 at 10:35:21AM -0700, Daniel Walker wrote: > > On Mon, Mar 29, 2021 at 11:07:51AM +0100, Will Deacon wrote: > > > On Thu, Mar 25, 2021 at 12:59:56PM -0700, Daniel Walker wrote: > > > >

Re: [PATCH] arm64: Add support for cisco craw64 ARMv8 SoCs

2021-03-31 Thread Daniel Walker
On Wed, Mar 31, 2021 at 09:04:15AM +0200, Arnd Bergmann wrote: > On Wed, Mar 31, 2021 at 3:46 AM Daniel Walker wrote: > > From: Ofer Licht > > Thanks for the submission, it's always nice to see a new platform > > Define craw64 config, dts and Makefile for Ci

Re: [PATCH 6/8] drivers: firmware: efi: libstub: enable generic commandline

2021-03-31 Thread Daniel Walker
On Wed, Mar 31, 2021 at 06:10:08PM +0200, Ard Biesheuvel wrote: > (+ Arvind) > > On Tue, 30 Mar 2021 at 19:57, Daniel Walker wrote: > > > > This adds code to handle the generic command line changes. > > The efi code appears that it doesn't benefit as much

Re: [PATCH v2 0/7] Improve boot command line handling

2021-03-03 Thread Daniel Walker
On Tue, Mar 02, 2021 at 08:01:01PM -0600, Rob Herring wrote: > +Will D > > On Tue, Mar 2, 2021 at 11:36 AM Daniel Walker wrote: > > > > On Tue, Mar 02, 2021 at 05:25:16PM +, Christophe Leroy wrote: > > > The purpose of this series is to improve and enhance the

Re: [PATCH v2 0/7] Improve boot command line handling

2021-03-03 Thread Daniel Walker
On Wed, Mar 03, 2021 at 07:07:45PM +0100, Christophe Leroy wrote: > > > Le 03/03/2021 à 18:39, Daniel Walker a écrit : > > On Tue, Mar 02, 2021 at 08:01:01PM -0600, Rob Herring wrote: > > > +Will D > > > > > > On Tue, Mar 2, 2021 at 11:36 AM Daniel Walk

[PATCH 1/5] CMDLINE: add generic builtin command line

2021-03-03 Thread Daniel Walker
...@cisco.com Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- include/linux/cmdline.h | 75 + init/Kconfig| 68 + 2 files changed, 143 insertions(+) create mode 100644 include/linux/cmdline.h diff --git a

[PATCH 4/5] CMDLINE: mips: convert to generic builtin command line

2021-03-03 Thread Daniel Walker
This updates the mips code to use the CONFIG_GENERIC_CMDLINE option. This deletes the option for MIPS_CMDLINE_BUILTIN_EXTEND and replaces the functionality with generic code. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel

[PATCH 3/5] CMDLINE: powerpc: convert to generic builtin command line

2021-03-03 Thread Daniel Walker
This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/powerpc/Kconfig| 37 + arch/powerpc/kernel

[PATCH 2/5] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-03 Thread Daniel Walker
It looks like there's some seepage of cmdline stuff into the generic device tree code. This conflicts with the generic cmdline implementation so I remove it in the case when that's enabled. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Dan

[PATCH 5/5] CMDLINE: x86: convert to generic builtin command line

2021-03-03 Thread Daniel Walker
This updates the x86 code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/x86/Kconfig| 44 + arch/x86/kernel/setup.c

[PATCH 0/8] generic command line v4

2021-04-15 Thread Daniel Walker
k his reservations are founded, and these changes should fully work on powerpc. However, I dropped these changes so Christophe can have more time to get comfortable with the changes. Enjoy! Daniel Walker (8): CMDLINE: add generic builtin command line scripts: insert-sys-cert: add co

[PATCH 1/8] CMDLINE: add generic builtin command line

2021-04-15 Thread Daniel Walker
ality needed by Cisco on all platform which we enable it on. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- include/linux/cmdline.h | 103 + init/Kconfig| 78 ++ lib/Kconfig

[PATCH 3/8] scripts: insert-sys-cert: change name to insert-symbol

2021-04-15 Thread Daniel Walker
Since the tool is used to update the command line and/or to update the certificates, I think it makes sense to changes the name of this tool. Update the name of the tool to better reflect it's new use. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker --- scripts/Mak

[PATCH 2/8] scripts: insert-sys-cert: add command line insert capability

2021-04-15 Thread Daniel Walker
intentionally keeps the tool filename the same to allow the changes to be seen more easily. The next commit will change the name of the tool. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker --- scripts/insert-sys-cert.c | 241 +++--- 1 file changed, 170

[PATCH 4/8] CMDLINE: mips: convert to generic builtin command line

2021-04-15 Thread Daniel Walker
1/.config make ARCH=$1 O=$1 olddefconfig make ARCH=$1 O=$1 savedefconfig cp $1/defconfig $2 rm -Rf $1 Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/mips/Kconfig | 4 +

[PATCH 6/8] CMDLINE: x86: convert to generic builtin command line

2021-04-15 Thread Daniel Walker
This updates the x86 code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/x86/Kconfig| 44 + arch/x86/kernel/setup.c

[PATCH 5/8] drivers: firmware: efi: libstub: enable generic commandline

2021-04-15 Thread Daniel Walker
way to do that currently. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker --- .../firmware/efi/libstub/efi-stub-helper.c| 29 +++ drivers/firmware/efi/libstub/efi-stub.c | 9 ++ drivers/firmware/efi/libstub/efistub.h| 1 + drivers/firmware/efi

[PATCH 8/8] CMDLINE: arm64: convert to generic builtin command line

2021-04-15 Thread Daniel Walker
. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker --- arch/arm64/Kconfig | 33 +- arch/arm64/include/asm/setup.h | 2 ++ arch/arm64/kernel/idreg-override.c | 9 3 files changed, 8 insertions(+), 36 deletions(-) diff --git a

[PATCH 7/8] of: allow sending a NULL value to early_init_dt_scan_chosen

2021-04-15 Thread Daniel Walker
ns, unless it's already populated. This code was boot tested on powerpc 32bit, x86, and arm64. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker --- drivers/of/fdt.c | 44 +--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/driver

Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-04-06 Thread Daniel Walker
On Thu, Apr 01, 2021 at 03:08:04PM -0500, Rob Herring wrote: > On Tue, Mar 30, 2021 at 6:31 PM Daniel Walker wrote: > > > > On Tue, Mar 30, 2021 at 03:13:04PM -0500, Rob Herring wrote: > > > On Tue, Mar 30, 2021 at 12:33 PM Daniel Walker wrote: > > > > > &

Re: [PATCH 2/8] CMDLINE: drivers: of: ifdef out cmdline section

2021-04-06 Thread Daniel Walker
On Fri, Apr 02, 2021 at 07:32:08PM +0200, Christophe Leroy wrote: > > > Le 30/03/2021 à 19:56, Daniel Walker a écrit : > > It looks like there's some seepage of cmdline stuff into > > the generic device tree code. This conflicts with the > > generic cmdline impl

Re: [PATCH 4/8] CMDLINE: powerpc: convert to generic builtin command line

2021-04-06 Thread Daniel Walker
On Fri, Apr 02, 2021 at 07:34:19PM +0200, Christophe Leroy wrote: > > > Le 30/03/2021 à 19:56, Daniel Walker a écrit : > > This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE > > option. > > > > This includes a scripted mass convert of the config

Re: [PATCH 6/8] drivers: firmware: efi: libstub: enable generic commandline

2021-04-06 Thread Daniel Walker
On Fri, Apr 02, 2021 at 07:36:53PM +0200, Christophe Leroy wrote: > > > Le 30/03/2021 à 19:57, Daniel Walker a écrit : > > This adds code to handle the generic command line changes. > > The efi code appears that it doesn't benefit as much from this design > > a

Re: [PATCH v4 00/20] Implement GENERIC_CMDLINE

2021-04-06 Thread Daniel Walker
On Fri, Apr 02, 2021 at 03:18:01PM +, Christophe Leroy wrote: > The purpose of this series is to improve and enhance the > handling of kernel boot arguments. > > Current situation is that most if not all architectures are using > similar options to do some manupulation on command line argument

Re: [PATCH v4 19/20] mips: Convert to GENERIC_CMDLINE

2021-04-06 Thread Daniel Walker
On Fri, Apr 02, 2021 at 03:18:21PM +, Christophe Leroy wrote: > -config CMDLINE_BOOL > - bool "Built-in kernel command line" > - help > - For most systems, it is firmware or second stage bootloader that > - by default specifies the kernel command line options. However, > -

Re: [PATCH 0/2] Fix CMDLINE_EXTEND handling for FDT "bootargs"

2021-03-02 Thread Daniel Walker
On Mon, Mar 01, 2021 at 11:26:14AM -0600, Rob Herring wrote: > +PPC folks and Daniel W > > On Mon, Mar 1, 2021 at 8:42 AM Will Deacon wrote: > > > > On Mon, Mar 01, 2021 at 08:19:32AM -0600, Rob Herring wrote: > > > On Thu, Feb 25, 2021 at 6:59 AM Will Deacon wrote: > > > > We recently [1] enabl

Re: [PATCH v2 0/7] Improve boot command line handling

2021-03-02 Thread Daniel Walker
On Tue, Mar 02, 2021 at 05:25:16PM +, Christophe Leroy wrote: > The purpose of this series is to improve and enhance the > handling of kernel boot arguments. > > It is first focussed on powerpc but also extends the capability > for other arches. > > This is based on s

[PATCH v2 1/7] CMDLINE: add generic builtin command line

2021-03-08 Thread Daniel Walker
...@cisco.com Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- include/linux/cmdline.h | 89 + init/Kconfig| 68 +++ 2 files changed, 157 insertions(+) create mode 100644 include/linux/cmdline.h diff --git a

[PATCH v2 0/7] Generic Command Line changes

2021-03-08 Thread Daniel Walker
system. These were tested on all effected architectures. Daniel Walker (7): CMDLINE: add generic builtin command line CMDLINE: drivers: of: ifdef out cmdline section powerpc: convert config files to generic cmdline CMDLINE: powerpc: convert to generic builtin command line mips: convert

[PATCH v2 2/7] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-08 Thread Daniel Walker
It looks like there's some seepage of cmdline stuff into the generic device tree code. This conflicts with the generic cmdline implementation so I remove it in the case when that's enabled. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Dan

[PATCH v2 0/7] Generic Command Line changes

2021-03-08 Thread Daniel Walker
system. These were tested on all effected architectures. Daniel Walker (7): CMDLINE: add generic builtin command line CMDLINE: drivers: of: ifdef out cmdline section powerpc: convert config files to generic cmdline CMDLINE: powerpc: convert to generic builtin command line mips: convert

[PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-03-08 Thread Daniel Walker
]; then echo "Two arguments are needed." exit 1 fi mkdir $1 cp $2 $1/.config sed -i 's/CONFIG_CMDLINE=/CONFIG_CMDLINE_BOOL=y\nCONFIG_CMDLINE_PREPEND=/g' $1/.config make ARCH=$1 O=$1 olddefconfig make ARCH=$1 O=$1 savedefconfig cp $1/defconfig $2 rm -Rf $1 Cc: xe-l

[PATCH v2 5/7] mips: convert config files to generic cmdline

2021-03-08 Thread Daniel Walker
echo "Two arguments are needed." exit 1 fi mkdir $1 cp $2 $1/.config sed -i 's/CONFIG_CMDLINE=/CONFIG_CMDLINE_BOOL=y\nCONFIG_CMDLINE_PREPEND=/g' $1/.config make ARCH=$1 O=$1 olddefconfig make ARCH=$1 O=$1 savedefconfig cp $1/defconfig $2 rm -Rf $1 Cc: xe-linux-exter...@cisc

[PATCH v2 6/7] CMDLINE: mips: convert to generic builtin command line

2021-03-08 Thread Daniel Walker
This updates the mips code to use the CONFIG_GENERIC_CMDLINE option. This deletes the option for MIPS_CMDLINE_BUILTIN_EXTEND and replaces the functionality with generic code. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel

[PATCH v2 1/7] CMDLINE: add generic builtin command line

2021-03-08 Thread Daniel Walker
...@cisco.com Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- include/linux/cmdline.h | 89 + init/Kconfig| 68 +++ 2 files changed, 157 insertions(+) create mode 100644 include/linux/cmdline.h diff --git a

[PATCH v2 2/7] CMDLINE: drivers: of: ifdef out cmdline section

2021-03-08 Thread Daniel Walker
It looks like there's some seepage of cmdline stuff into the generic device tree code. This conflicts with the generic cmdline implementation so I remove it in the case when that's enabled. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Dan

[PATCH v2 4/7] CMDLINE: powerpc: convert to generic builtin command line

2021-03-08 Thread Daniel Walker
This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/powerpc/Kconfig| 37 + arch/powerpc/kernel

[PATCH v2 7/7] CMDLINE: x86: convert to generic builtin command line

2021-03-08 Thread Daniel Walker
This updates the x86 code to use the CONFIG_GENERIC_CMDLINE option. Cc: xe-linux-exter...@cisco.com Signed-off-by: Ruslan Ruslichenko Signed-off-by: Ruslan Bilovol Signed-off-by: Daniel Walker --- arch/x86/Kconfig| 44 + arch/x86/kernel/setup.c

[PATCH 2/2] spidev: Add cisco device compatible

2021-01-21 Thread Daniel Walker
Add compatible string for Cisco device present on the Cisco Petra platform. Signed-off-by: Daniel Walker Cc: xe-linux-exter...@cisco.com --- drivers/spi/spidev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spidev.c b/drivers/spi/spidev.c index 859910ec8d9f..8cb4d923aeaa

[PATCH 1/2] arm64: boot: dts: add new dts for hellcat & petra

2021-01-21 Thread Daniel Walker
Add Petra and Hellcat dts file. These platforms are based on the Xilinx Zynqmp platform. Signed-off-by: Daniel Walker Cc: xe-linux-exter...@cisco.com --- arch/arm64/boot/dts/xilinx/Makefile | 2 + .../boot/dts/xilinx/zynqmp-petra-hellcat.dts | 856 ++ arch/arm64

Re: [PATCH v2 3/7] powerpc: convert config files to generic cmdline

2021-03-09 Thread Daniel Walker
On Tue, Mar 09, 2021 at 08:47:09AM +0100, Christophe Leroy wrote: > > > Le 09/03/2021 à 01:02, Daniel Walker a écrit : > > This is a scripted mass convert of the config files to use > > the new generic cmdline. There is a bit of a trim effect here. > > It would se

Re: [PATCH v2 4/7] CMDLINE: powerpc: convert to generic builtin command line

2021-03-09 Thread Daniel Walker
On Tue, Mar 09, 2021 at 08:56:47AM +0100, Christophe Leroy wrote: > > > Le 09/03/2021 à 01:02, Daniel Walker a écrit : > > This updates the powerpc code to use the CONFIG_GENERIC_CMDLINE > > option. > > > > Cc: xe-linux-exter...@cisco.com > > Signed-off-by

Re: latencytop.org defunkt ?

2013-10-16 Thread Daniel Walker
On Sun, Oct 13, 2013 at 12:09:42PM -0700, Arjan van de Ven wrote: > somehow the domain no longer points to the right spot/etc > > my attempts to get that fixed have failed so far ;-( > Should we put the source into linux/tools/ ? With the site down it took some effort to find the source. Danie

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-29 Thread Daniel Walker
That's not very nice .. You know there is a device connect with this that several of us have.. On Mon, Oct 28, 2013 at 01:43:24PM -0700, David Brown wrote: > Support for the MSM7x00 SoCs was added starting in 2008 based on code > from Google's Android kernels. Platform support is fairly minimal

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-29 Thread Daniel Walker
On Tue, Oct 29, 2013 at 08:37:28AM -0700, Olof Johansson wrote: > Daniel, > > I would be very happy to take more code for the older Qualcomm chipset > to enable full functionality for them, but it's been my impression > that far from all that is needed to make it a useful platform is in > the upst

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-29 Thread Daniel Walker
On Tue, Oct 29, 2013 at 10:39:45AM -0700, Olof Johansson wrote: > On Tue, Oct 29, 2013 at 10:08 AM, Daniel Walker wrote: > > > Personally I think splitting mach- stuff isn't very useful or > > interesting.. There's just no technical reason for it, for example x86 >

Re: [PATCH 3/4] ARM: msm: Remove 7x30 supporty

2013-10-29 Thread Daniel Walker
Why wouldn't you just update it to use the device tree ? There are lots of phones our there using 7x30 .. This is one that Qualcomm specifically upstreamed, so what was the point of upstreaming it ? On Mon, Oct 28, 2013 at 01:43:25PM -0700, David Brown wrote: > The MSM7x30 SoC support was adde

Re: [PATCH 4/4] ARM: msm: Remove 8x50 support

2013-10-29 Thread Daniel Walker
Isn't this the Nexus one platform ? Same as the last one , why don't you just update it to use the device tree? This doesn't seem like it would be all that difficult. On Mon, Oct 28, 2013 at 01:43:26PM -0700, David Brown wrote: > The MSM8x50 SoC support was added in 2010 based on code from Go

Re: [PATCH 4/4] ARM: msm: Remove 8x50 support

2013-10-30 Thread Daniel Walker
On Wed, Oct 30, 2013 at 02:30:23PM +0100, Arnd Bergmann wrote: > On Tuesday 29 October 2013, Daniel Walker wrote: > > Isn't this the Nexus one platform ? Same as the last one , why don't you > > just update it to use the device tree? This doesn't seem like it w

[PATCH] drivers: misc: stcam: Renesas stcam device

2013-10-30 Thread Daniel Walker
This is a driver for the ternary content addressable memory unit from Renesas. It allows filtering on bits, and wildcards thru the chip. Signed-off-by: Daniel Walker --- drivers/misc/Kconfig | 7 + drivers/misc/Makefile | 1 + drivers/misc/stcam.c | 348

Re: [PATCH] drivers: misc: stcam: Renesas stcam device

2013-10-30 Thread Daniel Walker
On Wed, Oct 30, 2013 at 12:42:06PM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 30, 2013 at 12:17:48PM -0700, Daniel Walker wrote: > > This is a driver for the ternary content addressable memory unit from > > Renesas. It > > allows filtering on bits, and wildcards thru the

Re: [PATCH] drivers: misc: stcam: Renesas stcam device

2013-10-30 Thread Daniel Walker
On Wed, Oct 30, 2013 at 02:22:51PM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 30, 2013 at 12:50:16PM -0700, Daniel Walker wrote: > > On Wed, Oct 30, 2013 at 12:42:06PM -0700, Greg Kroah-Hartman wrote: > > > On Wed, Oct 30, 2013 at 12:17:48PM -0700, Daniel Walker wrote: > &

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-30 Thread Daniel Walker
On Wed, Oct 30, 2013 at 04:08:27PM -0700, Kevin Hilman wrote: > Olof Johansson writes: > > > I would be very happy to take more code for the older Qualcomm chipset > > to enable full functionality for them, but it's been my impression > > that far from all that is needed to make it a useful platf

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-30 Thread Daniel Walker
On Wed, Oct 30, 2013 at 05:36:58PM -0700, Olof Johansson wrote: > On Wed, Oct 30, 2013 at 4:25 PM, Daniel Walker wrote: > > > So the current users of those platforms are, what SOL ? > > What users? Show me one. > What am I chop liver ? Daniel -- To unsubscribe from thi

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-31 Thread Daniel Walker
On Wed, Oct 30, 2013 at 10:19:30PM -0700, Olof Johansson wrote: > On Wed, Oct 30, 2013 at 7:45 PM, Daniel Walker wrote: > > On Wed, Oct 30, 2013 at 05:36:58PM -0700, Olof Johansson wrote: > >> On Wed, Oct 30, 2013 at 4:25 PM, Daniel Walker wrote: > >> > >

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-31 Thread Daniel Walker
On Thu, Oct 31, 2013 at 08:53:58AM -0700, Olof Johansson wrote: > On Thu, Oct 31, 2013 at 5:07 AM, Daniel Walker wrote: > > On Wed, Oct 30, 2013 at 10:19:30PM -0700, Olof Johansson wrote: > >> On Wed, Oct 30, 2013 at 7:45 PM, Daniel Walker wrote: > >> > On Wed, Oc

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-31 Thread Daniel Walker
On Thu, Oct 31, 2013 at 10:12:03AM -0700, Kevin Hilman wrote: > Daniel Walker writes: > > > No. The idea behind splitting them is to allow current platforms with > active maintainers to progress without being held back. The older > platforms can stay and have an opport

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-31 Thread Daniel Walker
On Thu, Oct 31, 2013 at 11:51:34AM -0700, Kevin Hilman wrote: > Daniel Walker writes: > > > On Thu, Oct 31, 2013 at 10:12:03AM -0700, Kevin Hilman wrote: > >> Daniel Walker writes: > >> > >> > >> No. The idea behind splitting them is to allow c

Re: [PATCH 2/4] ARM: msm: Remove 7x00 support

2013-10-31 Thread Daniel Walker
On Thu, Oct 31, 2013 at 07:23:30PM +, Russell King - ARM Linux wrote: > On Thu, Oct 31, 2013 at 10:35:06AM -0700, Daniel Walker wrote: > > ARM and the sub-architectures is already confusing I don't think we need > > to start compounding the problem by allowing random whate

[PATCH 2/3] fs: nfsd: remove calls to simple_strtoll

2013-10-25 Thread Daniel Walker
Signed-off-by: Daniel Walker --- fs/nfsd/fault_inject.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/nfsd/fault_inject.c b/fs/nfsd/fault_inject.c index d620e7f..41165f0 100644 --- a/fs/nfsd/fault_inject.c +++ b/fs/nfsd/fault_inject.c @@ -125,20 +125,24

[PATCH 1/3] fs: libfs: remove calls to simple_strtoll

2013-10-25 Thread Daniel Walker
Signed-off-by: Daniel Walker --- fs/libfs.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/fs/libfs.c b/fs/libfs.c index 8c50184..0467f6e 100644 --- a/fs/libfs.c +++ b/fs/libfs.c @@ -845,10 +845,13 @@ ssize_t simple_attr_write(struct file *file, const char

[PATCH 3/3] cgroups: remove calls to simple_kstrtoll

2013-10-25 Thread Daniel Walker
Signed-off-by: Daniel Walker --- kernel/cgroup.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 41f71c3..bf8b891 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -2276,7 +2276,7 @@ static ssize_t cgroup_write_X64

Re: [PATCH 2/3] fs: nfsd: remove calls to simple_strtoll

2013-10-27 Thread Daniel Walker
On Sat, Oct 26, 2013 at 02:41:24PM -0400, J. Bruce Fields wrote: > On Fri, Oct 25, 2013 at 07:33:12PM -0700, Daniel Walker wrote: > > Signed-off-by: Daniel Walker > > --- > > fs/nfsd/fault_inject.c | 12 > > 1 file changed, 8 insertions(+), 4 deletions(

Re: [PATCH 3/3] cgroups: remove calls to simple_kstrtoll

2013-10-27 Thread Daniel Walker
Sure , I can add it .. It's because simple_strtoll is obsolete .. On Sun, Oct 27, 2013 at 07:39:25AM -0400, Tejun Heo wrote: > On Fri, Oct 25, 2013 at 07:33:13PM -0700, Daniel Walker wrote: > > Signed-off-by: Daniel Walker > > Can you please briefly explain why this conver

Re: [PATCH] kernel: fs: drop_caches: add dds drop_caches_count

2016-02-15 Thread Daniel Walker
On 02/14/2016 01:18 PM, Dave Chinner wrote: On Fri, Feb 12, 2016 at 12:14:39PM -0800, Daniel Walker wrote: From: Khalid Mughal Currently there is no way to figure out the droppable pagecache size from the meminfo output. The MemFree size can shrink during normal system operation, when some of

Re: [PATCH] kernel: fs: drop_caches: add dds drop_caches_count

2016-02-15 Thread Daniel Walker
On 02/15/2016 03:05 PM, Dave Chinner wrote: On Mon, Feb 15, 2016 at 10:19:54AM -0800, Daniel Walker wrote: On 02/14/2016 01:18 PM, Dave Chinner wrote: On Fri, Feb 12, 2016 at 12:14:39PM -0800, Daniel Walker wrote: From: Khalid Mughal Currently there is no way to figure out the droppable

[PATCH -v2] drivers: net: ethernet: intel: e1000e: fix ethtool autoneg off for non-copper

2016-04-05 Thread Daniel Walker
call would not fail with -EOPNOTSUPP. e1000_set_spd_dplx should not automatically turn autoneg back on for forced 1000 Mbps full duplex settings for non-copper media. Cc: xe-ker...@external.cisco.com Cc: Daniel Walker Signed-off-by: Steve Shih --- drivers/net/ethernet/intel/e1000e/ethtool.c

Re: [PATCH-RFC] drivers: net: ethernet: intel: e1000e: fix ethtool autoneg off for fiber

2016-03-30 Thread Daniel Walker
So Intel maintainers (Jeff, Jesse, Shannon, Carolyn, Don, Bruce, and John) I'm assuming no comments means this patch is acceptable , and I will resubmit it without the RFC. Is that acceptable ? On 03/25/2016 02:58 PM, Daniel Walker wrote: From: Steve Shih This patch fixes the issue

checkpatch false positon on EXPORT_SYMBOL

2016-03-31 Thread Daniel Walker
The below looks like normal code but the last export symbol gets the warning, WARNING:EXPORT_SYMBOL: EXPORT_SYMBOL(foo); should immediately follw its function/variable #16: FILE: kernel/acct.c:70: +EXPORT_SYMBOL(test_export);/* Error ! */ It seems to have to do with the comments at the

Re: [Intel-wired-lan] [PATCH-RFC] drivers: net: ethernet: intel: e1000e: fix ethtool autoneg off for fiber

2016-04-04 Thread Daniel Walker
On 04/03/2016 07:23 AM, Ruinskiy, Dima wrote: I have a couple of comments (sorry for not getting to it a bit sooner). For fiber media, e1000_get_settings should return ETH_TP_MDI_INVALID for eth_tp_mdix_ctrl instead of ETH_TP_MDI_AUTO so subsequent e1000_set_settings call would not fail with -E

Re: checkpatch false positon on EXPORT_SYMBOL

2016-04-11 Thread Daniel Walker
On 03/31/2016 12:21 PM, Joe Perches wrote: On Thu, 2016-03-31 at 08:01 -0700, Daniel Walker wrote: The below looks like normal code but the last export symbol gets the warning, WARNING:EXPORT_SYMBOL: EXPORT_SYMBOL(foo); should immediately follw its function/variable #16: FILE: kernel/acct.c

Re: checkpatch false positon on EXPORT_SYMBOL

2016-04-12 Thread Daniel Walker
On 04/12/2016 05:59 AM, Andy Whitcroft wrote: On Mon, Apr 11, 2016 at 03:09:42PM -0700, Joe Perches wrote: On Mon, 2016-04-11 at 14:51 -0700, Daniel Walker wrote: On 03/31/2016 12:21 PM, Joe Perches wrote: On Thu, 2016-03-31 at 08:01 -0700, Daniel Walker wrote: The below looks like normal

Re: checkpatch false positon on EXPORT_SYMBOL

2016-04-12 Thread Daniel Walker
On 04/12/2016 10:49 AM, Joe Perches wrote: On Tue, 2016-04-12 at 13:59 +0100, Andy Whitcroft wrote: diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] @@ -3000,7 +3000,7 @@ sub process { $realline_next = $line_nr_next; if (defined $rea

[PATCH] powerpc: platform: 85xx: mpc85xx ADS: remove pci exclude

2015-11-05 Thread Daniel Walker
xtensively debugged by David Beazley. Cc: xe-ker...@external.cisco.com Cc: dbeaz...@cisco.com Cc: dwal...@fifo99.com Signed-off-by: Daniel Walker --- arch/powerpc/platforms/85xx/mpc85xx_ads.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/powerpc/platforms/85xx/mpc85xx_ads

Re: linux-next: manual merge of the cisco tree with the vfs tree

2019-01-14 Thread Daniel Walker
On Tue, Jan 15, 2019 at 09:33:30AM +1100, Stephen Rothwell wrote: > Hi Daniel, > > On Tue, 2 Oct 2018 16:29:23 +1000 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the cisco tree got a conflict in: > > > > arch/x86/kernel/setup.c > > > > between commit: > > > > dcf8001d292b

unstable /sys interface from hmon

2017-01-30 Thread Daniel Walker
Hi, Cisco recently upgraded to kernel 4.4.. We have applications which use the /sys interfaces for some hmon drivers. We found that the following patches, https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bab2243ce1897865e31ea6d59b0478391f51812b https://git.kernel.org/c

[PATCH-RFC] drivers: net: ethernet: intel: e1000e: fix ethtool autoneg off for fiber

2016-03-25 Thread Daniel Walker
From: Steve Shih This patch fixes the issues for disabling auto-negotiation and forcing speed and duplex settings for the fiber media. For fiber media, e1000_get_settings should return ETH_TP_MDI_INVALID for eth_tp_mdix_ctrl instead of ETH_TP_MDI_AUTO so subsequent e1000_set_settings call would

Re: computing drop-able caches

2016-02-10 Thread Daniel Walker
On 02/08/2016 12:57 PM, Khalid Mughal (khalidm) wrote: How do we explain the discrepancy between MemAvaiable and MemFree count after we drop cache? In following output, which one represents correct data? [Linux_0:/]$ cat /proc/meminfo MemTotal:3977836 kB MemFree: 747832 kB MemAv

Re: computing drop-able caches

2016-02-10 Thread Daniel Walker
On 02/10/2016 10:13 AM, Dave Hansen wrote: On 02/10/2016 10:04 AM, Daniel Walker wrote: [Linux_0:/]$ echo 3 > /proc/sys/vm/drop_caches [Linux_0:/]$ cat /proc/meminfo MemTotal:3977836 kB MemFree: 1095012 kB MemAvailable:1434148 kB I suspect MemAvailable takes into acco

Re: computing drop-able caches

2016-02-12 Thread Daniel Walker
On 02/12/2016 10:06 AM, Dave Hansen wrote: On 01/28/2016 03:42 PM, Daniel Walker wrote: My colleague Khalid and I are working on a patch which will provide a /proc file to output the size of the drop-able page cache. One way to implement this is to use the current drop_caches /proc routine, but

Re: computing drop-able caches

2016-02-12 Thread Daniel Walker
On 02/12/2016 10:18 AM, Dave Hansen wrote: On 02/12/2016 10:15 AM, Daniel Walker wrote: On 02/12/2016 10:06 AM, Dave Hansen wrote: On 01/28/2016 03:42 PM, Daniel Walker wrote: My colleague Khalid and I are working on a patch which will provide a /proc file to output the size of the drop-able

[PATCH] kernel: fs: drop_caches: add dds drop_caches_count

2016-02-12 Thread Daniel Walker
drop any pages. Therefore it does not have any impact on system performance. The computation does not include the size of reclaimable slab. Cc: xe-ker...@external.cisco.com Cc: dave.han...@intel.com Cc: han...@cmpxchg.org Cc: r...@redhat.com Signed-off-by: Khalid Mughal Signed-off-by: Daniel Wa

Re: computing drop-able caches

2016-02-12 Thread Daniel Walker
On 02/12/2016 10:18 AM, Dave Hansen wrote: On 02/12/2016 10:15 AM, Daniel Walker wrote: On 02/12/2016 10:06 AM, Dave Hansen wrote: On 01/28/2016 03:42 PM, Daniel Walker wrote: My colleague Khalid and I are working on a patch which will provide a /proc file to output the size of the drop-able

computing drop-able caches

2016-01-28 Thread Daniel Walker
Hi, My colleague Khalid and I are working on a patch which will provide a /proc file to output the size of the drop-able page cache. One way to implement this is to use the current drop_caches /proc routine, but instead of actually droping the caches just add up the amount. Here's a quote Kha

Re: computing drop-able caches

2016-01-28 Thread Daniel Walker
On 01/28/2016 03:58 PM, Johannes Weiner wrote: On Thu, Jan 28, 2016 at 03:42:53PM -0800, Daniel Walker wrote: "Currently there is no way to figure out the droppable pagecache size from the meminfo output. The MemFree size can shrink during normal system operation, when some of the memory

Re: computing drop-able caches

2016-01-29 Thread Daniel Walker
On 01/28/2016 05:55 PM, Johannes Weiner wrote: On Thu, Jan 28, 2016 at 05:29:41PM -0800, Daniel Walker wrote: On 01/28/2016 05:03 PM, Daniel Walker wrote: [regarding MemAvaiable] This new metric purportedly helps usrespace assess available memory. But, its again based on heuristic, it takes 1

Re: [PATCH] igb: add parameter to ignore nvm checksum validation

2019-05-16 Thread Daniel Walker
On Thu, May 16, 2019 at 03:02:18PM -0700, Florian Fainelli wrote: > On 5/16/19 12:55 PM, Nikunj Kela (nkela) wrote: > > > > > > On 5/16/19, 12:35 PM, "Jeff Kirsher" wrote: > > > > On Wed, 2019-05-08 at 23:14 +, Nikunj Kela wrote: > >>> Some of the broken NICs don't have EEPROM progr

Re: linux-next: removal of the cisco tree

2020-06-16 Thread Daniel Walker
On Tue, Jun 16, 2020 at 03:00:09PM +1000, Stephen Rothwell wrote: > Hi, > > I have removed the cisco tree > (https://github.com/daniel-walker/cisco-linux.git#for-next) > from linux-next because it has not been updated in more than a year. > If you would like it reinstated, ple

[RFC-PATCH] mtd: spi-nor: add conditional 4B opcodes

2020-05-07 Thread Daniel Walker
Some chips have 4B opcodes, but there is no way to know if they have them. This device tree option allows platform owners to force enable 4b opcodes when they know their chips support it even when it can be automatically identified. Cc: xe-linux-exter...@cisco.com Signed-off-by: Daniel Walker

Re: Detecting page cache trashing state

2017-09-15 Thread Daniel Walker
On 09/14/2017 05:16 PM, Taras Kondratiuk wrote: Hi In our devices under low memory conditions we often get into a trashing state when system spends most of the time re-reading pages of .text sections from a file system (squashfs in our case). Working set doesn't fit into available page cache, so

Re: Detecting page cache trashing state

2017-09-15 Thread Daniel Walker
On 09/15/2017 09:38 AM, Taras Kondratiuk wrote: Quoting Daniel Walker (2017-09-15 07:22:27) On 09/14/2017 05:16 PM, Taras Kondratiuk wrote: Hi In our devices under low memory conditions we often get into a trashing state when system spends most of the time re-reading pages of .text sections

Re: [PATCH] sd: assign appropriate log level

2016-10-17 Thread Daniel Walker
On 10/17/2016 10:19 AM, James Bottomley wrote: On Mon, 2016-10-17 at 09:51 -0700, David Singleton wrote: From: Shikhar Dogra Reduce chatter on console for usb hotplug. KERN_ERR is too high severity for these messages, moving them to KERN_WARNING It's an error because we have several USB to ID

<    3   4   5   6   7   8   9   >