Re: linux-next: build failure after merge of the final tree (tip/s390 trees related)

2012-10-18 Thread Ralf Baechle
On Thu, Oct 18, 2012 at 05:22:01PM +1100, Stephen Rothwell wrote: > Caused by commit 35d3d3427314 ("s390/thp: select > HAVE_ARCH_TRANSPARENT_HUGEPAGE") from the s390 tree interacting with > commit 93c9d633bd9e ("mm/thp: Preserve pgprot across huge page split") > from the tip tree. > > N.B. Mips a

Re: linux-next: build failure after merge of the final tree (tip/s390 trees related)

2012-10-18 Thread Ralf Baechle
parent Huge Pages support") from the mips tree > and so will be broken in some configs now as well. > > Anyone have suggested merge fix patches I can apply? See below. There's further MIPS breakage in -next; more on than in a separate email. Ralf Signed-off-by: Ralf Baechle

[PATCH] mm: huge_memory: Fix build error.

2012-10-15 Thread Ralf Baechle
uge_memory.c: In function '__collapse_huge_page_isolate': mm/huge_memory.c:1757:3: error: implicit declaration of function 'trylock_page' [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors Reported-by: David Daney Signed-off-by: Ralf Baechle --- mm/hug

Re: [PATCH v2 0/3] MIPS: JZ4740: Move PWM driver to PWM framework

2012-09-23 Thread Ralf Baechle
se the 3.7 cycle to > transition from the legacy API to the new API and possibly even get rid > of the legacy parts altogether. However I don't want to do this without > the Acked-by from the MIPS maintainer. Acked-by: Ralf Baechle for 2/3 and 3/3. I now can reproduce the build er

Re: sys_kcmp (was: Re: [PATCH 1/2] ARM: add finit_module syscall to ARM)

2012-09-22 Thread Ralf Baechle
On Sat, Sep 22, 2012 at 02:20:46PM +0100, Russell King wrote: > 2. There allegedly exists a patch to remove x86isms from sys_kcmp - >allegedly also in akpm's tree. However, I've looked through the code in >mainline, and nothing stands out. Ralf Beachle also said yesterday that >he ha

Re: [PATCH 2/3] mm: thp: Fix the update_mmu_cache() last argument passing in mm/huge_memory.c

2012-09-19 Thread Ralf Baechle
On Wed, Sep 19, 2012 at 10:12:28AM +0100, Catalin Marinas wrote: > >> 5) void update_mmu_cache(struct vm_area_struct *vma, > >> unsigned long address, pte_t *ptep) > > > > Yes please. > > Should we just use a generic (void *) for the last argument or force a > cast in mm/

Re: [PATCH 2/3] mm: thp: Fix the update_mmu_cache() last argument passing in mm/huge_memory.c

2012-09-15 Thread Ralf Baechle
On Tue, Sep 11, 2012 at 05:47:15PM +0100, Will Deacon wrote: > The update_mmu_cache() takes a pointer (to pte_t by default) as the last > argument but the huge_memory.c passes a pmd_t value. The patch changes > the argument to the pmd_t * pointer. > > Signed-off-by: Catalin Marinas > Signed-off-

Re: [PATCH] MIPS/mm: add compound tail page _mapcount when mapped

2012-08-24 Thread Ralf Baechle
On Wed, Aug 22, 2012 at 11:02:34AM +0800, Jovi Zhang wrote: > see commit b6999b191 which target for x86 mm/gup, let it align with > mips architecture. > > Quote from commit b6999b191: > "If compound pages are used and the page is a > tail page, gup_huge_pmd() increases _mapcount to record

Re: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).

2012-08-15 Thread Ralf Baechle
On Sat, Aug 11, 2012 at 05:32:18PM +0800, Huacai Chen wrote: > Subject: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = > 16KB). But your code doesn't define it just for Loongsson as the log message claims but rather for all MIPS. > diff --git a/include/drm/drm_sarea.h b/include

Re: [PATCH V5 09/18] MIPS: Loongson: Add swiotlb to support big memory (>4GB).

