is there still any need PPC checking for "chosen@0"?

2018-08-06 Thread Robert P. J. Day
es that require the recognition of "/chosen@0"? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter:

Re: [PATCH] devicetree: Remove remaining references/tests for "chosen@0"

2017-09-05 Thread Robert P. J. Day
On Tue, 5 Sep 2017, Rob Herring wrote: > On Sun, Sep 3, 2017 at 5:43 AM, Robert P. J. Day > wrote: > > On Sun, 3 Sep 2017, Benjamin Herrenschmidt wrote: > > > >> On Sat, 2017-09-02 at 04:43 -0400, Robert P. J. Day wrote: > >> > Since, according to a rece

Re: [PATCH] devicetree: Remove remaining references/tests for "chosen@0"

2017-09-03 Thread Robert P. J. Day
On Sun, 3 Sep 2017, Benjamin Herrenschmidt wrote: > On Sat, 2017-09-02 at 04:43 -0400, Robert P. J. Day wrote: > > Since, according to a recent devicetree ML posting by Rob Herring, > > the node "/chosen@0" is most likely for real Open Firmware and > > does

[PATCH] devicetree: Remove remaining references/tests for "chosen@0"

2017-09-02 Thread Robert P. J. Day
or "chosen" immediately before the test for "chosen@0", so nothing should change. Signed-off-by: Robert P. J. Day --- if this patch is premature, then just ignore it, thanks. diff --git a/arch/microblaze/kernel/prom.c b/arch/microblaze/kernel/prom.c index 68f0999..c81bfd

[PATCH] arch/powerpc: Standardize DTS status assignments from "ok" to "okay"

2017-09-01 Thread Robert P. J. Day
While the current kernel drivers/of/ code allows developers to be sloppy and use a DTS status value of "ok", the current DTSpec 0.1 makes it clear that the proper spelling is "okay", so fix the small number of PowerPC .dts files that do this. Signed-off-by: Robert P. J. Day

how can i see the *actual* bus and brg frequencies on running system?

2016-05-25 Thread Robert P. J. Day
somewhere unique to this BSP. but still, if that's the case, should it not still be possible to view the frequency that was finally set and used on the running system? -- ================ Robert P. J. Day

Re: [PATCH 0213/1529] Fix typo

