Re: [PATCH 5/9] blackfin: A couple of task->mm handling fixes

2012-05-31 Thread Mike Frysinger
On Monday 23 April 2012 03:09:01 Anton Vorontsov wrote: > 1. Working with task->mm w/o getting mm or grabing the task lock is >dangerous as ->mm might disappear (exit_mm() assigns NULL under >task_lock(), so tasklist lock is not enough). that isn't a problem for this code as it specificall

Re: [PATCH 1/2] atomic: Allow atomic_inc_not_zero to be overridden

2012-03-01 Thread Mike Frysinger
On Thursday 01 March 2012 02:09:53 Anton Blanchard wrote: > We want to implement a ppc64 specific version of atomic_inc_not_zero > so wrap it in an ifdef to allow it to be overridden. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed messag

Re: [PATCH v2 ] Implement GET_IP/SET_IP for powerpc architecture.

2012-02-08 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] Implement GET_IP/SET_IP for powerpc architecture.

2012-02-02 Thread Mike Frysinger
On Thursday 02 February 2012 11:36:59 Srikar Dronamraju wrote: > * Mike Frysinger [2012-02-02 11:28:46]: > > On Thursday 02 February 2012 09:41:25 Srikar Dronamraju wrote: > > > +#define profile_pc(regs) GET_IP(regs) > > > > pretty sure you don't need this as

Re: [PATCH] Implement GET_IP/SET_IP for powerpc architecture.

2012-02-02 Thread Mike Frysinger
On Thursday 02 February 2012 09:41:25 Srikar Dronamraju wrote: > +#define GET_FP(regs) (0) > +#define SET_FP(regs, val) ppc doesn't have a standard FP location ? > +#define profile_pc(regs) GET_IP(regs) pretty sure you don't need this as asm-generic/ptrace.h already has a definition for

[PATCH v3] asm-generic/gpio.h: merge basic gpiolib wrappers

2011-11-02 Thread Mike Frysinger
- mips: ar7 & ath79 & bcm47xx & bcm63xx & ip22 defconfig - powerpc: mpc85xx & ppc64 defconfig - sh: kfr2r09 defconfig - sparc defconfig - x86_64 defconfig I don't have any toolchains for avr32, microblaze, openrisc, unicore32, or xtensa. So they

[PATCH v2] asm-generic/gpio.h: merge basic gpiolib wrappers

2011-10-27 Thread Mike Frysinger
d either. I don't have any toolchains for avr32, microblaze, openrisc, unicore32, or xtensa. So they lose :x. Signed-off-by: Mike Frysinger --- v2 - grub through arm gpio.h headers - add m68k support note: i've done a full build of all arm defconfigs, and any warnings

Re: [PATCH] asm-generic/gpio.h: merge basic gpiolib wrappers

2011-10-27 Thread Mike Frysinger
On Thu, Oct 27, 2011 at 15:11, Russell King - ARM Linux wrote: > On Thu, Oct 27, 2011 at 09:01:43AM -0400, Mike Frysinger wrote: >> diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h >> index d494001..622851c 100644 >> --- a/include/asm-generic/gpio.h >>

[PATCH] asm-generic/gpio.h: merge basic gpiolib wrappers

2011-10-27 Thread Mike Frysinger
p; ip22 defconfig - powerpc: mpc85xx & ppc64 defconfig - sh: kfr2r09 defconfig - sparc defconfig - x86_64 defconfig I don't have any toolchains for avr32, microblaze, openrisc, unicore32, or xtensa. So they lose :x. I don't see m68k supporting gpoil

Re: [PATCH] mtd: m25p80: add EON flash EN25Q32B into spi flash id table

