1. 03 5月, 2005 2 次提交
  2. 01 5月, 2005 3 次提交
  3. 30 4月, 2005 4 次提交
    • R
      [PATCH] ARM: RTC: allow driver methods to return error · d5aa207e
      Russell King 提交于
      Allow RTC drivers to return error codes from their read_time
      or read_alarm methods.
      Signed-off-by: NRussell King <rmk@arm.linux.org.uk>
      d5aa207e
    • O
      [PATCH] ARM: 2649/1: Fix 'sparse -Wbitwise' warnings from MMIO macros · 05f9869b
      Olav Kongas 提交于
      Patch from Olav Kongas
      
      On ARM, the outX() and writeX() families of macros take the
      result of cpu_to_leYY(), which is of restricted type __leYY,
      and feed it to __raw_writeX(), which expect an argument of
      unrestricted type. This results in 'sparse -Wbitwise'
      warnings about incorrect types in assignments. Analogous
      type mismatch warnings are issued for inX() and readX()
      counterparts. The below patch resolves these warnings by
      adding forced typecasts.
      
      Signed-off-by: Olav Kongas
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      05f9869b
    • N
      [PATCH] ARM: 2651/3: kernel helpers for NPTL support · 2d2669b6
      Nicolas Pitre 提交于
      Patch from Nicolas Pitre
      
      This patch entirely reworks the kernel assistance for NPTL on ARM.
      In particular this provides an efficient way to retrieve the TLS
      value and perform atomic operations without any instruction emulation
      nor special system call.  This even allows for pre ARMv6 binaries to
      be forward compatible with SMP systems without any penalty.
      The problematic and performance critical operations are performed
      through segment of kernel provided user code reachable from user space
      at a fixed address in kernel memory.  Those fixed entry points are
      within the vector page so we basically get it for free as no extra
      memory page is required and nothing else may be mapped at that
      location anyway.
      This is different from (but doesn't preclude) a full blown VDSO
      implementation, however a VDSO would prevent some assembly tricks with
      constants that allows for efficient branching to those code segments.
      And since those code segments only use a few cycles before returning to
      user code, the overhead of a VDSO far call would add a significant
      overhead to such minimalistic operations.
      The ARM_NR_set_tls syscall also changed number.  This is done for two
      reasons:
      1) this patch changes the way the TLS value was previously meant to be
         retrieved, therefore we ensure whatever library using the old way
         gets fixed (they only exist in private tree at the moment since the
         NPTL work is still progressing).
      2) the previous number was allocated in a range causing an undefined
         instruction trap on kernels not supporting that syscall and it was
         determined that allocating it in a range returning -ENOSYS would be
         much nicer for libraries trying to determine if the feature is
         present or not.
      
      Signed-off-by: Nicolas Pitre
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      2d2669b6
    • L
      [PATCH] ARM: 2657/1: export ixp2000_pci_config_addr · 8443b165
      Lennert Buytenhek 提交于
      Patch from Lennert Buytenhek
      
      Export ixp2000_pci_config_addr, to be used by the IXDP2800 platform
      setup code to coordinate booting the master and slave NPU.
      
      Signed-off-by: Lennert Buytenhek
      Signed-off-by: Deepak Saxena
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      8443b165
  4. 28 4月, 2005 4 次提交
  5. 26 4月, 2005 5 次提交
    • D
      [PATCH] ARM: 2653/1: Fix memset and memzero macro double-reference of parameters · 2fac6f3f
      Deepak Saxena 提交于
      Patch from Deepak Saxena
      
      The current memset() and memzero() macros on ARM reference the
      incoming parameters more than once and this can cause uninted
      side-effects. The issue was found while debugging SCTP protocol
      and with the specific usage of memzero(skb_put(skb,size),size).
      This call would call skb_put(skb,size) twice leading to badness.
      The fixed version copies the incoming parameters into local
      variables and uses those instead.
      
      Signed-off-by: Deepak Saxena
      Signed-off-by: Russell King
      2fac6f3f
    • L
      [PATCH] ARM: 2645/1: Adds IIS definitions for the S3C2400 · eec99e34
      Lucas Correia Villa Real 提交于
      Patch from Lucas Correia Villa Real
      
      Adds IISFCON definitions for the S3C2400 at
      include/asm-arm/arch-s3c2400/regs-iis.h.
      
      Signed-off-by: Lucas Correia Villa Real
      Signed-off-by: Ben Dooks
      Signed-off-by: Russell King
      eec99e34
    • L
      [PATCH] ARM: 2644/1: Adds S3C2400 support to uncompress.h · bd7b1702
      Lucas Correia Villa Real 提交于
      Patch from Lucas Correia Villa Real
      
      The S3C2400 doesn't have a cpuid information stored anywhere. This patch adds
      support to the S3C2400 at include/asm-arm/arch-s3c2400/uncompress.h by
      initializing the cpuid variable to the S3C2410, as they share the same
      routine. The GSTATUS1 pin is then used only if not compiling for the S3C2400.
      
      Signed-off-by: Lucas Correia Villa Real
      Signed-off-by: Ben Dooks
      Signed-off-by: Russell King
      bd7b1702
    • L
      [PATCH] ARM: 2641/1: Adds S3C2400_SPPIN_nCS to arch-s3c2410/regs-spi.h · b7ebcc10
      Lucas Correia Villa Real 提交于
      Patch from Lucas Correia Villa Real
      
      Adds a define to the SPI Card Select bit on the S3C2400 into
      include/asm-arm/arch-s3c2410/regs-spi.h
      
      Signed-off-by: Lucas Correia Villa Real
      Signed-off-by: Russell King
      b7ebcc10
    • L
      [PATCH] ARM: 2640/1: Adds DRAM/BANKSIZE_MASK definitions for S3C2400 · a3342421
      Lucas Correia Villa Real 提交于
      Patch from Lucas Correia Villa Real
      
      Adds DRAM refresh definitions and sets the BANKSIZE_MASK for the S3C2400 on
      include/asm-arm/arch-s3c2400/regs-mem.h
      
      Signed-off-by: Lucas Correia Villa Real
      Signed-off-by: Ben Dooks
      Signed-off-by: Russell King
      a3342421
  6. 20 4月, 2005 1 次提交
  7. 17 4月, 2005 4 次提交