2016-05-23 Thread Robert P. J. Day
t; > +++ b/arch/powerpc/include/asm/eeh.h > > @@ -57,7 +57,7 @@ struct pci_dn; > >  /* > >   * The struct is used to trace PE related EEH functionality. > >   * In theory, there will have one instance of the struct to "there will have one ins

Re: [PATCH 0218/1529] Fix typo

2016-05-21 Thread Robert P. J. Day
really? you're going to submit 1,529 individual typo fixes? rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Tw

for muram in DTS file, why change #address-cells from <1> to <2>?

2016-05-17 Thread Robert P. J. Day
ication of the underlying architecture. can someone explain what that might mean? thanks. rday -- Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter:

on a MPC8360 system, how can i read the *actual* bus frequencies?

2016-05-10 Thread Robert P. J. Day
ly not used? rday -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.c

followup: kernel manipulation of {bus,brg}-frequency for MPC8360?

2016-05-07 Thread Robert P. J. Day
etree/bindings/powerpc/fsl/cpm_qe/qe.txt -- ================ Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn:

MPC8360, quicc engine, bus-frequency and brg-frequency

2016-05-07 Thread Robert P. J. Day
system bus, and just realized that, oops, it should have been 396MHz all along. anyway, to recap, just trying to understand what this patch under "qe@f010" might mean: - brg-frequency = <0>; - bus-frequency = <0xFBC5200>; // 264Mhz + brg-frequency = <19800>; +

[PATCH] ADB: Replace __WAITQUEUE_INITIALIZER with more standard DECLARE_WAITQUEUE.

2013-06-22 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- just FYI, that invocation of __WAITQUEUE_INITIALIER() is the only one in the entire current source tree so it seems a bit out of place. not tested, but there *should* be no functional change. diff --git a/drivers/macintosh/adb.c b/drivers/macintosh/adb.c

linux kernel reference to non-existent CONFIG_FSL_85XX_CACHE_SRAM

2011-05-14 Thread Robert P. J. Day
the current kernel source tree contains a Makefile reference to the above Kconfig variable that doesn't appear to be defined anywhere. rday -- Robert P. J. Day Ottawa, Ontario, C

[PATCH] POWERPC: Remove redundant initialization of bsr dev_t declaration.

2011-04-21 Thread Robert P. J. Day
Remove the unnecessary initialization of "dev_t bsr_dev" since it's subsequently used in an "alloc_chrdev_region()" call which uses that variable in an output-only fashion. Signed-off-by: Robert P. J. Day --- *Not* compile tested since I don't have a PPC toolch

[PATCH] POWERPC: Simplify param.h by including

2009-12-31 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- diff --git a/arch/powerpc/include/asm/param.h b/arch/powerpc/include/asm/param.h index 094f63d..965d454 100644 --- a/arch/powerpc/include/asm/param.h +++ b/arch/powerpc/include/asm/param.h @@ -1,22 +1 @@ -#ifndef _ASM_POWERPC_PARAM_H -#define

invalid Kconfig "select" for MPC5121_ADS_CPLD

2009-06-13 Thread Robert P. J. Day
arch/powerpc/platforms/512x/Kconfig: select MPC5121_ADS_CPLD no such config directive anywhere. rday -- Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and

where to simplify code using is_power_of_2() function

2009-04-24 Thread Robert P. J. Day
7: if ((alignment & (alignment - 1)) != 0) arch/powerpc/lib/rheap.c:450: if (size <= 0 || (alignment & (alignment - 1)) != 0) rday -- ================ Robert P. J. Day Waterloo, Ontario, CAN

[PATCH] Delete completed "ppc removal" task from feature removal file.

2008-08-06 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- unless this is in someone's tree already. diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index c239554..17cab3c 100644 --- a/Documentation/feature-removal-schedul

[PATCH] POWERPC: Remove ioctl.h content picked up from .

2008-05-14 Thread Robert P. J. Day
Now that allows overriding of the most commonly changed macros, take advantage of that. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- i *think* this results in an equivalent ioctl.h file, but feel free to check it carefully, and tweak if necessary. diff --git a/inclu

[PATCH] POWERPC: Move a.out.h to header-y since it doesn't check __KERNEL__.

2008-03-22 Thread Robert P. J. Day
Since a.out.h doesn't check the value of __KERNEL__, there's no point in unifdef'ing it. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/include/asm-powerpc/Kbuild b/include/asm-powerpc/Kbuild index 5f640e5..7381916 100644 --- a/include/asm-powerpc/Kbu

[PATCH] PPC: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.

2008-03-15 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/arch/ppc/syslib/mpc52xx_setup.c b/arch/ppc/syslib/mpc52xx_setup.c index 9f504fc..ab0cf4c 100644 --- a/arch/ppc/syslib/mpc52xx_setup.c +++ b/arch/ppc/syslib/mpc52xx_setup.c @@ -279,7 +279,7 @@ int mpc52xx_match_psc_functi

"make ARCH=ppc defconfig" fails looking for common_defconfig

2008-02-18 Thread Robert P. J. Day
ed on 'common_defconfig' *** *** Can't find default configuration "arch/ppc/configs/common_defconfig"! *** make[1]: *** [defconfig] Error 1 make: *** [defconfig] Error 2 rday -- ================ Robert P. J. Day Linux Con

"extra-aflags-y"??

2008-02-17 Thread Robert P. J. Day
yway, no? rday -- ============ Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo,

Makefile FLAGS typoes??

2007-11-17 Thread Robert P. J. Day
etc. rday ======== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://cras

[PATCH] POWERPC: Use "is_power_of_2" macro for simplicity.

2007-11-06 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/lib/rheap.c b/arch/powerpc/lib/rheap.c index 22c3b4f..53b4e91 100644 --- a/arch/powerpc/lib/rheap.c +++ b/arch/powerpc/lib/rheap.c @@ -19,6 +19,7 @@ #include #include #include +#include #i

Kconfig selects non-existent IBM_NEW_EMAC_ZMII

2007-10-11 Thread Robert P. J. Day
just FYI, from arch/powerpc/platforms/4xx/Kconfig: ... config 440GP bool select IBM_NEW_EMAC_ZMII ... there is no such Kconfig variable IBM_NEW_EMAC_ZMII. rday -- Robert P. J. Day Linux Consulting

[PATCH] PPC: Remove redundant reference to non-existent CONFIG_BOOTIMG.

2007-10-07 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- there is, AFAICT, no BOOTIMG Kconfig variable. not to mention that there is no such include/linux/bootimg.h header file. arch/ppc/platforms/ev64360.c |3 --- arch/ppc/platforms/katana.c |3 --- 2 files changed, 6 del

Re: [PATCH] PPC: Prevent direct inclusion of .

2007-07-18 Thread Robert P. J. Day
On Wed, 18 Jul 2007, Kumar Gala wrote: > > On Jul 18, 2007, at 8:36 AM, Robert P. J. Day wrote: > > > > > Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> > > Can you provide some commit description as to why we are doing this? > > - k > > > >

[PATCH] PPC: Prevent direct inclusion of .

2007-07-18 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- not compile-tested, so if there's a flaw here somewhere, feel free to tweak it. arch/ppc/syslib/ocp.c |2 +- include/asm-powerpc/rwsem.h |4 include/asm-ppc/ocp.h |2 +- 3 files changed, 6 inser

[PATCH] POWERPC: Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option.

2007-07-17 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- arch/powerpc/configs/prpmc2800_defconfig |2 +- arch/powerpc/platforms/Kconfig.cputype |2 +- arch/powerpc/platforms/embedded6xx/Kconfig |2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/p

Re: [PATCH] POWERPC: Correct misspelled config variable in arch/powerpc/Kconfig.

2007-07-17 Thread Robert P. J. Day
On Tue, 17 Jul 2007, Paul Mackerras wrote: > Robert P. J. Day writes: > > > -config CONFIG_CHECK_CACHE_COHERENCY > > +config CHECK_CACHE_COHERENCY > > Please also fix the occurrence in > arch/powerpc/platforms/embedded6xx/Kconfig. ah, i completely missed that on

Re: [patch] use __attribute__ in asm-powerpc

2007-07-16 Thread Robert P. J. Day
ot subject to > different compilers), I think the preferred form is plain > `attribute'. compiler-gcc.h also defines the common form of the shortcut: #define __aligned(x)__attribute__((aligned(x))) rday -- ==

[PATCH] POWERPC: Correct misspelled config variable in arch/powerpc/Kconfig.

2007-07-14 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> --- diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 6beee32..0e59024 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -391,7 +391,7 @@ config NOT_COHERENT_CACHE depends on 4xx || 8xx |

possibly dead CONFIG-related content in arch/ppc

2007-07-14 Thread Robert P. J. Day
rday -- Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA http://fsdev.net/wiki/index.php?title=Main

possible dead CONFIG-related content under arch/powerpc

2007-07-14 Thread Robert P. J. Day
ifdef CONFIG_SMP_750 arch/powerpc/mm/tlb_32.c:92:#ifdef CONFIG_SMP_750 == SPE_BASE == arch/powerpc/mm/hash_utils_64.c:612:#ifdef CONFIG_SPE_BASE arch/powerpc/mm/hash_utils_64.c:747:#ifdef CONFIG_SPE_BASE -- Robert P. J