2011-09-30 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-08-07 Thread Mike Frysinger
On Wed, Jul 27, 2011 at 06:17, Peter Zijlstra wrote: > On Wed, 2011-07-27 at 11:09 +0100, David Howells wrote: >> Can you inline this for the NOMMU case please? > > --- > Subject: mm: Fix fixup_user_fault() for MMU=n > > In commit 2efaca927 ("mm/futex: fix futex writes on archs with SW > tracking o

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-27 Thread Mike Frysinger
On Wed, Jul 27, 2011 at 03:20, Benjamin Herrenschmidt wrote: > Hoping the BUG() isn't trippable by userspace but then it's no mmu, it's > not like we care what userspace can do right :-) side note ... common misconception that "no mmu" == "no memory protection". a few of the nommu processors have

Re: [RFC/PATCH] mm/futex: Fix futex writes on archs with SW tracking of dirty & young

2011-07-26 Thread Mike Frysinger
On Mon, Jul 18, 2011 at 21:29, Benjamin Herrenschmidt wrote: > The futex code currently attempts to write to user memory within > a pagefault disabled section, and if that fails, tries to fix it > up using get_user_pages(). > > This doesn't work on archs where the dirty and young bits are > maintai

Re: [PATCH 1/3] driver core: Add ability for arch code to setup pdev_archdata

2011-06-22 Thread Mike Frysinger
On Wed, Jun 22, 2011 at 08:02, Kumar Gala wrote: > --- /dev/null > +++ b/include/asm-generic/platform_device.h > @@ -0,0 +1,11 @@ missing header blob with explanation/copyright/license > +/* > + * an architecture can override to define arch_setup_pdev_archdata > + */ > +#ifndef arch_setup_pdev_ar

Re: [PATCH] Fix build warning of the defconfigs

2011-06-01 Thread Mike Frysinger
On Wed, Jun 1, 2011 at 12:29, Wanlong Gao wrote: >  arch/blackfin/configs/CM-BF548_defconfig   |    2 +- Acked-by: Mike Frysinger -mike ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] atomic: add *_dec_not_zero

2011-05-08 Thread Mike Frysinger
On Sun, May 8, 2011 at 05:33, Sven Eckelmann wrote: > Russell King - ARM Linux wrote: > [...] >> Do we need atomic_dec_not_zero() et.al. in every arch header - is there no >> generic header which it could be added to? > > Mike Frysinger already tried to answer it in > :

Re: [PATCH] lib: Consolidate DEBUG_STACK_USAGE option

2011-05-07 Thread Mike Frysinger
lready used in generic code. > > It's not obvious to me that sysrq-P actually does anything > different with this option enabled, but I erred on the side of > caution by keeping the most inclusive wording. > > Cc: uclinux-dist-de...@blackfin.uclinux.org >  arch/blackfin

Re: [PATCH] atomic: add *_dec_not_zero

2011-05-04 Thread Mike Frysinger
On Wed, May 4, 2011 at 04:05, David Laight wrote: >> Introduce an *_dec_not_zero operation.  Make this a special case of >> *_add_unless because batman-adv uses atomic_dec_not_zero in different >> places like re-broadcast queue or aggregation queue management. There >> are other non-final patches w

Re: [PATCH] atomic: add *_dec_not_zero

2011-05-03 Thread Mike Frysinger
atomic_t *v) >c != (u); \ > }) > #define atomic_inc_not_zero(v) atomic_add_unless((v), 1, 0) > +#define atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) > > /* > * atomic_inc_and_test - increment and test no opinion on the actual idea, but for t

Re: [PATCH 9/14] PM / Blackfin: Use struct syscore_ops instead of sysdevs for PM

