07 Jan, 2012

3 commits


02 Aug, 2009

1 commit

  • This patche fixes a spelling error that has resulted from copy and pasting.
    The location of the error was found using a semantic patch but the semantic
    patch was not trying to find these errors. After looking things over it
    seemed logical that this change was needed.

    Signed-off-by: Stoyan Gaydarov
    Signed-off-by: Helge Deller

    Stoyan Gaydarov
     

03 Jul, 2009

2 commits

  • gcc 4.4 warns about:
    drivers/parisc/lba_pci.c: In function 'lba_pat_resources':
    drivers/parisc/lba_pci.c:1099: warning: the frame size of 8280 bytes is larger than 4096 bytes

    The problem is we declare two large structures on the stack. They don't need
    to be on the stack since they are only used during LBA initialization (which
    is serialized). Moving to be "static".

    Signed-off-by: Grant Grundler
    Signed-off-by: Kyle McMartin

    Grant Grundler
     
  • Alex Chiang asked me why PARISC was calling pci_bus_add_devices()
    and pci_bus_assign_resources() in the opposite order from everyone else.
    No reason and I couldn't see any data dependency.
    Patch below applies cleanly to 2.6.30-rc2.

    Later, I suspected the code worked only because no drivers would be
    loaded/ready until much later in the system initialization sequence.

    Tested "LBA" code on J6000 (32-bit) and A500 (64-bit SMP) with 2.6.30-rc2.
    Not tested with any Dino controllers.
    Not tested with PCI-PCI Bridge (TBD).

    Reported-by: Alex Chiang
    Signed-off-by: Grant Grundler
    Signed-off-by: Kyle McMartin

    Grant Grundler
     

13 Mar, 2009

1 commit

  • Kenji Kaneshige posted a patch series
    to linux-pci to fix a wrong assumption about pci_bus->self==NULL for
    all PCI host bus controllers. While PARISC platforms to not behave
    this way, I prefer to have the code consistent across architectures.
    The following patch replaces pci_bus->self with pci_bus->parent when
    used as a test to check for "root bus controller".

    Signed-off-by: Grant Grundler
    Signed-off-by: Kyle McMartin

    Grant Grundler
     

06 Jan, 2009

1 commit

  • Make the following needlessly global code static:

    - asp.c: asp_init_chip()
    - ccio-dma.c: ccio_io_pdir_entry()
    - dino.c: struct dino_port_ops
    - dino.c: struct dino_bios_ops
    - hppb.c: struct hppb_card_head
    - lasi.c: lasi_led_init()
    - lasi.c: lasi_init_chip()
    - lba_pci.c: struct lba_bios_ops
    - sba_iommu.c: sba_io_pdir_entry()
    - sba_iommu.c: sba_driver_callback()
    - sba_iommu.c: sba_driver_callback()
    - wax.c: wax_init_chip()

    Signed-off-by: Adrian Bunk
    Cc: Matthew Wilcox
    Cc: Grant Grundler
    Signed-off-by: Andrew Morton
    Signed-off-by: Kyle McMartin

    Adrian Bunk
     

15 May, 2008

1 commit


07 Dec, 2007

1 commit

  • radeonfb was HPMC-ing my C8000 by trying to map its expansion rom from
    IO_VIEW, instead of PA_VIEW. Fix seems to be to ensure that its disabled
    ROM is properly inserted into the resource tree.

    FIXME: this will result in a whinging printk for cards which share expansion
    ROMS, such as a quad tulip. Thankfully, it isn't harmful.

    Signed-off-by: Kyle McMartin

    Kyle McMartin
     

19 Oct, 2007

1 commit

  • pcibios_link_hba_resources() could corrupt the resource tree by inserting
    resources in the wrong place. Fix this by calling pci_claim_resource()
    for PCI-PCI bridges. Delete pcibios_link_hba_resources as we shouldn't
    need it any more. Also get rid of lba_claim_dev_resources() and just
    call pci_claim_resource() directly.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Kyle McMartin

    Matthew Wilcox
     

09 May, 2007

1 commit


17 Feb, 2007

1 commit


08 Dec, 2006

2 commits


04 Oct, 2006

4 commits


31 Mar, 2006

1 commit


23 Jan, 2006

1 commit

  • Helge,
    o Convert a bunch of kmalloc/memset uses to kzalloc.
    o pci.c: Add some __read_mostly annotations.
    o pci.c: Move constant pci_post_reset_delay to asm/pci.h
    o grfioctl.h: Add A4450A to comment of CRT_ID_VISUALIZE_EG.
    o Add some consts to perf.c/perf_images.h

    Matthew,
    o sticore.c: Add some consts to suppress compile warnings.

    Signed-off-by: Helge Deller
    Signed-off-by: Matthew Wilcox
    Signed-off-by: Kyle McMartin

    Helge Deller
     

11 Jan, 2006

2 commits

  • Deal with overlapping LBA MMIO resources,

    rp3440 PDC BUG: PDC reports lmmio range for the last rope that overlaps
    with the CPU HPA. Console output was:

    ...
    Found devices:
    1. Storm Peak Fast at 0xfffffffffe798000 [152] { 0, 0x0, 0x889, 0x00004 }
    2. Storm Peak Fast at 0xfffffffffe799000 [153] { 0, 0x0, 0x889, 0x00004 }
    ...
    FAILED: lba_fixup_bus() request for lmmio_space
    [fffffffff0000000/fffffffffecffffe]

    Output is now:

    LBA: Truncating lmmio_space [fffffffff0000000/fffffffffecffffe] to
    [fffffffff0000000,fffffffffe797fff]

    My only concern with this patch is how C8000 (PAT PDC) will report
    elmmio ranges when a gfx card is installed. I'll have to test this
    another day.

    Signed-off-by: Grant Grundler
    Signed-off-by: James Bottomley
    Signed-off-by: Matthew Wilcox
    Signed-off-by: Kyle McMartin

    Grant Grundler
     
  • Flag a whole bunch of things as __read_mostly on parisc. Also flag a few
    branches as unlikely() and cleanup a bit of code.

    Signed-off-by: Helge Deller
    Signed-off-by: Kyle McMartin

    Helge Deller
     

22 Oct, 2005

1 commit


28 Jun, 2005

1 commit

  • When you hot-plug a (root) bridge hierarchy, it may have p2p bridges and
    devices attached to it that have not been configured by firmware. In this
    case, we need to configure the devices before starting them. This patch
    separates device start from device scan so that we can introduce the
    configuration step in the middle.

    I kept the existing semantics for pci_scan_bus() since there are a huge number
    of callers to that function.

    Also, I have no way of testing the changes I made to the parisc files, so this
    needs review by those folks. Sorry for the massive cross-post, this touches
    files in many different places.

    Signed-off-by: Rajesh Shah
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Rajesh Shah
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds