12 Dec, 2009

1 commit

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (109 commits)
    PCI: fix coding style issue in pci_save_state()
    PCI: add pci_request_acs
    PCI: fix BUG_ON triggered by logical PCIe root port removal
    PCI: remove ifdefed pci_cleanup_aer_correct_error_status
    PCI: unconditionally clear AER uncorr status register during cleanup
    x86/PCI: claim SR-IOV BARs in pcibios_allocate_resource
    PCI: portdrv: remove redundant definitions
    PCI: portdrv: remove unnecessary struct pcie_port_data
    PCI: portdrv: minor cleanup for pcie_port_device_register
    PCI: portdrv: add missing irq cleanup
    PCI: portdrv: enable device before irq initialization
    PCI: portdrv: cleanup service irqs initialization
    PCI: portdrv: check capabilities first
    PCI: portdrv: move PME capability check
    PCI: portdrv: remove redundant pcie type calculation
    PCI: portdrv: cleanup pcie_device registration
    PCI: portdrv: remove redundant pcie_port_device_probe
    PCI: Always set prefetchable base/limit upper32 registers
    PCI: read-modify-write the pcie device control register when initiating pcie flr
    PCI: show dma_mask bits in /sys
    ...

    Fixed up conflicts in:
    arch/x86/kernel/amd_iommu_init.c
    drivers/pci/dmar.c
    drivers/pci/hotplug/acpiphp_glue.c

    Linus Torvalds
     

04 Dec, 2009

4 commits

  • Increases the device timeout from 10s to 5 minutes, giving the user a
    visual indication during that time in case there are problems. The patch
    is a backport of changesets 144 and 150 in the Xenbits tree.

    Cc: Jeremy Fitzhardinge
    Signed-off-by: Paolo Bonzini
    Signed-off-by: Jeremy Fitzhardinge

    Paolo Bonzini
     
  • When printing a warning about a timed-out device, print the
    current state of both ends of the device connection (i.e., backend as
    well as frontend). This backports half of changeset 146 from the
    Xenbits tree.

    Cc: Jeremy Fitzhardinge
    Signed-off-by: Paolo Bonzini
    Signed-off-by: Jeremy Fitzhardinge

    Paolo Bonzini
     
  • The logic of is_disconnected_device/exists_disconnected_device is wrong
    in that they are used to test whether a device is trying to connect (i.e.
    connecting). For this reason the patch fixes them to not consider a
    Closing or Closed device to be connecting. At the same time the patch
    also renames the functions according to what they really do; you could
    say a closed device is "disconnected" (the old name), but not "connecting"
    (the new name).

    This patch is a backport of changeset 909 from the Xenbits tree.

    Cc: Jeremy Fitzhardinge
    Signed-off-by: Paolo Bonzini
    Signed-off-by: Jeremy Fitzhardinge

    Paolo Bonzini
     
  • They don't need to be global, and may cause linker clashes.

    Signed-off-by: Jeremy Fitzhardinge
    Cc: Stable Kernel

    Jeremy Fitzhardinge
     

05 Nov, 2009

1 commit


31 Mar, 2009

3 commits


09 Jan, 2009

2 commits

  • The xenfs filesystem exports various interfaces to usermode. Initially
    this exports a file to allow usermode to interact with xenbus/xenstore.

    Traditionally this appeared in /proc/xen. Rather than extending procfs,
    this patch adds a backward-compat mountpoint on /proc/xen, and provides
    a xenfs filesystem which can be mounted there.

    Signed-off-by: Alex Zeffertt
    Signed-off-by: Jeremy Fitzhardinge
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alex Zeffertt
     
  • no argument named @xbt in xenbus_switch_state(), remove it.

    Signed-off-by: Qinghuang Feng
    Cc: Randy Dunlap
    Cc: Jeremy Fitzhardinge
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Qinghuang Feng
     

07 Jan, 2009

1 commit


20 Aug, 2008

1 commit

  • There are four operating modes Xen code may find itself running in:
    - native
    - hvm domain
    - pv dom0
    - pv domU

    Clean up predicates for testing for these states to make them more consistent.

    Signed-off-by: Jeremy Fitzhardinge
    Cc: Xen-devel
    Signed-off-by: Ingo Molnar

    Jeremy Fitzhardinge
     

15 Jul, 2008

1 commit

  • * 'x86/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (821 commits)
    x86: make 64bit hpet_set_mapping to use ioremap too, v2
    x86: get x86_phys_bits early
    x86: max_low_pfn_mapped fix #4
    x86: change _node_to_cpumask_ptr to return const ptr
    x86: I/O APIC: remove an IRQ2-mask hack
    x86: fix numaq_tsc_disable calling
    x86, e820: remove end_user_pfn
    x86: max_low_pfn_mapped fix, #3
    x86: max_low_pfn_mapped fix, #2
    x86: max_low_pfn_mapped fix, #1
    x86_64: fix delayed signals
    x86: remove conflicting nx6325 and nx6125 quirks
    x86: Recover timer_ack lost in the merge of the NMI watchdog
    x86: I/O APIC: Never configure IRQ2
    x86: L-APIC: Always fully configure IRQ0
    x86: L-APIC: Set IRQ0 as edge-triggered
    x86: merge dwarf2 headers
    x86: use AS_CFI instead of UNWIND_INFO
    x86: use ignore macro instead of hash comment
    x86: use matching CFI_ENDPROC
    ...

    Linus Torvalds
     

