- Jul 24, 2011
-
-
Jonas Bonn authored
This patch removes all the module loader hook implementations in the architecture specific code where the functionality is the same as that now provided by the recently added default hooks. Signed-off-by:
Jonas Bonn <jonas@southpole.se> Acked-by:
Mike Frysinger <vapier@gentoo.org> Acked-by:
Geert Uytterhoeven <geert@linux-m68k.org> Tested-by:
Michal Simek <monstr@monstr.eu> Signed-off-by:
Rusty Russell <rusty@rustcorp.com.au>
-
- Jun 09, 2011
-
-
Guan Xuetao authored
The patch adds one-line asm-generic files in arch/unicore32/include/asm/Kbuild Also, remove the old implementation in arch/unicore32/Makefile see commit from Sam Ravnborg <d8ecc5cd> kbuild: asm-generic support Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Guan Xuetao authored
The patch changes PERCPU to PERCPU_SECTION see commit from Tejun Heo <0415b00d> percpu: Always align percpu output section to PAGE_SIZE Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Tejun Heo <tj@kernel.org>
-
Guan Xuetao authored
Rename debug_defconfig to unicore32_defconfig, which is a minimal config for PKUnity-v3 (130nm) SoC board. Also, add KBUILD_DEFCONFIG to use 'make defconfig'. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Guan Xuetao authored
U-boot will load the kernel image to 48M physical memory address. The patch changes it to the correct address, though it's PIC codes. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Guan Xuetao authored
The patch moves rtc driver for PKUnity-v3 SoC from arch/unicore32/kernel/ to drivers/rtc/, with renaming it to rtc-puv3.c. Also, Kconfig, Makefile, and MAINTAINERS are modified correspondingly. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- May 25, 2011
-
-
Stephen Boyd authored
Most arches define CONFIG_DEBUG_STACK_USAGE exactly the same way. Move it to lib/Kconfig.debug so each arch doesn't have to define it. This obviously makes the option generic, but that's fine because the config is already used in generic code. It's not obvious to me that sysrq-P actually does anything caution by keeping the most inclusive wording. Signed-off-by:
Stephen Boyd <sboyd@codeaurora.org> Cc: Chris Metcalf <cmetcalf@tilera.com> Acked-by:
David S. Miller <davem@davemloft.net> Acked-by:
Richard Weinberger <richard@nod.at> Acked-by:
Mike Frysinger <vapier@gentoo.org> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Hirokazu Takata <takata@linux-m32r.org> Acked-by:
Ralf Baechle <ralf@linux-mips.org> Cc: Paul Mackerras <paulus@samba.org> Acked-by:
Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Chen Liqin <liqin.chen@sunplusct.com> Cc: Lennox Wu <lennox.wu@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
Peter Zijlstra authored
Fold all the mmu_gather rework patches into one for submission Signed-off-by:
Peter Zijlstra <a.p.zijlstra@chello.nl> Reported-by:
Hugh Dickins <hughd@google.com> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: David Miller <davem@davemloft.net> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com> Cc: Russell King <rmk@arm.linux.org.uk> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Jeff Dike <jdike@addtoit.com> Cc: Richard Weinberger <richard@nod.at> Cc: Tony Luck <tony.luck@intel.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Mel Gorman <mel@csn.ul.ie> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Nick Piggin <npiggin@kernel.dk> Cc: Namhyung Kim <namhyung@gmail.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
David Rientjes authored
Architectures that implement their own show_mem() function did not pass the filter argument to show_free_areas() to appropriately avoid emitting the state of nodes that are disallowed in the current context. This patch now passes the filter argument to show_free_areas() so those nodes are now avoided. This patch also removes the show_free_areas() wrapper around __show_free_areas() and converts existing callers to pass an empty filter. ia64 emits additional information for each node, so skip_free_areas_zone() must be made global to filter disallowed nodes and it is converted to use a nid argument rather than a zone for this use case. Signed-off-by:
David Rientjes <rientjes@google.com> Cc: Russell King <linux@arm.linux.org.uk> Cc: Tony Luck <tony.luck@intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: Kyle McMartin <kyle@mcmartin.ca> Cc: Helge Deller <deller@gmx.de> Cc: James Bottomley <jejb@parisc-linux.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- May 24, 2011
-
-
Rafael J. Wysocki authored
All architectures supporting hibernation define arch_prepare_suspend() as an empty function, so remove it. Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl>
-
- May 13, 2011
-
-
Greg Kroah-Hartman authored
On some arches (x86, sh, arm, unicore, powerpc) the oops message would print out the last sysfs file accessed. This was very useful in finding a number of sysfs and driver core bugs in the 2.5 and early 2.6 development days, but it has been a number of years since this file has actually helped in debugging anything that couldn't also be trivially determined from the stack traceback. So it's time to delete the line. This is good as we need all the space we can get for oops messages at times on consoles. Acked-by:
Phil Carmody <ext-phil.2.carmody@nokia.com> Acked-by:
Ingo Molnar <mingo@elte.hu> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- May 11, 2011
-
-
Rafael J. Wysocki authored
Make some UNICORE32 architecture's code use struct syscore_ops objects for power management instead of sysdev classes and sysdevs. This simplifies the code and reduces the kernel's memory footprint. It also is necessary for removing sysdevs from the kernel entirely in the future. Signed-off-by:
Rafael J. Wysocki <rjw@sisk.pl> Acked-by:
Greg Kroah-Hartman <gregkh@suse.de> Acked-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
- Apr 02, 2011
-
-
Guan Xuetao authored
1. get videomemory by __get_free_pages() in fb-puv3.c 2. remove resource reservation for old fixed UNIGFX_MMAP & UVC_MMAP space 3. remove unused macros: PKUNTIY_UNIGFX_MMAP_BASE, PKUNITY_UNIGFX_MMAP_SIZE, PKUNITY_UVC_MMAP_BASE, PKUNITY_UVC_MMAP_SIZE and KUSER_UNIGFX_BASE 4. remove unused header linux/vmalloc.h in fb-puv3.h Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Huang Weiyi authored
Remove duplicated #include('s) in arch/unicore32/kernel/traps.c Signed-off-by:
Huang Weiyi <weiyi.huang@gmail.com> Acked-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
Guan Xuetao authored
Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
Guan Xuetao authored
The futex functions in unicore32 are not used and verified, so just replaced by asm-generic version. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
Guan Xuetao authored
Also, adjust cacheline parameter of RW_DATA_SECTION and EXCEPTION_TABLE Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
- Mar 31, 2011
-
-
Lucas De Marchi authored
Fixes generated by 'codespell' and manually reviewed. Signed-off-by:
Lucas De Marchi <lucas.demarchi@profusion.mobi>
-
- Mar 30, 2011
-
-
Thomas Gleixner authored
Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- Mar 29, 2011
-
-
Thomas Gleixner authored
Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
Thomas Gleixner authored
Scripted with coccinelle. Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
-
- Mar 24, 2011
-
-
David Rientjes authored
Commit ddd588b5 ("oom: suppress nodes that are not allowed from meminfo on oom kill") moved lib/show_mem.o out of lib/lib.a, which resulted in build warnings on all architectures that implement their own versions of show_mem(): lib/lib.a(show_mem.o): In function `show_mem': show_mem.c:(.text+0x1f4): multiple definition of `show_mem' arch/sparc/mm/built-in.o:(.text+0xd70): first defined here The fix is to remove __show_mem() and add its argument to show_mem() in all implementations to prevent this breakage. Architectures that implement their own show_mem() actually don't do anything with the argument yet, but they could be made to filter nodes that aren't allowed in the current context in the future just like the generic implementation. Reported-by:
Stephen Rothwell <sfr@canb.auug.org.au> Reported-by:
James Bottomley <James.Bottomley@hansenpartnership.com> Suggested-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
David Rientjes <rientjes@google.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Mar 16, 2011
-
-
GuanXuetao authored
Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
1. remove __REG macro 2. add (void __iomem *) to io_p2v macro 3. add (phys_addr_t) to io_v2p macro 4. add PKUNITY_AHB_BASE and PKUNITY_APB_BASE definitions 5. modify all PKUNITY_mmio_BASEs from physical addr to virtual addr 6. adjust prefix macro for all usage of PKUNITY_mmio_BASEs -- by advice with Arnd Bergmann Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
1. define and enable CONFIG_GENERIC_IOMAP 2. define unicore32-specific PCI_IOBASE for asm-generic/io.h 3. define HAVE_ARCH_PIO_SIZE and unicore32-specific PIO_* macros 4. remove all unicore32-specific iomap functions Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-and-Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
change from original version -- by advice of Paul Mundt 1. remove videomemorysize definitions 2. remove unifb_enable and unifb_setup 3. use dev_warn instead of printk in fb driver 4. remove judgement for FB_ACCEL_PUV3_UNIGFX 5. adjust clk_get and clk_set_rate calls 6. add resources definitions 7. remove unifb_option 8. adjust register for platform_device 9. adjust unifb_ops position and unifb_regs assignment position Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
change from original version -- by advice of Jean Delvare 1. remove global variable i2c_reg, replaced by local variables 2. replace ENXIO with ENODEV when no platform resources 3. add adapter->nr assignment before i2c_add_numbered_adapter() call 4. add judgement for i2c_del_adapter() return value 5. release adapter when driver removed 6. add __devexit for puv3_i2c_remove() function 7. modify several names to more appropriated ones Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
-- by advice of Arnd Bergmann Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
for the term IOSPACE normally refers to the PCI PIO space -- by advice with Arnd Bergmann Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
-- by advice with Thomas Gleixner Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
apply clockevents_calc_mult_shift() to get rid of shift assignment and mult calculation for osmr0 -- by advice with Thomas Gleixner Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
This patch implements arch-specific pci bus driver. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
This patch adds all hardware registers definitions. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn>
-
GuanXuetao authored
This patch adds machine related core files, also including build infrastructure. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
This patch implements booting process, including uncompression process. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Reviewed-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
This patch implements the rest low-level libraries. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
This patch implements low-level uaccess libraries. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-
GuanXuetao authored
This patch implements low-level debug libraries with On-Chip-Debugger hardware support. Signed-off-by:
Guan Xuetao <gxt@mprc.pku.edu.cn> Acked-by:
Arnd Bergmann <arnd@arndb.de>
-