1. 05 Jan, 2011 1 commit
    • Yinghai Lu's avatar
      x86: Fix APIC ID sizing bug on larger systems, clean up MAX_APICS confusion · cb2ded37
      Yinghai Lu authored
      Found one x2apic pre-enabled system, x2apic_mode suddenly get
      corrupted after register some cpus, when compiled
      CONFIG_NR_CPUS=255 instead of 512.
      It turns out that generic_processor_info() ==> phyid_set(apicid,
      phys_cpu_present_map) causes the problem.
      phys_cpu_present_map is sized by MAX_APICS bits, and pre-enabled
      system some cpus have an apic id > 255.
      The variable after phys_cpu_present_map may get corrupted
       ffffffff828e8420 B phys_cpu_present_map
       ffffffff828e8440 B apic_verbosity
       ffffffff828e8444 B local_apic_timer_c2_ok
       ffffffff828e8448 B disable_apic
       ffffffff828e844c B x2apic_mode
       ffffffff828e8450 B x2apic_disabled
       ffffffff828e8454 B num_processors
      Actually phys_cpu_present_map is referenced via apic id, instead
      index. We should use MAX_LOCAL_APIC instead MAX_APICS.
      For 64-bit it will be 32768 in all cases. BSS will increase by 4k bytes
      on 64-bit:
      	text		data		bss		dec		filename
      	21696943	4193748		12787712	38678403	vmlinux.before
      	21696943	4193748		12791808	38682499	vmlinux.after
      No change on 32bit.
      Finally we can remove MAX_APCIS that was rather confusing.
      Signed-off-by: default avatarYinghai Lu <yinghai@kernel.org>
      Cc: H. Peter Anvin <hpa@linux.intel.com>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      LKML-Reference: <4D23BD9C.3070102@kernel.org>
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
  2. 04 Jan, 2011 1 commit
  3. 28 Dec, 2010 8 commits
  4. 27 Dec, 2010 7 commits
  5. 26 Dec, 2010 4 commits
    • Jeff Garzik's avatar
      pata_cs5536: avoid implicit MSR API inclusion on x86-64 · ff5dd32b
      Jeff Garzik authored
      We don't need or want MSR usage here, on x86-64.
      x86-64 was disabled intentionally in Kconfig, but commit
       changed that.
      drivers/ata/pata_cs5536.c:47:1: warning: "rdmsr" redefined
      In file included from arch/x86/include/asm/irqflags.h:60,
                       from include/linux/irqflags.h:15,
                       from arch/x86/include/asm/system.h:11,
                       from arch/x86/include/asm/processor.h:17,
                       from include/linux/prefetch.h:14,
                       from include/linux/list.h:7,
                       from include/linux/module.h:9,
                       from drivers/ata/pata_cs5536.c:33:
      arch/x86/include/asm/paravirt.h:146:1: warning: this is the location of the previous definition
      drivers/ata/pata_cs5536.c:48:1: warning: "wrmsr" redefined
      arch/x86/include/asm/paravirt.h:154:1: warning: this is the location of the previous definition
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    • Len Brown's avatar
    • Rafael J. Wysocki's avatar
      ACPI / ACPICA: Disable GPEs during initialization · 5acdb1af
      Rafael J. Wysocki authored
      GPEs with corresponding _Lxx/_Exx control methods need to be disabled
      during initialization in case they have been enabled by the BIOS, so
      that they don't fire up until they are enabled by acpi_update_gpes().
      References: https://bugzilla.kernel.org/show_bug.cgi?id=25412
      Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 · d7c1255a
      Linus Torvalds authored
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (42 commits)
        ipv4: dont create routes on down devices
        epic100: hamachi: yellowfin: Fix skb allocation size
        sundance: Fix oopses with corrupted skb_shared_info
        Revert "ipv4: Allow configuring subnets as local addresses"
        USB: mcs7830: return negative if auto negotiate fails
        irda: prevent integer underflow in IRLMP_ENUMDEVICES
        tcp: fix listening_get_next()
        atl1c: Do not use legacy PCI power management
        mac80211: fix mesh forwarding
        MAINTAINERS: email address change
        net: Fix range checks in tcf_valid_offset().
        net_sched: sch_sfq: fix allot handling
        hostap: remove netif_stop_queue from init
        mac80211/rt2x00: add ieee80211_tx_status_ni()
        typhoon: memory corruption in typhoon_get_drvinfo()
        net: Add USB PID for new MOSCHIP USB ethernet controller MCS7832 variant
        net_sched: always clone skbs
        ipv6: Fragment locally generated tunnel-mode IPSec6 packets as needed.
        netlink: fix gcc -Wconversion compilation warning
        asix: add USB ID for Logitec LAN-GTJ U2A
  6. 25 Dec, 2010 4 commits
  7. 24 Dec, 2010 15 commits