1. 30 5月, 2007 10 次提交
    • C
      [ARM] 4394/1: ARMv7: Add the TLB range operations · 2ccdd1e7
      Catalin Marinas 提交于
      We are currently using the ARMv6 operations but need to duplicate some
      of the code because of the introduction of the new CPU barrier
      instructions in ARMv7.
      Signed-off-by: NCatalin Marinas <catalin.marinas@arm.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      2ccdd1e7
    • M
      [ARM] 4410/1: Remove extern declarations in coyote/ixdpg425-pci.c · 919a8429
      Michael-Luke Jones 提交于
      This patch removes apparently unnecessary extern declarations in
      coyote-pci.c and ixdpg425-pci.c within arch/arm/mach-ixp4xx and
      has been compile-tested without producing warnings or errors.
      
      Kernel coding style forbids the use of extern declarations within .c
      files.
      Signed-off-by: NMichael-Luke Jones <mlj28@cam.ac.uk>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      919a8429
    • B
      [ARM] 4416/1: NWFPE: fix undeclared symbols · 1ff08288
      Ben Dooks 提交于
      Fix the undeclared symbols sparse is warning about.
      
      arch/arm/nwfpe/softfloat.c:1727:7: warning: symbol 'float64_to_uint32' was not declared. Should it be static?
      arch/arm/nwfpe/softfloat.c:1753:7: warning: symbol 'float64_to_uint32_round_to_zero' was not declared. Should it be static?
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      1ff08288
    • B
      [ARM] 4415/1: AML5900: fix sparse warnings from map_io · e078761a
      Ben Dooks 提交于
      The map_io function does not need to be exported
      from this file, and therefore should be declared
      static.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      e078761a
    • B
      [ARM] 4414/1: S3C2443: sparse fix for clock.c · 0cc69daa
      Ben Dooks 提交于
      Fix sparse warnings in the arch/arm/mach-s3c2443/clock.c,
      including an bug in initialising the cf clock initialiser
      where two values are being set for the ctrlbit.
      
      arch/arm/mach-s3c2443/clock.c:397:12: warning: symbol 'clk_usb_bus_host' was not declared. Should it be static?
      arch/arm/mach-s3c2443/clock.c:760:4: error: Initializer entry defined twice
      arch/arm/mach-s3c2443/clock.c:761:4:   also defined here
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      0cc69daa
    • B
      [ARM] 4412/1: S3C2412: reset errata fix · eca8c242
      Ben Dooks 提交于
      The S3C2412 has an reset-errata where the clock
      may cause a glitch switching back to EXTCLK. We
      force a switch to EXTCLK before writing the
      reset register to force use of the CLKCON sync
      logic to properly switch.
      
      Fix problem reported by Matthieu Castet.
      Signed-off-by: NBen Dooks <ben-linux@fluff.org>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      eca8c242
    • A
      [ARM] 4411/1: KS8695: Another serial driver fix · 486cab2b
      Andrew Victor 提交于
      Fix a error reported by newer versions of GCC.
      error: static declaration of 'ks8695_reg' follows non-static declaration
      Signed-off-by: NAndrew Victor <andrew@sanpeople.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      486cab2b
    • R
      [ARM] oprofile: avoid lockdep warnings on mpcore oprofile init · 28c670cb
      Russell King 提交于
      Fix lockdep warnings, caused by 'set_affinity' being called without
      the correct locks taken and local interrupts disabled:
      
      =================================
      [ INFO: inconsistent lock state ]
      2.6.22-rc2 #1
      ---------------------------------
      inconsistent {in-hardirq-W} -> {hardirq-on-W} usage.
      swapper/1 [HC0[0]:SC0[0]:HE1:SE1] takes:
      (irq_controller_lock){++..}, at: [<c002be50>] gic_set_cpu+0x60/0xa0
      {in-hardirq-W} state was registered at:
       [<c005d9a8>] lock_acquire+0x58/0x6c
       [<c0233068>] _spin_lock+0x40/0x50
       [<c002c020>] gic_mask_irq+0x2c/0x6c
       [<c0069c64>] handle_level_irq+0x11c/0x14c
       [<c0020060>] asm_do_IRQ+0x60/0x84
       [<c0020d2c>] __irq_svc+0x4c/0xc0
       [<c000ed84>] __alloc_bootmem_nopanic+0x74/0x88
       [<c000edb0>] __alloc_bootmem+0x18/0x3c
       [<c000fa00>] alloc_large_system_hash+0x16c/0x200
       [<c00108dc>] inode_init_early+0x5c/0xa4
       [<c00106dc>] vfs_caches_init_early+0x24/0xa0
       [<c0008e54>] start_kernel+0x220/0x2fc
       [<00008078>] 0x8078
      irq event stamp: 88438
      hardirqs last  enabled at (88438): [<c0020dc0>] preempt_return+0x20/0x2c
      hardirqs last disabled at (88436): [<c00417bc>] __do_softirq+0xb0/0x138
      softirqs last  enabled at (88437): [<c0041810>] __do_softirq+0x104/0x138
      softirqs last disabled at (88428): [<c0041d9c>] irq_exit+0x68/0x7c
      
      other info that might help us debug this:
      no locks held by swapper/1.
      
      stack backtrace:
      [<c0025ecc>] (dump_stack+0x0/0x14) from [<c005b1e4>] (print_usage_bug+0x138/0x168)
      [<c005b0ac>] (print_usage_bug+0x0/0x168) from [<c005be80>] (mark_lock+0x484/0x6a0)
      [<c005b9fc>] (mark_lock+0x0/0x6a0) from [<c005cc48>] (__lock_acquire+0x3c0/0x10c8)
      [<c005c888>] (__lock_acquire+0x0/0x10c8) from [<c005d9a8>] (lock_acquire+0x58/0x6c)
      [<c005d950>] (lock_acquire+0x0/0x6c) from [<c0233068>] (_spin_lock+0x40/0x50)
      [<c0233028>] (_spin_lock+0x0/0x50) from [<c002be50>] (gic_set_cpu+0x60/0xa0)
      [<c002bdf0>] (gic_set_cpu+0x0/0xa0) from [<c01b04cc>] (em_route_irq+0x38/0x40)
      [<c01b0494>] (em_route_irq+0x0/0x40) from [<c01b04ec>] (em_setup+0x18/0xa4)
      [<c01b04d4>] (em_setup+0x0/0xa4) from [<c001570c>] (oprofile_arch_init+0x24/0xe8)
      [<c00156e8>] (oprofile_arch_init+0x0/0xe8) from [<c0015640>] (oprofile_init+0x1c/0x64)
      [<c0015624>] (oprofile_init+0x0/0x64) from [<c0008a20>] (kernel_init+0x154/0x368)
      [<c00088cc>] (kernel_init+0x0/0x368) from [<c003ef34>] (do_exit+0x0/0x904)
      oprofile: using arm/mpcore
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      28c670cb
    • R
      [ARM] Fix stacktrace FP range checking · 5b10c8e4
      Russell King 提交于
      Fix an oops in the stacktrace code, caused by improper range checking.
      We subtract 12 off 'fp' before testing to see if it's below the low
      bound.  However, if 'fp' were zero before, it becomes a very large
      positive number, causing this test to succeed where it should fail.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      5b10c8e4
    • D
      [ARM] use __used attribute · b91d8a12
      David Rientjes 提交于
      Use the newly introduced __used attribute in place of the deprecated
      __attribute_used__.  Functionally the same.
      Signed-off-by: NDavid Rientjes <rientjes@google.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      b91d8a12
  2. 29 5月, 2007 1 次提交
  3. 26 5月, 2007 18 次提交
  4. 25 5月, 2007 11 次提交
    • J
      [libata] sata_via, pata_via: Add PCI IDs. · 52df0ee0
      Jeff Garzik 提交于
      Supplied by VIA.
      
      Also, convert named constants to hex values in the pata_via
      PCI ID table.  (standard libata policy for PCI device IDs, which are
      considered simply arbitrary hex numbers, without a need to create a
      single-use constant in linux/pci_ids.h)
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      52df0ee0
    • J
      [libata] Fix decoding of 6-byte commands · 6c7b7d2b
      Jeff Garzik 提交于
      The code for parsing 6-byte SCSI command LBAs
      missed the top 5 bits (the MSB).
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      6c7b7d2b
    • U
      libata: sata_sis fixes · ddfc87a0
      Uwe Koziolek 提交于
      The sata_sis driver supports SATA and PATA ports. The broken support
      of both types in one controller is fixed.
      Signed-off-by: NUwe Koziolek <uwe.koziolek@gmx.net>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      ddfc87a0
    • T
      Fix build failure for drivers/ata/pata_scc.c · 7e068376
      Tony Breeds 提交于
      The commit d4b2bab4 added deadline support
      to prereset and reset methods to libbata the pata_scc driver wasn't
      converted.  This patch is a naive attempt to bring this driver up to
      scratch.
      
      Build failures are:
      drivers/ata/pata_scc.c: In function 'scc_pata_prereset':
      drivers/ata/pata_scc.c:870: error: too few arguments to function 'ata_std_prereset'
      drivers/ata/pata_scc.c: In function 'scc_error_handler':
      drivers/ata/pata_scc.c:916: warning: passing argument 2 of 'ata_bmdma_drive_eh' from incompatible pointer type
      drivers/ata/pata_scc.c:916: warning: passing argument 3 of 'ata_bmdma_drive_eh' from incompatible pointer type
      drivers/ata/pata_scc.c: In function 'scc_pata_prereset':
      drivers/ata/pata_scc.c:871: warning: control reaches end of non-void function
      
      On a releated note scc_bus_post_reset() is (AFACT) identical to
      ata_bus_post_reset(), would a patch to make ata_bus_post_reset() assesable
      to drivers be accepted?
      Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
      Acked-by: NTejun Heo <htejun@gmail.com>
      Cc: Akira Iguchi <akira2.iguchi@toshiba.co.jp>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      7e068376
    • J
      [libata] sata_mv: add TODO list · 4a05e209
      Jeff Garzik 提交于
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      4a05e209
    • J
      [libata] sata_promise: fix flags typo · bb312235
      Jeff Garzik 提交于
      A stray comma makes all the difference.  Change to '|' as these flags
      should be or'd together.
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      bb312235
    • L
      Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 · 1c1ee4c3
      Linus Torvalds 提交于
      * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: (25 commits)
        [XFRM]: Allow packet drops during larval state resolution.
        [CASSINI]: Check pci_set_mwi() return value.
        [NET]: "wrong timeout value" in sk_wait_data() v2
        [NETFILTER]: nf_nat_h323: call set_h225_addr instead of set_h225_addr_hook
        [NETFILTER]: nf_conntrack_h323: add missing T.120 address in OLCA
        [NETFILTER]: nf_conntrack_h323: remove unnecessary process of Information signal
        [NETFILTER]: nf_conntrack_h323: fix get_h225_addr() for IPv6 address access
        [NETFILTER]: nf_conntrack_h323: fix ASN.1 types
        [NETFILTER]: nf_conntrack_ftp: fix newline sequence number calculation
        [NETFILTER]: nf_conntrack_ftp: fix newline sequence number update
        [NET_SCHED]: sch_htb: fix event cache time calculation
        [DCCP]: Fix build warning when debugging is disabled.
        [TIPC]: Fixed erroneous introduction of for_each_netdev
        [RTNETLINK]: Fix sending netlink message when replace route.
        [TR]: Use menuconfig objects.
        [ARCNET]: Use menuconfig objects.
        [TIPC]: Use menuconfig objects.
        [SCTP]: Use menuconfig objects.
        [IPVS]: Use menuconfig objects.
        [DCCP]: Use menuconfig objects.
        ...
      1c1ee4c3
    • L
      Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev · 91396c1e
      Linus Torvalds 提交于
      * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
        pata_via: Handle laptops via DMI
        libata: -ENODEV during prereset isn't an error
        libata: don't consider 0xff as port empty if SStatus is available
        ata_piix: add short 40c quirk for Acer Aspire 2030, take #2
        pata_sis: Fix and clean up some timing setups
        hpt3x2n: Correct revision boundary
      91396c1e
    • D
      [XFRM]: Allow packet drops during larval state resolution. · 14e50e57
      David S. Miller 提交于
      The current IPSEC rule resolution behavior we have does not work for a
      lot of people, even though technically it's an improvement from the
      -EAGAIN buisness we had before.
      
      Right now we'll block until the key manager resolves the route.  That
      works for simple cases, but many folks would rather packets get
      silently dropped until the key manager resolves the IPSEC rules.
      
      We can't tell these folks to "set the socket non-blocking" because
      they don't have control over the non-block setting of things like the
      sockets used to resolve DNS deep inside of the resolver libraries in
      libc.
      
      With that in mind I coded up the patch below with some help from
      Herbert Xu which provides packet-drop behavior during larval state
      resolution, controllable via sysctl and off by default.
      
      This lays the framework to either:
      
      1) Make this default at some point or...
      
      2) Move this logic into xfrm{4,6}_policy.c and implement the
         ARP-like resolution queue we've all been dreaming of.
         The idea would be to queue packets to the policy, then
         once the larval state is resolved by the key manager we
         re-resolve the route and push the packets out.  The
         packets would timeout if the rule didn't get resolved
         in a certain amount of time.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      14e50e57
    • D
      04efb878
    • L
      Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6 · 9059b454
      Linus Torvalds 提交于
      * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
        [IA64] acpi_get_sysname() should be __init
        [IA64] Cleanup acpi header to reuse the generic _PDC defines
        [IA64] Fix using uninitialized data in _PDC setup
        [IA64] start_secondary() and smp_callin() should be __cpuinit
      9059b454