2012-08-15 Thread Ralf Baechle
On Mon, Aug 13, 2012 at 01:54:47PM -0400, Konrad Rzeszutek Wilk wrote: > > +static void *loongson_dma_alloc_coherent(struct device *dev, size_t size, > > + dma_addr_t *dma_handle, gfp_t gfp, struct > > dma_attrs *attrs) > > +{ > > + void *ret; > > + > > + if (dma_all

Re: [PATCH 0/2] Align MIPS swapper_pg_dir for faster code.

2012-08-15 Thread Ralf Baechle
On Tue, Aug 14, 2012 at 11:07:59AM -0700, David Daney wrote: > From: David Daney > > The MIPS swapper_pg_dir needs 64K alignment for faster TLB refills in > kernel mappings. There are two parts to the patch set: > > 1) Modify generic vmlinux.lds.h to allow architectures to place >additiona

[PATCH] MIPS: Fix module.c build for 32 bit

2012-08-14 Thread Ralf Baechle
:14: error: 'reloc_handlers_rela' defined but not used [-Werror=unused-variable] cc1: all warnings being treated as errors make[6]: *** [arch/mips/kernel/module.o] Error 1 Signed-off-by: Ralf Baechle --- This is bigger than Jonas' suggested patch but far less #ifdefy. A minimal fix would be

Re: [PATCH V2] MIPS: Fix poweroff failure when HOTPLUG_CPU configured.

2012-08-14 Thread Ralf Baechle
On Mon, Aug 13, 2012 at 08:52:24PM +0800, Huacai Chen wrote: > When poweroff machine, kernel_power_off() call disable_nonboot_cpus(). > And if we have HOTPLUG_CPU configured, disable_nonboot_cpus() is not an > empty function but attempt to actually disable the nonboot cpus. Since > system state is

Re: [PATCH V7 2/4] (Updated) MIPS: Add board support for Loongson1B

2012-07-26 Thread Ralf Baechle
I replaced your old patch with the newly posted ones. Thanks, Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://w

Re: [PATCH net-next 8/8] arch: Use eth_random_addr

2012-07-16 Thread Ralf Baechle
2 +- > arch/mips/ar7/platform.c|4 ++-- > arch/mips/powertv/powertv_setup.c |6 +++--- > arch/um/drivers/net_kern.c |2 +- > 5 files changed, 8 insertions(+), 8 deletions(-) Acked-by: Ralf Baechle Thanks, Ralf -- To unsubscr

[PATCH] Ignore emacs backup and temporary files.

2008-02-25 Thread Ralf Baechle
From: Chris Dearman <[EMAIL PROTECTED]> Signed-off-by: Chris Dearman <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/.gitignore b/.gitignore index 8363e48..fdcce40 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,5 @@ cscope.

[PATCH] Try both endianess when checking for endianess.

2008-02-25 Thread Ralf Baechle
From: Chris Dearman <[EMAIL PROTECTED]> When checking for the swap header try byteswapping the endianess dependent fields to allow the swap partition to be shared between big & little endian systems. Signed-off-by: Chris Dearman <[EMAIL PROTECTED]> Signed-off-by: Ralf Baechle &

Re: 2.6.24 patches for mips qemu target needed for stable.

2008-02-24 Thread Ralf Baechle
On Mon, Feb 25, 2008 at 10:36:59AM +0900, Samuel Masham wrote: > Hi Stable team, > > The mips build for qemu (and possibly other targets) crashes when > doing any irq probe. > > Specifically this happens on boot when brining up the ne driver. > > This is fixed by the following two patches from

Re: [MIPS] BCM47XX: use new SSB SPROM data structure

2008-02-19 Thread Ralf Baechle
On Mon, Feb 18, 2008 at 11:04:31AM +0100, Aurelien Jarno wrote: > Switch the BCM47XX code to the new SPROM data structure now that > the old one has been removed. Thanks, applied too. Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [E

Re: [2.6.25 patch] mips: fix SNI_RM EISA=n compilation

2008-02-19 Thread Ralf Baechle
On Sun, Feb 17, 2008 at 11:59:48PM +0200, Adrian Bunk wrote: > This patch fixes the following build error with CONFIG_EISA=n caused by > commit 231a35d37293ab88d325a9cb94e5474c156282c0: Applied. Thanks, Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: [2.6 patch] mips: finish the Qemu platform removal

2008-02-19 Thread Ralf Baechle
On Sun, Feb 17, 2008 at 10:09:51PM +0200, Adrian Bunk wrote: > The following files can now be removed: > - arch/mips/configs/qemu_defconfig > - include/asm-mips/qemu.h Applied. Thanks, Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] [MIPS] Enable the timerfd_*() o32 system calls

2008-02-19 Thread Ralf Baechle
On Tue, Feb 19, 2008 at 12:02:37AM +0300, Dmitri Vorobiev wrote: > This patch enables the system calls timerfd_create(), timerfd_settime() > and timerfd_gettime() for MIPS architecture. > > Please see the following Bugzilla entry for more details: > > http://bugzilla.kernel.org/show_bug.cgi?id=1

[PATCH] Remove __INIT_REFOK and __INITDATA_REFOK

2008-01-30 Thread Ralf Baechle
backward compat thing and there being only a single use in the MIPS arch code the best solution is to delete both of __INIT_REFOK and __INITDATA_REFOK (which was equally broken) being unused anyway these can be deleted. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- I'll send out t

[PATCH 2/2] MIPS: Mark all but i8259 interrupts as no-probe.

2008-01-29 Thread Ralf Baechle
Use set_irq_noprobe() to mark all MIPS interrupts as non-probe. Override that default for i8259 interrupts. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> arch/mips/kernel/i8259.c |4 +++- arch/mips/kernel/irq.c |5 + 2 files changed, 8 insertions(+), 1 deletion(-) Index:

[PATCH 1/2] IRQ_NOPROBE helper functions

2008-01-29 Thread Ralf Baechle
this patch. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> include/linux/irq.h |3 +++ kernel/irq/chip.c | 36 2 files changed, 39 insertions(+) Index: linux-mips/include/

Re: 2.6.24 panics initializing ne2k in mips.

2008-01-29 Thread Ralf Baechle
On Mon, Jan 28, 2008 at 02:17:37AM -0600, Rob Landley wrote: > The 2.6.23 kernel built for mips with the attached .config works fine for me > under qemu (both big endian and little endian), but a 2.6.24 mips kernel > segfaults initializing the ne2k driver (again when run under qemu). > > I've t

Re: [PATCH 00/17] [MIPS] Malta: massive code cleanup

2008-01-28 Thread Ralf Baechle
On Thu, Jan 24, 2008 at 07:52:40PM +0300, Dmitri Vorobiev wrote: Whole series queued for 2.6.25. Thanks, Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.h

Re: [PATCH] x86: fix unconditional arch/x86/kernel/pcspeaker.c?compiling

2008-01-25 Thread Ralf Baechle
On Thu, Jan 24, 2008 at 11:12:12PM +0300, Dmitri Vorobiev wrote: > > running "make allnoconfig". To get it, you have to explicitely add support > > to CONFIG_INPUT_PCSPKR (m or y). I hope this is fine. > > > > I'm copying the MIPS maintainer as this patch touches his tree too. > > This patch doe

What's in linux-mips.git for Linux 2.6.25?

2008-01-15 Thread Ralf Baechle
ounds [MIPS] R4000/R4400 daddiu erratum workaround Manuel Lauss (1): [MIPS] Alchemy: Au1210/Au1250 CPU support Ralf Baechle (17): [MIPS] Delete unused CONFIG_DMA_IP32. [MIPS] Delete unused CONFIG_64BIT_CONTEXT [MIPS] tlbex: Cleanup handling of R2 hazards in TLB han

Re: (Try #3) [Patch 2/8] MIPS: Remove 'TOPDIR' from Makefiles

2008-01-11 Thread Ralf Baechle
Jan 2008 14:21:36 +0800 Subject: [PATCH] [MIPS] Lasat: Fix built in separate object directory. Signed-off-by: WANG Cong <[EMAIL PROTECTED]> [Ralf: The LDSCRIPT script needed fixing, too] Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/arch/mips/lasat/image/Makefile b/ar

Re: [BUG][PATCH] fix broken software reset for Malta board

2008-01-11 Thread Ralf Baechle
On Tue, Jan 08, 2008 at 06:44:00AM +0300, Dmitri Vorobiev wrote: > I noticed that the commit f197465384bf7ef1af184c2ed1a4e268911a91e3 > (MIPS Tech: Get rid of volatile in core code) broke the software > reset functionality for MIPS Malta boards in big-endian mode. Thanks, applied. Ralf -- To u

Re: [2.6 patch] remove CONFIG_EXPERIMENTAL

2008-01-11 Thread Ralf Baechle
On Tue, Jan 01, 2008 at 03:48:09PM +0200, Adrian Bunk wrote: Definately NAK for the MIPS segments. Some of the EXPERIMENTAL dependencies should be removed but many options tagged with EXPERIMENTAL are still dangerous. Ralf -- To unsubscribe from this list: send the line "unsubscribe linux-kern

Re: [MIPS] MEM_SDREFCFG is not defined for Alchemy DB1550 (compile fail)

2007-12-25 Thread Ralf Baechle
On Tue, Dec 25, 2007 at 01:41:21PM +0300, Sergei Shtylyov wrote: >> When I have: >> CONFIG_MIPS_DB1550 >> CONFIG_SOC_AU1550 >> CONFIG_SOC_AU1X00 >> CONFIG_PM > >> MEM_SDREFCFG is used at: >> arch/mips/au1000/common/power.c::pm_do_freq() > >PM code is generally broken and unmaintained, so no wo

Re: PCI resource unavailable on mips

2007-12-16 Thread Ralf Baechle
On Fri, Dec 14, 2007 at 04:12:15PM -0500, Jon Dufresne wrote: > Hmm, I found more strange behavior with the bars that may or may not be > related. I wrote a function that does another sanity check. It does an > ioremap on one of the working bars, then reads one address for > correctness. This is j

Re: PCI resource unavailable on mips

2007-12-14 Thread Ralf Baechle
On Thu, Dec 13, 2007 at 09:56:46AM -0500, Jon Dufresne wrote: > I've done a bit of linux driver development on x86 in the past. > Currently I am working on my first ever linux driver for a mips box. I > started by testing the device in an x86 box and got it reasonable stable > and am now testing i

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-11 Thread Ralf Baechle
On Tue, Dec 11, 2007 at 11:27:24AM +1100, Benjamin Herrenschmidt wrote: > > The GT-64111 system controller doesn't provide any kind of mapping > > functionality that would help here. So legacy port addressing can only > > work by exploiting aliases due to incomplete decoding of legacy ioport > >

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-10 Thread Ralf Baechle
On Tue, Dec 11, 2007 at 07:43:03AM +1100, Benjamin Herrenschmidt wrote: > > > :00:09.1 IDE interface: VIA Technologies, Inc. > > > VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) > > > (prog-if 8a [Master SecP PriP]) > > > Flags: bus master, fast Back2Back, medium devs

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-10 Thread Ralf Baechle
On Mon, Dec 10, 2007 at 03:01:26PM +, Alan Cox wrote: > > It seems the whole MIPS resource managment is complicated enough (out of > > necessity) that only a few people actually grok it. Ioports being > > actually memory mapped on MIPS only makes the confusion worse, sigh. > > If the hardwar

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-10 Thread Ralf Baechle
On Mon, Dec 10, 2007 at 11:20:50AM +, Alan Cox wrote: > > To be totally correct, we still need to also revert > > commit fd6e732186ab522c812ab19c2c5e5befb8ec8115 which > > is bogus. > > Agreed but that would cause an revert on an obscure MIPS platform which > is apparently now a thoughtcrime

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-10 Thread Ralf Baechle
On Mon, Dec 10, 2007 at 03:29:22PM +1100, Benjamin Herrenschmidt wrote: > To: Alan Cox <[EMAIL PROTECTED]>, > Linus Torvalds <[EMAIL PROTECTED]> > Cc: Ralf Baechle <[EMAIL PROTECTED]>, > Yoichi Yuasa <[EMAIL PROTECTED]>, > Linux Kernel

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-10 Thread Ralf Baechle
On Sun, Dec 09, 2007 at 06:24:51PM +1100, Benjamin Herrenschmidt wrote: > If that is the case though (that is it can't issue low ioport cycles), > how would have the fd6e7321... worked in the first place ? Hrm... > strange. My understanding is that all that patch does is put junk in the > pci_dev

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-08 Thread Ralf Baechle
On Thu, Dec 06, 2007 at 05:24:22PM +1100, Benjamin Herrenschmidt wrote: > On Thu, 2007-12-06 at 14:58 +0900, Yoichi Yuasa wrote: > > > What I don't understand is thus why you are calling resource_to_bus > > on 0x1f0 > > > which is -not- a resource value, but is already a BAR value... > > > > 0x1f

Re: use of fixmap on non-x86/sh?

2007-12-08 Thread Ralf Baechle
On Fri, Nov 30, 2007 at 04:14:55PM -0600, Kumar Gala wrote: > Ben and I are talking about using fixmap on ppc for similar applications to > it use on x86. However in poking around other arch's (sparc, mips) they > appear to have some support but not as complete as x86. > > For example both SPAR

[PATCH] Fix oprofile configuration breakage

2007-12-06 Thread Ralf Baechle
ld as per past discussions probably in most considered to be broken in most cases. So I introduce a dependency for the oprofile configuration on ARCH_SUPPORTS_OPROFILE. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- Since we're already in -rc4 I try to keep things minimally i

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-06 Thread Ralf Baechle
On Thu, Dec 06, 2007 at 12:32:54PM +, Ralf Baechle wrote: > > > What I don't understand is thus why you are calling resource_to_bus on > > > 0x1f0 > > > which is -not- a resource value, but is already a BAR value... > > > > 0x1f0 is resource

Re: Please revert: PCI: fix IDE legacy mode resources

2007-12-06 Thread Ralf Baechle
On Thu, Dec 06, 2007 at 02:58:13PM +0900, Yoichi Yuasa wrote: > > What I don't understand is thus why you are calling resource_to_bus on 0x1f0 > > which is -not- a resource value, but is already a BAR value... > > 0x1f0 is resource value on MIPS Cobalt. > All RAW BAR values contain the offset(0x1

Re: [PATCH 1/6] Suppress A.OUT library support if !CONFIG_BINFMT_AOUT [try #5]

2007-12-03 Thread Ralf Baechle
On Mon, Dec 03, 2007 at 03:15:29PM +, David Howells wrote: > > - it adds #ifdef's in fs/binfmt_elf.c for code that is anyway > > scheduled for removal in 2.6.25 > > I'm told (by Ralf) that removing this support will break Castle Wolfenstein or > something like that. > > So unless you want

Re: [PATCH] [MIPS]: Compliment va_start() with va_end().

2007-11-26 Thread Ralf Baechle
On Sat, Nov 24, 2007 at 10:22:19PM +0100, Richard Knutsson wrote: > Compliment va_start() with va_end(). Thanks, applied. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/

Re: [UPDATED PATCH] IP22ZILOG: fix lockup and sysrq

2007-11-26 Thread Ralf Baechle
On Mon, Nov 26, 2007 at 04:58:03PM +0100, Thomas Bogendoerfer wrote: > - fix lockup when switching from early console to real console > - make sysrq reliable > - fix panic, if sysrq is issued before console is opened > > Signed-off-by: Thomas Bogendoerfer <[EMAIL PROTECTED

Re: [PATCH 02/59] arch/mips: Add missing "space"

2007-11-22 Thread Ralf Baechle
On Mon, Nov 19, 2007 at 05:47:54PM -0800, Joe Perches wrote: Queued for 2.6.25. Thanks, Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read t

Re: [RFC PATCH 2/3] cpu-hotplug: Replace lock_cpu_hotplug() with get_online_cpus()

2007-11-15 Thread Ralf Baechle DL5RB
pdate_done() as we're modifying the > cpu_present_map there. > > Signed-off-by: Gautham R Shenoy <[EMAIL PROTECTED]> > --- > Documentation/cpu-hotplug.txt| 11 ++- > arch/mips/kernel/mips-mt-fpaff.c | 10 +- Acked-by: Ralf Baechle

Re: [PATCH] MIPS: Delete now-unreferenced i2c-yosemite.h header file.

2007-11-06 Thread Ralf Baechle
On Tue, Nov 06, 2007 at 01:55:12AM -0500, Robert P. J. Day wrote: > Given that the corresponding source file i2c-yosemite.c file was > removed in commit daa4a68f901c4d6491baa1a01f5c869a553c3f6c, and that > no one else includes this file, it seems safe to delete it. Thanks, queue for 2.6.25. Ra

[PATCH] Use i8253.c lock for PC speaker on MIPS, too.

2007-11-02 Thread Ralf Baechle
-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- Linus, this patch is meant to be applied on top of the pull request I mailed you earlier today. arch/mips/kernel/i8253.c|2 +- drivers/input/misc/pcspkr.c |2 +- include/asm-mips/i8253.h|4 3 files changed, 6 insertions

Re: [IDE] Fix build bug

2007-11-02 Thread Ralf Baechle
On Thu, Nov 01, 2007 at 06:43:16PM +, Denys Vlasenko wrote: > We can intrduce new, ro sections or teach gcc that combining const objects > into > non-ro sections is not a crime. I wonder why it currently disallows that. > (And it does it only _somethimes_, const pointers happily go into rw >

CLOCK_TICK_RATE in NTP code

2007-11-01 Thread Ralf Baechle
kernel/time/ntp.c contains the following piece of code: #define CLOCK_TICK_OVERFLOW (LATCH * HZ - CLOCK_TICK_RATE) #define CLOCK_TICK_ADJUST (((s64)CLOCK_TICK_OVERFLOW * NSEC_PER_SEC) / \ (s64)CLOCK_TICK_RATE) static void ntp_update_frequency(void

Re: [patch 04/28] Add cmpxchg64 and cmpxchg64_local to mips

2007-10-31 Thread Ralf Baechle
On Wed, Oct 31, 2007 at 09:19:35AM -0400, Mathieu Desnoyers wrote: > * Ralf Baechle ([EMAIL PROTECTED]) wrote: > > This implementation means cmpxchg64_local will also silently take 32-bit > > arguments without making noises at compile time. I think it should. > > >

Re: porting KGDB onto MIPS24K processor running linux-2.6.18.8

2007-10-31 Thread Ralf Baechle
On Wed, Oct 31, 2007 at 03:32:58PM +0530, veerasena reddy wrote: > I would like to port KGDB on MIPS24K target processor which is running > linux-2.6.18.8 kernel. > Could you please guide me, where can I get the appropriate KGDB patch for > 2.6.18.8 kernel? Generic MIPS KGDB support is in the k

Re: [patch 04/28] Add cmpxchg64 and cmpxchg64_local to mips

2007-10-31 Thread Ralf Baechle
On Tue, Oct 30, 2007 at 03:16:01PM -0400, Mathieu Desnoyers wrote: > Index: linux-2.6-lttng/include/asm-mips/cmpxchg.h > === > --- linux-2.6-lttng.orig/include/asm-mips/cmpxchg.h 2007-10-12 > 12:05:06.0 -0400 > +++ linux-2.

Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

2007-10-30 Thread Ralf Baechle
On Tue, Oct 30, 2007 at 06:13:16AM -0600, Matthew Wilcox wrote: > > On Tue, Oct 30, 2007 at 02:37:19AM -0600, Matthew Wilcox wrote: > > > On Mon, Oct 29, 2007 at 10:03:16PM -0500, Kumar Gala wrote: > > > > same HW platform that you want to run with just 32-bit phys (for > > > > performance). > >

Re: [IDE] Fix build bug

2007-10-30 Thread Ralf Baechle
FIG_HOTPLUG=n > > > > It turns out that const and __{dev}initdata cannot be mixed currently > > and that generic IDE PCI host driver is also affected by the same issue: > > > > On Thursday 25 October 2007, Ralf Baechle wrote: > > > CC drivers/ide/pci/generic

Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

2007-10-30 Thread Ralf Baechle
On Tue, Oct 30, 2007 at 02:37:19AM -0600, Matthew Wilcox wrote: > On Mon, Oct 29, 2007 at 10:03:16PM -0500, Kumar Gala wrote: > > The same is true on PPC32. Its a per platform thing. However, I'm > > not sure if we could hide it from the user. There are cases on the > > same HW platform th

Re: [PATCH] Only show RESOURCES_64BIT on relevant architectures

2007-10-29 Thread Ralf Baechle
On Sun, Oct 28, 2007 at 04:15:49PM -0400, Kyle McMartin wrote: > +++ b/mm/Kconfig > @@ -172,6 +172,7 @@ config MIGRATION > > config RESOURCES_64BIT > bool "64 bit Memory and IO resources (EXPERIMENTAL)" if (!64BIT && > EXPERIMENTAL) > + depends on (MIPS || PPC32 || X86_PAE) || 64BIT

[PATCH] Optimize i8259 code a bit.

2007-10-28 Thread Ralf Baechle
The timer code always calls the clock_event_device set_net_event and set_mode methods with interrupts disabled, so no need to use spin_lock_irqsave / spin_unlock_irqrestore for those. arch/mips/kernel/i8253.c | 12 arch/x86/kernel/i8253.c | 12 2 files changed, 8 in

Re: [PATCH] Remove always-true tests in irq handlers

2007-10-26 Thread Ralf Baechle
c | 5 + Acked-by: Ralf Baechle <[EMAIL PROTECTED]> Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [IDE] Fix build bug

2007-10-25 Thread Ralf Baechle
On Thu, Oct 25, 2007 at 03:47:16PM +0100, Maciej W. Rozycki wrote: > > So we can avoid this if we invent a __constinitdata tag that uses > > a new section? > > That would do. > > > I ask mainly to understand this error - not that I am that found > > of the idea. > > Somebody wants to mix up r

Re: [IDE] Fix build bug

2007-10-25 Thread Ralf Baechle
On Thu, Oct 25, 2007 at 04:13:05PM +0200, Sam Ravnborg wrote: > On Thu, Oct 25, 2007 at 02:53:34PM +0100, Ralf Baechle wrote: > > CC drivers/ide/pci/generic.o > > drivers/ide/pci/generic.c:52: error: __setup_str_ide_generic_all_on causes a > > +section type conflict

[IDE] Fix build bug

2007-10-25 Thread Ralf Baechle
CC drivers/ide/pci/generic.o drivers/ide/pci/generic.c:52: error: __setup_str_ide_generic_all_on causes a +section type conflict This sort of build error is becoming a regular issue. Either all or non of the elements that go into a particular section of a compilation unit need to be const.

Re: [patch 1/2] rtc: release correct region in error path

2007-10-24 Thread Ralf Baechle
sses are translated to an actual ioport access by a PCI bridge. There are a few systems where this concept just apply easily such as DECstations, so there we simply claim the device such as the RTC in this case is memory mapped. Anway: Acked-by: Ralf Baechle <[EMAIL PROTECTED]> Ralf - To u

[PATCH] Remove inclusions of

2007-10-24 Thread Ralf Baechle
Nothing should ever include this file. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> arch/blackfin/mach-common/interrupt.S |1 - arch/blackfin/mm/blackfin_sram.c |1 - arch/m68knommu/lib/memcpy.c |1 - arch/mips/au1000/common/gpio.c|1 - driver

[PATCH] Fix breakage after SG cleanups

2007-10-23 Thread Ralf Baechle
, sparc64 and x86 because they happened to drag in that file via their . On most of the others this probably broke. Instead of increasing the header file spider web I choose to include directly into the affectes files. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- drivers/block/DA

Re: [PATCH 1/2] irq_flags_t: intro and core annotations

2007-10-22 Thread Ralf Baechle
On Sun, Oct 21, 2007 at 01:30:42PM +0400, Alexey Dobriyan wrote: > irq_flags_t > > New type for use with spin_lock_irqsave() and friends. Talking about it, why did we ever require this to be a long anyway? I could get away with a single bit for MIPS; the rest of this

[FB] au1100fb: Fix modpost warnings.

2007-10-17 Thread Ralf Baechle
een 'au1100fb_drv_probe' and 'read_null') WARNING: vmlinux.o(.text+0x170e70): Section mismatch: reference to .init.data:au1100fb_var (between 'au1100fb_drv_probe' and 'read_null') Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/vide

Re: Build breakage if !SYSFS

2007-10-16 Thread Ralf Baechle
On Tue, Oct 16, 2007 at 11:10:16PM +0530, Dhaval Giani wrote: > On Tue, Oct 16, 2007 at 02:02:31PM +0100, Ralf Baechle wrote: > > Changeset 5cb350baf580017da38199625b7365b1763d7180 causes build breakage > > if sysfs support is disabled: > > > > kernel/built-in.o: In

Build breakage if !SYSFS

2007-10-16 Thread Ralf Baechle
Changeset 5cb350baf580017da38199625b7365b1763d7180 causes build breakage if sysfs support is disabled: kernel/built-in.o: In function `uids_kobject_init': (.init.text+0x1488): undefined reference to `kernel_subsys' kernel/built-in.o: In function `uids_kobject_init': (.init.text+0x1490): undefined

Re: -git mips defconfig compile error

2007-10-15 Thread Ralf Baechle
On Mon, Oct 15, 2007 at 05:19:43PM +0100, Maciej W. Rozycki wrote: > > The logo.c bit I've sent out a few weeks ago so I'm just waiting for that > > patch to resurface at the other end of the wormhole. > > Hmm, I would have waited for this to happen before committing the change > depending on i

Re: -git mips defconfig compile error

2007-10-15 Thread Ralf Baechle
On Sun, Oct 14, 2007 at 03:19:48PM +0200, Adrian Bunk wrote: > Commit 05dc8c02bf40090e9ed23932b1980ead48eb8870 causes the following > compile error with the mips defconfig: > > <-- snip --> > > ... > CC drivers/video/logo/logo.o > /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/video

Re: [PATCH] Discardable strings for init and exit sections

2007-10-12 Thread Ralf Baechle
On Fri, Oct 12, 2007 at 07:19:38PM +0200, Adrian Bunk wrote: > I have an objection against this approach: > > Our __*init*/__*exit* annotations are already a constant source of bugs, > and adding more pifalls (e.g. forgotten removal of _i()/_e() when a > function is no longer __*init*/__*exit*)

[PATCH] Add assembler equivalents to __init{,date}_refok

2007-10-10 Thread Ralf Baechle
--- I need __INIT_REFOK to fix a MODPOST warning for a few MIPS configs which have to call init code from .text very early in the game due to bootloader issues. __INITDATA_REFOK is just for consistency. include/linux/init.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/i

What's in linux-mips.git for Linux 2.6.24?

2007-10-09 Thread Ralf Baechle
Paolo 'Blaisorblade' Giarrusso (1): [MIPS] Alchemy: Fix USB initialization. Ralf Baechle (35): [MIPS] SMTC: Microoptimize atomic_postincrement for non-weak consistency. [MIPS] PCI: Always enable CONFIG_PCI_DOMAINS [MIPS] floppy: Rewrite fd_cacheflush() to use dma_cac

[PATCH] Replace __attribute_pure__ with __pure

2007-10-05 Thread Ralf Baechle
To be consistent with the use of attributes in the rest of the kernel replace all use of __attribute_pure__ with __pure and delete the definition of __attribute_pure__. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- Patch against v2.6.23-rc8-mm2. And btw why does Analog list half

Re: unresoved symbol _gp_disp

2007-10-05 Thread Ralf Baechle
On Thu, Oct 04, 2007 at 08:29:59PM +0200, Andi Kleen wrote: > From: Andi Kleen <[EMAIL PROTECTED]> > Date: 04 Oct 2007 20:29:59 +0200 > To: "Steven J. Hill" <[EMAIL PROTECTED]> > Cc: veerasena reddy <[EMAIL PROTECTED]>, > linux-mips <[EMAIL PROTECTED]>, > "linux-kernel.org" > Subject:

Re: [COMPAT] Add compat_merge64 helper

2007-10-03 Thread Ralf Baechle
On Sat, Sep 29, 2007 at 11:48:52AM +0200, Heiko Carstens wrote: > > +static inline u64 compat_merge64(u32 left, u32 right) > > +{ > > +#if defined(__BIG_ENDIAN) > > + return ((u64)left << 32) | right; > > +#else /* defined (__LITTLE_ENDIAN) */ > > Could you change that to an #elif please and #e

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-03 Thread Ralf Baechle
On Mon, Oct 01, 2007 at 01:10:59PM +0100, veerasena reddy wrote: > Is there any problem if we use the below API's in > linxu-2.6.18 > - dma_cache_wback_inv() > - dma_cache_wback() > - dma_cache_inv() > > functionality wise, especially in r4k.c i dont see any > difference between the implem

What's in linux-mips.git for 2.6.24?

2007-10-02 Thread Ralf Baechle
Maciej W. Rozycki (2): [MIPS] R3000 setup for kernel_thread() [MIPS] dec/time.c: Remove a leftover inclusion Ralf Baechle (25): [MIPS] SMTC: Microoptimize atomic_postincrement for non-weak consistency. [MIPS] PCI: Always enable CONFIG_PCI_DOMAINS [MIPS] floppy: Rewrite fd

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread Ralf Baechle
On Mon, Oct 01, 2007 at 10:04:32AM +0100, veerasena reddy wrote: > I have ported Linux-2.6.18 kernel on MIPS24KE > processor. I am using write back cache policy. > > Could you please guide me under what cases the below > cache API's are being used: > - dma_cache_wback_inv() : Could you explain w

Re: [PATCH] hugetlb: Fix clear_user_highpage arguments

2007-09-28 Thread Ralf Baechle
On Fri, Sep 28, 2007 at 11:45:26AM -0700, Andrew Morton wrote: > > > The virtual address space argument of clear_user_highpage is supposed to > > be the virtual address where the page being cleared will eventually be > > mapped. This allows architectures with virtually indexed caches a few > > cl

[PATCH] hugetlb: Fix clear_user_highpage arguments

2007-09-28 Thread Ralf Baechle
argument is wrong. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 84c795e..eab8c42 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -42,7 +42,7 @@ static void clear_huge_page(struct page *page, unsigned long addr) might_sleep();

Re: [PATCH] Break ELF_PLATFORM and stack pointer randomization dependency

2007-09-28 Thread Ralf Baechle
On Fri, Sep 28, 2007 at 12:59:47PM +0200, Franck Bui-Huu wrote: > Currently arch_align_stack() is used by fs/binfmt_elf.c to randomize > stack pointer inside a page. But this happens only if ELF_PLATFORM > symbol is defined. > > ELF_PLATFORM is normally set if the architecture wants ld.so to load

Re: [PATCH 2/3] MIPS: Remove deprecated IRQ flags (SA_*)

2007-09-27 Thread Ralf Baechle
On Thu, Sep 27, 2007 at 01:35:43AM +0300, Ahmed S. Darwish wrote: > A patch to stop using deprecated IRQ flags. The new IRQF_* macros are used > instead. Thanks, queued for 2.6.24. Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

[PATCH] Compile handle_percpu_irq even for uniprocessor kernels

2007-09-27 Thread Ralf Baechle
for no good reason. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- This fixes uniprocessor configurations for some MIPS SMP systems. diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index f1a73f0..9b5dff6 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -503,7 +503,6 @@

[PATCH] Fix wrong filename reference in drivers-testing.txt

2007-09-26 Thread Ralf Baechle
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/Documentation/power/drivers-testing.txt b/Documentation/power/drivers-testing.txt index 33016c2..e4bdcae 100644 --- a/Documentation/power/drivers-testing.txt +++ b/Documentation/power/drivers-testing.txt @@ -14,8 +14,8 @@ the mac

Re: [PATCH] sb1250-mac: Driver model & phylib update

2007-09-25 Thread Ralf Baechle
On Fri, Sep 21, 2007 at 12:44:09PM -0700, Andrew Morton wrote: > > A driver model and phylib update. > > akpm:/usr/src/25> diffstat patches/git-net.patch | tail -n 1 > 1013 files changed, 187667 insertions(+), 23587 deletions(-) > > Sorry, but raising networking patches against Linus's crufty

Re: [PATCH] sb1250-mac.c: De-typedef, de-volatile, de-etc...

2007-09-13 Thread Ralf Baechle
On Thu, Sep 13, 2007 at 03:13:06PM +0100, Maciej W. Rozycki wrote: > Hmm, works fine with linux-2.6.git#master. I do not recall any recent > activity with this driver -- I wonder what the difference is. Let me > see... Hmm... HEAD du jour has no differences for the sb1250-mac between lmo an

[PATCH] Remove dma_cache_(wback|inv|wback_inv) functions

2007-09-11 Thread Ralf Baechle
more modern brothers and can easily be replaced by dma_cache_sync. So remove it rsp. turn the surviving bits back into an arch private API, as discussed on linux-arch. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> Acked-by: Paul Mundt <[EMAIL PROTECTED]> Acked-by: Paul Mackerras

Re: [PATCH] sb1250-mac.c: De-typedef, de-volatile, de-etc...

2007-09-10 Thread Ralf Baechle
On Mon, Sep 10, 2007 at 01:20:38PM +0100, Maciej W. Rozycki wrote: > Remove typedefs, volatiles and convert kmalloc()/memset() pairs to > kcalloc(). Also reformat the surrounding clutter. > > Signed-off-by: Maciej W. Rozycki <[EMAIL PROTECTED]> > --- > Per your request, Andrew, a while ago. I

Re: [PATCH 1/2] remove asm/bitops.h includes

2007-09-10 Thread Ralf Baechle
> Cc: Adrian Bunk <[EMAIL PROTECTED]> > Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> For the MIPS and hamradio bits: Acked-by: Ralf Baechle <[EMAIL PROTECTED]> Ralf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 2/2] forbid asm/bitops.h direct inclusion

2007-09-10 Thread Ralf Baechle
On Sat, Sep 08, 2007 at 09:00:48PM +0100, Jiri Slaby wrote: > forbid asm/bitops.h direct inclusion > > Because of compile errors that may occur after bit changes if asm/bitops.h is > included directly without e.g. linux/kernel.h which includes linux/bitops.h, > forbid > direct inclusion of asm/b

[PATCH] Spelling fix: weired -> weird

2007-09-05 Thread Ralf Baechle
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/Documentation/scsi/ibmmca.txt b/Documentation/scsi/ibmmca.txt index 9707941..a08e225 100644 --- a/Documentation/scsi/ibmmca.txt +++ b/Documentation/scsi/ibmmca.txt @@ -1188,7 +1188,7 @@ and 15 get ignored by the driver &am

Re: 2.6.23-rc4-mm1: mips compile error

2007-09-04 Thread Ralf Baechle
On Tue, Sep 04, 2007 at 01:27:34AM -0400, Mathieu Desnoyers wrote: > > CC arch/mips/kernel/asm-offsets.s > > In file included from include2/asm/processor.h:22, > > from include2/asm/thread_info.h:15, > > from > > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc

[SERIAL] BCM1480 serial build fix

2007-08-29 Thread Ralf Baechle
From: Thiemo Seufer <[EMAIL PROTECTED]> The appended patch restores serial functionality for the BCM1480. Signed-Off-By: Thiemo Seufer <[EMAIL PROTECTED]> Signed-Off-By: Ralf Baechle <[EMAIL PROTECTED]> diff --git a/drivers/serial/sb1250-duart.c b/drivers/serial/sb1250-dua

<    1   2   3   4   5   6   7   8   >