03 Jul, 2008

1 commit

  • Avoid allocations causing swap activity on the resume path by
    preventing the allocations from doing IO and allowing them
    to access the emergency pools.

    These paths are used when a frontend device is trying to connect
    to its backend driver over Xenbus. These reconnections are triggered
    on demand by IO, so by definition there is already IO underway,
    and further IO would naturally deadlock. On resume, this path
    is triggered when the running system tries to continue using its
    devices. If it cannot then the resume will fail; to try to avoid this
    we let it dip into the emergency pools.

    [ linux-2.6.18-xen changesets e8b49cfbdac, fdb998e79aba ]

    Signed-off-by: Ian Campbell
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Jens Axboe

    Ian Campbell
     

27 May, 2008

1 commit

  • When restoring, rebind the existing xenbus irq to the new xenbus event
    channel. (It turns out in practice that this is always the same, and
    is never updated on restore. That's a bug, but Xeno-linux has been
    like this for a long time, so it can't really be fixed.)

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Thomas Gleixner

    Jeremy Fitzhardinge
     

25 Apr, 2008

3 commits

  • Add module aliases to support autoprobing modules
    for xen frontend devices.

    Signed-off-by: Mark McLoughlin
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Mark McLoughlin
     
  • When the xen block frontend driver is built as a module the module load
    is only synchronous up to the point where the frontend and the backend
    become connected rather than when the disk is added.

    This means that there can be a race on boot between loading the module and
    loading the dm-* modules and doing the scan for LVM physical volumes (all
    in the initrd). In the failure case the disk is not present until after the
    scan for physical volumes is complete.

    Taken from:

    http://xenbits.xensource.com/linux-2.6.18-xen.hg?rev/11483a00c017

    Signed-off-by: Christian Limpach
    Signed-off-by: Mark McLoughlin
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Christian Limpach
     
  • Don't use alloc_vm_area()/free_vm_area() directly, instead define
    xen_alloc_vm_area()/xen_free_vm_area() and use them.

    alloc_vm_area()/free_vm_area() are used to allocate/free area which
    are for grant table mapping. Xen/x86 grant table is based on virtual
    address so that alloc_vm_area()/free_vm_area() are suitable.
    On the other hand Xen/ia64 (and Xen/powerpc) grant table is based on
    pseudo physical address (guest physical address) so that allocation
    should be done differently.
    The original version of xenified Linux/IA64 have its own
    allocate_vm_area()/free_vm_area() definitions which don't allocate vm area
    contradictory to those names.
    Now vanilla Linux already has its definitions so that it's impossible
    to have IA64 definitions of allocate_vm_area()/free_vm_area().
    Instead introduce xen_allocate_vm_area()/xen_free_vm_area() and use them.

    Signed-off-by: Isaku Yamahata
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Isaku Yamahata
     

19 Oct, 2007

1 commit

  • Found these while looking at printk uses.

    Add missing newlines to dev_ uses
    Add missing KERN_ prefixes to multiline dev_s
    Fixed a wierd->weird spelling typo
    Added a newline to a printk

    Signed-off-by: Joe Perches
    Cc: "Luck, Tony"
    Cc: Jens Axboe
    Cc: Mark M. Hoffman
    Cc: Roland Dreier
    Cc: Tilman Schmidt
    Cc: David Woodhouse
    Cc: Jeff Garzik
    Cc: Stephen Hemminger
    Cc: Greg KH
    Cc: Jeremy Fitzhardinge
    Cc: Geert Uytterhoeven
    Cc: Alessandro Zummo
    Cc: David Brownell
    Cc: James Smart
    Cc: Andrew Vasquez
    Cc: "Antonino A. Daplas"
    Cc: Evgeniy Polyakov
    Cc: Russell King
    Cc: Jaroslav Kysela
    Cc: Takashi Iwai
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Joe Perches
     

27 Jul, 2007

1 commit


18 Jul, 2007

1 commit

  • This communicates with the machine control software via a registry
    residing in a controlling virtual machine. This allows dynamic
    creation, destruction and modification of virtual device
    configurations (network devices, block devices and CPUS, to name some
    examples).

    [ Greg, would you mind giving this a review? Thanks -J ]

    Signed-off-by: Ian Pratt
    Signed-off-by: Christian Limpach
    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Chris Wright
    Cc: Greg KH

    Jeremy Fitzhardinge