02 Nov, 2007

1 commit

  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
    [IRDA] IRNET: Fix build when TCGETS2 is defined.
    [NET]: docbook fixes for netif_ functions
    [NET]: Hide the net_ns kmem cache
    [NET]: Mark the setup_net as __net_init
    [NET]: Hide the dead code in the net_namespace.c
    [NET]: Relax the reference counting of init_net_ns
    [NETNS]: Make the init/exit hooks checks outside the loop
    [NET]: Forget the zero_it argument of sk_alloc()
    [NET]: Remove bogus zero_it argument from sk_alloc
    [NET]: Make the sk_clone() lighter
    [NET]: Move some core sock setup into sk_prot_alloc
    [NET]: Auto-zero the allocated sock object
    [NET]: Cleanup the allocation/freeing of the sock object
    [NET]: Move the get_net() from sock_copy()
    [NET]: Move the sock_copy() from the header
    [TCP]: Another TAGBITS -> SACKED_ACKED|LOST conversion
    [TCP]: Process DSACKs that reside within a SACK block

    Linus Torvalds
     

01 Nov, 2007

8 commits

  • Documentation updates for network interfaces.

    1. Add doc for netif_napi_add
    2. Remove doc for unused returns from netif_rx
    3. Add doc for netif_receive_skb

    [ Incorporated minor mods from Randy Dunlap -DaveM ]

    Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    Stephen Hemminger
     
  • When the CONFIG_NET_NS is n there's no need in refcounting
    the initial net namespace. So relax this code by making a
    stupid stubs for the "n" case.

    Signed-off-by: Pavel Emelyanov
    Signed-off-by: David S. Miller

    Pavel Emelyanov
     
  • Finally, the zero_it argument can be completely removed from
    the callers and from the function prototype.

    Besides, fix the checkpatch.pl warnings about using the
    assignments inside if-s.

    This patch is rather big, and it is a part of the previous one.
    I splitted it wishing to make the patches more readable. Hope
    this particular split helped.

    Signed-off-by: Pavel Emelyanov
    Signed-off-by: David S. Miller

    Pavel Emelyanov
     
  • The sock_copy() call is not used outside the sock.c file,
    so just move it into a sock.c

    Signed-off-by: Pavel Emelyanov
    Signed-off-by: David S. Miller

    Pavel Emelyanov
     
  • This was found by make randconfig

    If the kernel .text is very large, the .fixup section branches
    are too far away to be relocated correctly.

    Use "sethi %hi(label), reg; jmpl reg + %lo(label); %g0" sequence
    instead of the branch to fix this.

    There is another case in switch_to() involving a branch, which
    is fixed similarly.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6:
    Revert "Driver core: remove class_device_*_bin_file"

    Linus Torvalds
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4634/1: DaVinci GPIO header build fix
    [ARM] 4636/1: pxa: add default configuration for zylonite
    [ARM] 4635/1: pxa: Change Eric Miao's email address to eric.miao@marvell.com
    [ARM] Fix assignment instead of condition in arm/mach-omap2/clock.c
    [ARM] nommu: fix breakage caused by f9720205d1f847cb59e197e851b5276425363f6b
    [ARM] pxa: shut up CLOCK_EVT_MODE_RESUME warning
    [ARM] Fix FIQ issue with ARM926
    [ARM] Fix pxamci regression
    [ARM] Fix netx_defconfig regression
    [ARM] Fix ateb9200_defconfig build regression
    [ARM] Fix an rpc_defconfig regression
    [ARM] Fix omap_h2_1610_defconfig regressions
    [ARM] 4632/1: Fix a typo in include/asm-arm/plat-s3c/regs-nand.h

    Linus Torvalds
     
  • This reverts commit fcd239d3d5575e5cc63aab5c33cf6dc66904f6d6.

    I messed up, ia64 still uses these files in the current tree, and now
    can not build the pci code, which all ia64 boxes seem to require :)

    This fixes that mistake.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

31 Oct, 2007

12 commits


30 Oct, 2007

