Skip to content
  1. Jan 13, 2010
    • Paul Mundt's avatar
      sh: Move over to dynamically allocated FPU context. · 0ea820cf
      Paul Mundt authored
      
      
      This follows the x86 xstate changes and implements a task_xstate slab
      cache that is dynamically sized to match one of hard FP/soft FP/FPU-less.
      
      This also tidies up and consolidates some of the SH-2A/SH-4 FPU
      fragmentation. Now fpu state restorers are commonly defined, with the
      init_fpu()/fpu_init() mess reworked to follow the x86 convention.
      The fpu_init() register initialization has been replaced by xstate setup
      followed by writing out to hardware via the standard restore path.
      
      As init_fpu() now performs a slab allocation a secondary lighterweight
      restorer is also introduced for the context switch.
      
      In the future the DSP state will be rolled in here, too.
      
      More work remains for math emulation and the SH-5 FPU, which presently
      uses its own special (UP-only) interfaces.
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      0ea820cf
  2. Jan 12, 2010
  3. Jan 08, 2010
    • Paul Mundt's avatar
      sh: consolidate atomic_cmpxchg()/atomic_add_unless() definitions. · 8c0b8139
      Paul Mundt authored
      
      
      The LL/SC and IRQ versions were using generic stubs while the GRB version
      was just reimplementing what it already had for the standard cmpxchg()
      code. As we have optimized cmpxchg() implementations that are decoupled
      from the atomic code, simply falling back on the generic wrapper does the
      right thing. With this in place the GRB case is unaffected while the
      LL/SC case gets to use its optimized cmpxchg().
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      8c0b8139
  4. Jan 06, 2010
  5. Jan 05, 2010
  6. Jan 04, 2010
  7. Jan 02, 2010
    • Matt Fleming's avatar
      sh: Move page table allocation out of line · 2a5eacca
      Matt Fleming authored
      
      
      We also switched away from quicklists and instead moved to slab
      caches. After benchmarking both implementations the difference is
      negligible. The slab caches suit us better though because the size of a
      pgd table is just 4 entries when we're using a 3-level page table layout
      and quicklists always deal with pages.
      
      Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
      2a5eacca
    • Matt Fleming's avatar
      sh: Optimise flush_dcache_page() on SH4 · b4c89276
      Matt Fleming authored
      
      
      If the page is not mapped into any process's address space then aliases
      cannot exist in the cache. So reduce the amount of flushing we perform.
      
      Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
      b4c89276
    • Matt Fleming's avatar
      sh: Correct the PTRS_PER_PMD and PMD_SHIFT values · 3f5ab768
      Matt Fleming authored
      
      
      The previous expressions were wrong which made free_pmd_range() explode
      when using anything other than 4KB pages (which is why 8KB and 64KB
      pages were disabled with the 3-level page table layout).
      
      The problem was that pmd_offset() was returning an index of non-zero
      when it should have been returning 0. This non-zero offset was used to
      calculate the address of the pmd table to free in free_pmd_range(),
      which ended up trying to free an object that was not aligned on a page
      boundary.
      
      Now 3-level page tables should work with 4KB, 8KB and 64KB pages.
      
      Signed-off-by: default avatarMatt Fleming <matt@console-pimps.org>
      3f5ab768
  8. Dec 31, 2009
  9. Dec 29, 2009
    • Paul Mundt's avatar
      sh: Only provide a PCLK definition for legacy CPG CPUs. · 8152a74b
      Paul Mundt authored
      
      
      As CPUs are migrated over to more fully-featured clock frameworks of
      their own and off of the legacy CPG code, they no longer have any real
      need for defining the PCLK value. The PCLK define in itself is already
      fairly misleading, as many boards get their input clocks from different
      sources, making this value fairly arbitrary anyways.
      
      Outside of the legacy CPG clock framework, the only place where this
      value is used is for deriving CLOCK_TICK_RATE, which we set back to the
      legacy PIT value that it was before the PCLK definitions were added in
      the first place.
      
      Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
      8152a74b
  10. Dec 25, 2009
    • Linus Torvalds's avatar
      Linux 2.6.33-rc2 · 6b7b2849
      Linus Torvalds authored
      v2.6.33-rc2
      6b7b2849
    • Linus Torvalds's avatar
      Merge branch 'sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6 · 0b5e2588
      Linus Torvalds authored
      * 'sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6:
        SYSCTL: Add a mutex to the page_alloc zone order sysctl
        SYSCTL: Print binary sysctl warnings (nearly) only once
      0b5e2588
    • Linus Torvalds's avatar
      Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6 · 6067d7e4
      Linus Torvalds authored
      * 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6:
        HWPOISON: Add PROC_FS dependency to hwpoison injector v2
      6067d7e4
    • Linus Torvalds's avatar
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 · 71492fd1
      Linus Torvalds authored
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (34 commits)
        classmate-laptop: add support for Classmate PC ACPI devices
        hp-wmi: Fix two memleaks
        acer-wmi, msi-wmi: Remove needless DMI MODULE_ALIAS
        dell-wmi: do not keep driver loaded on unsupported boxes
        wmi: Free the allocated acpi objects through wmi_get_event_data
        drivers/platform/x86/acerhdf.c: check BIOS information whether it begins with string of table
        acerhdf: add new BIOS versions
        acerhdf: limit modalias matching to supported
        toshiba_acpi: convert to seq_file
        asus_acpi: convert to seq_file
        ACPI: do not select ACPI_DOCK from ATA_ACPI
        sony-laptop: enumerate rfkill devices using SN06
        sony-laptop: rfkill support for newer models
        ACPI: fix OSC regression that caused aer and pciehp not to load
        MAINTAINERS: add maintainer for msi-wmi driver
        fujitu-laptop: fix tests of acpi_evaluate_integer() return value
        arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: avoid cross-CPU interrupts by using smp_call_function_any()
        ACPI: processor: remove _PDC object list from struct acpi_processor
        ACPI: processor: change acpi_processor_set_pdc() interface
        ACPI: processor: open code acpi_processor_cleanup_pdc
        ...
      71492fd1
    • Linus Torvalds's avatar
      Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2 · 45e62974
      Linus Torvalds authored
      * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2:
        ocfs2/trivial: Use le16_to_cpu for a disk value in xattr.c
        ocfs2/trivial: Use proper mask for 2 places in hearbeat.c
        Ocfs2: Let ocfs2 support fiemap for symlink and fast symlink.
        Ocfs2: Should ocfs2 support fiemap for S_IFDIR inode?
        ocfs2: Use FIEMAP_EXTENT_SHARED
        fiemap: Add new extent flag FIEMAP_EXTENT_SHARED
        ocfs2: replace u8 by __u8 in ocfs2_fs.h
        ocfs2: explicit declare uninitialized var in user_cluster_connect()
        ocfs2-devel: remove redundant OCFS2_MOUNT_POSIX_ACL check in ocfs2_get_acl_nolock()
        ocfs2: return -EAGAIN instead of EAGAIN in dlm
        ocfs2/cluster: Make fence method configurable - v2
        ocfs2: Set MS_POSIXACL on remount
        ocfs2: Make acl use the default
        ocfs2: Always include ACL support
      45e62974
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm · 756fe285
      Linus Torvalds authored
      * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
        VIDEO: cyberpro: pci_request_regions needs a persistent name
        ARM: dma-isa: request cascade channel after registering it
        ARM: footbridge: trim down old ISA rtc setup
        ARM: fix PAGE_KERNEL
        ARM: Fix wrong shared bit for CPU write buffer bug test
        ARM: 5857/1: ARM: dmabounce: fix build
        ARM: 5856/1: Fix bug of uart0 platfrom data for nuc900
        ARM: 5855/1: putc support for nuc900
        ARM: 5854/1: fix compiling error for NUC900
        ARM: 5849/1: ARMv7: fix Oprofile events count
        ARM: add missing include to nwflash.c
        ARM: Kill CONFIG_CPU_32
        ARM: Convert VFP/Crunch/XscaleCP thread_release() to exit_thread()
        ARM: 5853/1: ARM: Fix build break on ARM v6 and v7
      756fe285
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp · eec74a41
      Linus Torvalds authored
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
        edac, pci: remove pesky debug printk
        amd64_edac: restrict PCI config space access
        amd64_edac: fix forcing module load/unload
        amd64_edac: make driver loading more robust
        amd64_edac: fix driver instance freeing
        amd64_edac: fix K8 chip select reporting
      eec74a41
    • Linus Torvalds's avatar
      Merge branch 'sh/for-2.6.33' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6 · ef2c55e5
      Linus Torvalds authored
      * 'sh/for-2.6.33' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
        sh: Ensure all PG_dcache_dirty pages are written back.
        sh: mach-ecovec24: setup.c detailed correction
        serial: sh-sci: Convert tremaining ctrl_xxx I/O routines to __raw_xxx.
        serial: sh-sci: earlyprintk zero uartclk fix
        sh: Only use bl bit toggling for sleeping idle.
        sh: Restore bl bit toggling in idle loop.
        sh: Fix up MAX_DMA_CHANNELS definition when DMA is disabled.
        sh: dmaengine support for SH7785
        sh: dmaengine support for sh7724.
      ef2c55e5
    • Russell King's avatar
      VIDEO: cyberpro: pci_request_regions needs a persistent name · ed5a35ac
      Russell King authored
      
      
      Don't pass a name pointer from the kernel stack, it will not survive
      and will result in corrupted /proc/iomem output.
      
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      ed5a35ac
    • Russell King's avatar
      ARM: dma-isa: request cascade channel after registering it · e8b8f5ef
      Russell King authored
      
      
      We can't request the cascade channel before it's been registered, so
      move it afterwards.
      
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      e8b8f5ef
  11. Dec 24, 2009