2011-04-17 Thread Mike Frysinger
It also is necessary for removing sysdevs from the kernel entirely in > the future. looks straight forward enough ... Acked-by: Mike Frysinger > +static struct syscore_ops nmi_syscore_ops = { >        .resume         = nmi_wdt_resume, >        .suspend        = nmi_wdt_suspend, >  

Re: [PATCH] drivers: char: hvc: add arm JTAG DCC console support

2011-04-07 Thread Mike Frysinger
On Thu, Apr 7, 2011 at 14:39, RONETIX - Asen Dimov wrote: > On 11/30/2010 09:25 PM, Daniel Walker wrote: >> This driver adds a basic console that uses the arm JTAG >> DCC to transfer data back and forth. It has support for >> ARMv6 and ARMv7. >> >> This console is created under the HVC driver, and

Re: [uclinux-dist-devel] [PATCH] sched: provide scheduler_ipi() callback in response to smp_send_reschedule()

2011-01-17 Thread Mike Frysinger
On Mon, Jan 17, 2011 at 06:07, Peter Zijlstra wrote: > Also, while reading through all this, I noticed the blackfin SMP code > looks to be broken, it simply discards any IPI when low on memory. not really. see changelog of commit 73a400646b8e26615f3ef1a0a4bc0cd0d5bd284c. -mike ___

Re: [PATCH 0/9] Typo fixes of faild to failed

2010-10-22 Thread Mike Frysinger
On Fri, Oct 22, 2010 at 01:17, Joe Perches wrote: >  drivers/ata/pata_bf54x.c           |    2 +- >  drivers/video/bf54x-lq043fb.c      |    6 +++--- >  drivers/video/bfin-t350mcqb-fb.c   |    2 +- Acked-by: Mike Frysinger -mike ___ Lin

Re: [PATCH 1/2] mtd: m25p80: Fix false-positive probing

2010-06-22 Thread Mike Frysinger
uot; SPI device IDs for M25Pxx flashes, so that the kernel > still supports non-JEDEC flashes. Acked-by: Mike Frysinger > [1] > http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=5975 http://bl

Re: [Uclinux-dist-devel] [PATCH 1/2] mtd: m25p80: Reworkprobing/JEDEC code

2010-06-21 Thread Mike Frysinger
On Mon, Jun 21, 2010 at 12:47, Anton Vorontsov wrote: > On Mon, Jun 21, 2010 at 12:34:05PM -0400, Mike Frysinger wrote: >> On Mon, Jun 21, 2010 at 07:20, Anton Vorontsov wrote: >> > You can't easily change OF. It's like "let's change ACPI tables >> &

Re: [Uclinux-dist-devel] [PATCH 1/2] mtd: m25p80: Reworkprobing/JEDEC code

2010-06-21 Thread Mike Frysinger
On Mon, Jun 21, 2010 at 07:20, Anton Vorontsov wrote: > You can't easily change OF. It's like "let's change ACPI tables > or BIOS in these PCs". Doable, but involves things like reflashing. > And we usually have to support old BIOSes as well. > > OTOH, I see (git grep m25p arch/powerpc/boot/dts/) t

Re: [Uclinux-dist-devel] Config Items appearing twice in same Kconfig file?

2010-05-16 Thread Mike Frysinger
On Wed, May 12, 2010 at 10:40, Christoph Egger wrote: >      2 arch/blackfin/Kconfig:config MEM_MT48LC32M8A2_75 thanks, i'll get this simple bug fixed -mike ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/lin

Re: [PATCH 2/3] backlight: mark struct backlight_ops const

2010-02-22 Thread Mike Frysinger
On Sat, Feb 20, 2010 at 18:18, Bruno Prémont wrote: >  drivers/video/bf54x-lq043fb.c                   |    2 +- >  drivers/video/bfin-t350mcqb-fb.c                |    2 +- Acked-by: Mike Frysinger -mike ___ Linuxppc-dev mailing list Linuxp

Re: [RFC] [PATCH] watchdog_info separation and constify

2010-01-19 Thread Mike Frysinger
On Tue, Jan 19, 2010 at 16:42, Joe Perches wrote: > On Tue, 2010-01-19 at 22:17 +0100, Wim Van Sebroeck wrote: >> -static struct watchdog_info at32_wdt_info = { >> +static const struct watchdog_info at32_wdt_info = { > > It'd be good to use a consistent structure name: > > static const struct watch

Re: [Uclinux-dist-devel] Removing deprecated drivers from drivers/i2c/chips

2009-09-10 Thread Mike Frysinger
On Thu, Sep 10, 2009 at 02:26, Wolfram Sang wrote: >> the Blackfin defconfigs refer to an input driver for the PCF8574, not >> the I2C client driver > > Yup, I am aware of that. With the exception of: > > blackfin/configs/PNAV-10_defconfig:773:CONFIG_SENSORS_PCF8574=m thanks for double checking.

Re: [Uclinux-dist-devel] Removing deprecated drivers from drivers/i2c/chips

2009-09-09 Thread Mike Frysinger
On Wed, Sep 9, 2009 at 17:22, Wolfram Sang wrote: > continuing the quest to clean up and ultimately remove the drivers/i2c/chips > directory, this patch series removes three drivers for GPIO-expanders which > are > obsoleted and marked as deprecated for more than a year. The newer (and > better)

Re: [PATCH 4/7] spi: Prefix modalias with "spi:"

2009-08-11 Thread Mike Frysinger
On Wed, Jul 29, 2009 at 13:05, Anton Vorontsov wrote: > This makes it consistent with other buses (platform, i2c, vio, ...). > I'm not sure why we use the prefixes, but there must be a reason. > > This was easy enough to do it, and I did it. acked-by-me for misc blackfin/adi drivers, thanks -mike

Re: [PATCH 1/2] lib: Provide generic atomic64_t implementation

2009-06-18 Thread Mike Frysinger
On Thu, Jun 18, 2009 at 20:47, Paul Mackerras wrote: > Mike Frysinger writes: >> On Sat, Jun 13, 2009 at 03:10, Paul Mackerras wrote: >> > +typedef struct { >> > +       long long counter; >> > +} atomic64_t; >> >> lack of volatile seems odd compared

Re: [PATCH 1/2] lib: Provide generic atomic64_t implementation

2009-06-18 Thread Mike Frysinger
On Sat, Jun 13, 2009 at 03:10, Paul Mackerras wrote: > +typedef struct { > +       long long counter; > +} atomic64_t; lack of volatile seems odd compared to: include/linux/types.h: typedef struct { volatile int counter; } atomic_t; -mike ___ Linuxpp

[PATCH v2] drivers/hvc: add missing __devexit_p()

2009-05-18 Thread Mike Frysinger
The remove function uses __devexit, so the .remove assignment needs __devexit_p() to fix a build error with hotplug disabled. Signed-off-by: Mike Frysinger CC: linuxppc-dev@ozlabs.org --- v2 - include all hvc files drivers/char/hvc_iseries.c |2 +- drivers/char/hvc_vio.c |2

[PATCH] drivers/hvc: add missing __devexit_p()

2009-05-18 Thread Mike Frysinger
The remove function uses __devexit, so the .remove assignment needs __devexit_p() to fix a build error with hotplug disabled. Signed-off-by: Mike Frysinger CC: linuxppc-dev@ozlabs.org CC: linux-ker...@vger.kernel.org --- drivers/char/hvc_iseries.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [PATCH/RFC] Add Alternative Log Buffer Support for printk Messages

2008-11-25 Thread Mike Frysinger
On Tue, Nov 25, 2008 at 13:34, Grant Erickson wrote: > This merges support for the previously DENX-only kernel feature of > specifying an alternative, "external" buffer for kernel printk > messages and their associated metadata. In addition, this ports > architecture support for this feature from a

Re: Merge linuxppc-embedded with linuxppc-dev

2008-09-23 Thread Mike Frysinger
On Mon, Sep 22, 2008 at 18:08, Grant Likely <[EMAIL PROTECTED]> wrote: > Jeremy, > > Can we eliminate the linuxppc-embedded mailing list and merge it with > linuxppc-dev? I don't think we need two separate lists anymore and > patches to linuxppc-embedded don't always get dealt with. > > Anyone hav

Re: [patch] use __attribute__ in asm-powerpc

2007-07-16 Thread Mike Frysinger
On Monday 16 July 2007, Geert Uytterhoeven wrote: > On Sat, 14 Jul 2007, Mike Frysinger wrote: > > Pretty much everyone uses "__attribute__" or "attribute", no one > > uses "__attribute". This patch tweaks the three places in asm-powerpc > > wher

[patch] use __attribute__ in asm-powerpc

2007-07-15 Thread Mike Frysinger
Pretty much everyone uses "__attribute__" or "attribute", no one uses "__attribute". This patch tweaks the three places in asm-powerpc where this comes up. While only asm-powerpc/types.h is interesting (for userspace), I did asm-powerpc/processor.h as well for con