19 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
    Blackfin arch: use a less common define name in BF549
    Blackfin arch: Add missing definitions for BF561
    Blackfin arch: reclaim a few bytes from the end of our init section
    Blackfin arch: fix libata data struct member from irq_type to irq_flags
    Blackfin arch: Do not pollute name space used in linux-2.6.x/sound
    Blackfin arch: Fix bug set correct baud for spi mmc and enable SPI after DMA.
    Blackfin arch: update board defconfig files according to latest information from ADI datasheet
    Blackfin arch: ensure that speculative loads of bad pointers don't cause us to do bad things.
    Blackfin arch: Add missing definitions of BF54x
    Blackfin arch: Fix random crash issue found by Michael.
    Blackfin arch: fix bug: tell users if the kernel is recovering from a fault condition
    Blackfin arch: add support for checking/clearing overruns in generic purpose Timer API
    Blackfin arch: cleanup arch/blackfin/kernel/traps.c handling code.
    Blackfin arch: Apply Bluetchnix vendor patch provided by Harald Krapfenbauer
    Blackfin arch: fix bug BlueTechnix CM-BF537 board config uses wrong IRQ for net2272 driver
    Blackfin arch: fix bug: kernel prints out error message twice
    Blackfin arch: add NFC driver support in BF527-EZKIT board
    Blackfin arch: Added support for HV Sistemas H8606 board

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    [TIPC]: Add tipc_config.h to include/linux/Kbuild.
    [WAN]: lmc_ioctl: don't return with locks held
    [SUNRPC]: fix rpc debugging
    [TCP]: Saner thash_entries default with much memory.
    [SUNRPC] rpc_rdma: we need to cast u64 to unsigned long long for printing
    [IPv4] SNMP: Refer correct memory location to display ICMP out-going statistics
    [NET]: Fix error reporting in sys_socketpair().
    [NETFILTER]: nf_ct_alloc_hashtable(): use __GFP_NOWARN
    [NET]: Fix race between poll_napi() and net_rx_action()
    [TCP] MD5: Remove some more unnecessary casting.
    [TCP] vegas: Fix a bug in disabling slow start by gamma parameter.
    [IPVS]: use proper timeout instead of fixed value
    [IPV6] NDISC: Fix setting base_reachable_time_ms variable.

    Linus Torvalds
     
  • Coverity spotted some incorrect code in a recent change to the IPMI driver;
    this patch make sure the data is really long enough to pull the
    manufacturer id and product id out of a get device id message.

    Signed-off-by: Corey Minyard
    Cc: Adrian Bunk
    Cc: Stian Jordet
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • Implement ATA_QCFLAG_QUIET which indicates that there's no need to
    report if the command fails with AC_ERR_DEV and set it for passthrough
    commands.

    Combined with previous changes, this now makes device errors for all
    direct commands reported directly to the issuer without going through
    EH actions and reporting.

    Note that EH is still invoked after non-IO device errors to determine
    the nature of the error and resume command execution (some controller
    requires special care after error to continue). It just performs
    default maintenance after error, examines what's going on, realizes
    that it's none of its business and reports the command failure without
    logging any error messages.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • Needed, as reported in:

    http://bugzilla.kernel.org/show_bug.cgi?id=9260

    Signed-off-by: David S. Miller

    David S. Miller
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (26 commits)
    cpuidle: remove unused exports
    acpi: remove double mention of Support for ACPI option
    ACPI: use select POWER_SUPPLY for AC, BATTERY and SBS
    ACPI: Battery: Allow extract string from integer
    ACPI: battery: Support for non-spec name for LiIon technology
    ACPI: battery: register power_supply subdevice only when battery is present
    suspend: MAINTAINERS update
    ACPI: update MAINTAINERS
    fujitsu-laptop.c: remove dead code
    cpuidle: unexport tick_nohz_get_sleep_length
    ACPI: battery: Update battery information upon sysfs read.
    fujitsu-laptop: make 2 functions static
    ACPI: EC: fix use-after-free
    ACPI: battery: remove dead code
    ACPI: Fan: Drop force_power_state acpi_device option
    ACPI: Fan: fan device does not need own structure
    ACPI: power: don't cache power resource state
    ACPI: EC: Output changes to operational mode
    ACPI: EC: Add workaround for "optimized" controllers
    ACPI: EC: Don't re-enable GPE for each transaction.
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-x86:
    x86 boot: document for 32 bit boot protocol
    remove the dead X86_REMOTE_DEBUG option
    x86: merge EARLY_PRINTK options
    x86: mm/discontig_32.c: make code static
    x86: kernel/setup_32.c: unexport machine_id
    x86 gart: rename symbols only used for the GART implementation
    x86 gart: make some variables and functions static
    x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMU
    x86 gart: rename iommu.h to gart.h
    x86: additional CPUID strings; fix strings for AMD-ecx

    Linus Torvalds
     
  • Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu

    Mike Frysinger
     
  • Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu

    Mike Frysinger
     
  • Signed-off-by: Michael Hennerich
    Signed-off-by: Bryan Wu

    Michael Hennerich
     
  • Extend Peter's patch to fix accounting issues, by keeping stime
    monotonic too.

    Signed-off-by: Balbir Singh
    Signed-off-by: Ingo Molnar
    Tested-by: Frans Pop

    Balbir Singh
     
  • This patch renames the 4 symbols iommu_hole_init(), iommu_aperture,
    iommu_aperture_allowed, iommu_aperture_disabled. All these symbols are only
    used for the GART implementation of IOMMUs.

    It adds and additional gart_ prefix to them.

    Signed-off-by: Joerg Roedel
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Joerg Roedel
     
  • This patch renames the IOMMU config option to GART_IOMMU because in fact it
    means the GART and not general support for an IOMMU on x86.

    Signed-off-by: Joerg Roedel
    Acked-by: Muli Ben-Yehuda
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Joerg Roedel
     
  • This patch renames the include file asm-x86/iommu.h to asm-x86/gart.h to make
    clear to which IOMMU implementation it belongs. The patch also adds "GART" to
    the Kconfig line.

    Signed-off-by: Joerg Roedel
    Acked-by: Muli Ben-Yehuda
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Joerg Roedel
     
  • Len Brown
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (34 commits)
    [MIPS] tb0219: Update copyright message.
    [MIPS] MT: Fix bug in multithreaded kernels.
    [MIPS] Alchemy: Remove CONFIG_TS_AU1X00_ADS7846 from defconfigs.
    Author: Ralf Baechle
    [MIPS] sb1250: Enable GenBus IDE in defconfig.
    [MIPS] vmlinux.ld.S: correctly indent .data section
    [MIPS] c-r3k: Implement flush_cache_range()
    [MIPS] Store sign-extend register values for PTRACE_GETREGS
    [MIPS] Alchemy: Register platform devices
    [MIPS] Add len and addr validation for MAP_FIXED mappings.
    [MIPS] IRIX: Fix off-by-one error in signal compat code.
    [MIPS] time: Replace plat_timer_setup with modern APIs.
    [MIPS] time: Fix cut'n'paste bug in Sibyte clockevent driver.
    [MIPS] time: Make c0_compare_int_usable faster
    [MIPS] time: Fix cevt-r4k.c for 64-bit kernel
    [MIPS] Sibyte: Delete {sb1250,bcm1480}_steal_irq().
    [MIPS] txx9tmr clockevent/clocksource driver
    [MIPS] Add mips_hpt_frequency check to mips_clockevent_init().
    [MIPS] IP32: Fixes after interrupt renumbering.
    [MIPS] IP27: Fix slice logic to work for arbitrary number of slices.
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-sched:
    sched: fix style in kernel/sched.c
    sched: fix style of swap() macro in kernel/sched_fair.c
    sched: report CPU usage in CFS cgroup directories
    sched: move rcu_head to task_group struct
    sched: fix incorrect assumption that cpu 0 exists
    sched: keep utime/stime monotonic
    sched: make kernel/sched.c:account_guest_time() static

    Linus Torvalds
     
  • This reverts commit 2e1c49db4c640b35df13889b86b9d62215ade4b6.

    First off, testing in Fedora has shown it to cause boot failures,
    bisected down by Martin Ebourne, and reported by Dave Jobes. So the
    commit will likely be reverted in the 2.6.23 stable kernels.

    Secondly, in the 2.6.24 model, x86-64 has now grown support for
    SPARSEMEM_VMEMMAP, which disables the relevant code anyway, so while the
    bug is not visible any more, it's become invisible due to the code just
    being irrelevant and no longer enabled on the only architecture that
    this ever affected.

    Reported-by: Dave Jones
    Tested-by: Martin Ebourne
    Cc: Zou Nan hai
    Cc: Suresh Siddha
    Cc: Andrew Morton
    Acked-by: Andy Whitcroft
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • keep utime/stime monotonic.

    cpustats use utime/stime as a ratio against sum_exec_runtime, as a
    consequence it can happen - when the ratio changes faster than time
    accumulates - that either can be appear to go backwards.

    Signed-off-by: Peter Zijlstra
    Signed-off-by: Ingo Molnar

    Peter Zijlstra