16 Mar, 2009

1 commit

  • CC drivers/parisc/sba_iommu.o
    drivers/parisc/sba_iommu.c:1373: error: expected identifier or '('
    before '}' token
    make[2]: *** [drivers/parisc/sba_iommu.o] Error 1
    make[1]: *** [drivers/parisc] Error 2
    make: *** [drivers] Error 2

    Don't know how this has gone missed for so long... clearly I need
    to do builds on my C8000 more often.

    Signed-off-by: Kyle McMartin
    Signed-off-by: Linus Torvalds

    Kyle McMartin
     

13 Mar, 2009

1 commit

  • commit 11c3b5c3e08f4d855cbef52883c266b9ab9df879
    Author: Greg Kroah-Hartman
    Date: Tue Dec 16 12:24:56 2008 -0800

    driver core: move klist_children into private structure

    Broke our parisc build pretty badly because we touch the klists directly
    in three cases (AGP, SBA and GSC). Although GregKH will revert this
    patch, there's no reason we should be using the iterators directly, we
    can just move to the standard device_for_each_child() API.

    Signed-off-by: James Bottomley
    Tested-by: Helge Deller
    Tested-by: Kyle McMartin
    Signed-off-by: Kyle McMartin

    James Bottomley
     

30 Jan, 2009

1 commit

  • Move DMA-mapping.txt to Documentation/PCI/.

    DMA-mapping.txt was supposed to be moved from Documentation/ to
    Documentation/PCI/. The 00-INDEX files in those two directories
    were updated, along with a few other text files, but the file
    itself somehow escaped being moved, so move it and update more
    text files and source files with its new location.

    Signed-off-by: Randy Dunlap
    Acked-by: Greg Kroah-Hartman
    cc: Jesse Barnes
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

06 Jan, 2009

2 commits

  • The block layer dropped the virtual merge feature
    (b8b3e16cfe6435d961f6aaebcfd52a1ff2a988c5). BIO_VMERGE_BOUNDARY and
    BIO_VMERGE_MAX_SIZE definitions are meaningless now.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Grant Grundler
    Signed-off-by: Kyle McMartin

    FUJITA Tomonori
     
  • 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


29 Apr, 2008

1 commit


16 Mar, 2008

1 commit


06 Mar, 2008

1 commit


05 Mar, 2008

2 commits

  • Make PARISC's two IOMMU implementations not allocate a memory area spanning
    LLD's segment boundary.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: FUJITA Tomonori
    Cc: Kyle McMartin
    Cc: Matthew Wilcox
    Cc: Grant Grundler
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • This adds struct device argument to sba_alloc_range and ccio_alloc_range, a
    preparation for modifications to fix the IOMMU segment boundary problem. This
    change enables ccio_alloc_range to access to LLD's segment boundary limits.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: FUJITA Tomonori
    Cc: Kyle McMartin
    Cc: Matthew Wilcox
    Cc: Grant Grundler
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     

06 Feb, 2008

1 commit


23 Oct, 2007

1 commit

  • arch/parisc/kernel/pci-dma.c: In function 'pa11_dma_map_sg':
    arch/parisc/kernel/pci-dma.c:487: error: 'struct scatterlist' has no member named 'page'
    arch/parisc/kernel/pci-dma.c: In function 'pa11_dma_unmap_sg':
    arch/parisc/kernel/pci-dma.c:508: error: 'struct scatterlist' has no member named 'page'
    arch/parisc/kernel/pci-dma.c:508: error: 'struct scatterlist' has no member named 'page'
    arch/parisc/kernel/pci-dma.c: In function 'pa11_dma_sync_sg_for_cpu':
    arch/parisc/kernel/pci-dma.c:535: error: 'struct scatterlist' has no member named 'page'
    arch/parisc/kernel/pci-dma.c:535: error: 'struct scatterlist' has no member named 'page'
    arch/parisc/kernel/pci-dma.c: In function 'pa11_dma_sync_sg_for_device':
    arch/parisc/kernel/pci-dma.c:545: error: 'struct scatterlist' has no member named 'page'
    arch/parisc/kernel/pci-dma.c:545: error: 'struct scatterlist' has no member named 'page'

    Signed-off-by: FUJITA Tomonori
    Signed-off-by: Jens Axboe

    FUJITA Tomonori
     

18 Oct, 2007

1 commit


23 May, 2007

1 commit


27 Feb, 2007

1 commit

  • * master.kernel.org:/pub/scm/linux/kernel/git/kyle/parisc-2.6: (78 commits)
    [PARISC] Use symbolic last syscall in __NR_Linux_syscalls
    [PARISC] Add missing statfs64 and fstatfs64 syscalls
    Revert "[PARISC] Optimize TLB flush on SMP systems"
    [PARISC] Compat signal fixes for 64-bit parisc
    [PARISC] Reorder syscalls to match unistd.h
    Revert "[PATCH] make kernel/signal.c:kill_proc_info() static"
    [PARISC] fix sys_rt_sigqueueinfo
    [PARISC] fix section mismatch warnings in harmony sound driver
    [PARISC] do not export get_register/set_register
    [PARISC] add ENTRY()/ENDPROC() and simplify assembly of HP/UX emulation code
    [PARISC] convert to use CONFIG_64BIT instead of __LP64__
    [PARISC] use CONFIG_64BIT instead of __LP64__
    [PARISC] add ASM_EXCEPTIONTABLE_ENTRY() macro
    [PARISC] more ENTRY(), ENDPROC(), END() conversions
    [PARISC] fix ENTRY() and ENDPROC() for 64bit-parisc
    [PARISC] Fixes /proc/cpuinfo cache output on B160L
    [PARISC] implement standard ENTRY(), END() and ENDPROC()
    [PARISC] kill ENTRY_SYS_CPUS
    [PARISC] clean up debugging printks in smp.c
    [PARISC] factor syscall_restart code out of do_signal
    ...

    Fix conflict in include/linux/sched.h due to kill_proc_info() being made
    publicly available to PARISC again.

    Linus Torvalds
     

13 Feb, 2007

1 commit

  • Many struct file_operations in the kernel can be "const". Marking them const
    moves these to the .rodata section, which avoids false sharing with potential
    dirty data. In addition it'll catch accidental writes at compile time to
    these shared resources.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     

09 Feb, 2007

1 commit


08 Dec, 2006

1 commit


05 Oct, 2006

1 commit


04 Oct, 2006

6 commits


01 Jul, 2006

1 commit


28 Jun, 2006

2 commits


22 Apr, 2006

1 commit

  • This means "DMA Read returns" can bypass "MMIO Writes".
    Violating the PCI specs in this case improves outbound DMA "flows"
    and is currently not required by any drivers.

    This is NOT a new behavior. Previous chipsets did this
    already and I believe ZX1 PDC was already setting this
    for hpux. I just want to further document the behavior.

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

    Grant Grundler
     

31 Mar, 2006

1 commit


25 Mar, 2006

1 commit


09 Feb, 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
     

29 Oct, 2005

1 commit


28 Oct, 2005

1 commit


22 Oct, 2005

3 commits

  • revert use of %%sr0 in fdc asm.
    Thanks to Joel Soete for pointing out this oversight.

    Signed-off-by: Grant Grundler

    2.6.14-rc2-pa3 move "sync" outside the main loop that fills IO Pdir.

    Signed-off-by: Grant Grundler

    remove explicit use of sr0 in fdc ops.
    Thanks to Joel Soete for reminding me were I added those...

    Signed-off-by: Grant Grundler

    2.6.14-rc2-pa2 - make SBA more anal about invalidating pdir entries

    Previous code cleared the valid flag a pdir entry but it did NOT
    guarantee this change was visible to the PDIR before writing
    the PCOM register. Ie the SBA could pick up a stale entry if
    the write happened to hit the SBA before the cacheline was flushed
    from the cache.

    Long term, I think I want to make this a compile time flag.
    Developement tree should enable anal pdir checking by default
    and Debian can disable it with either a CONFIG option
    or one-line patch. fdc/sync options can only negatively affect
    performance though I haven't measure how much yet.
    If someone can run netperf TCP_RR across gige and compare
    -pa1 and -pa2, that would be sufficient.

    Cleaned up the use of "fdc" to make sure it's using "kernel"
    space id (specify sr0 but maps to sr4-7). It seems a bit fragile
    to assume "sr1" gets loaded with KERNEL_SPACE which is how the
    code works today.

    Tested on 32 and 64-bit SMP kernels on j6k.

    Signed-off-by: Grant Grundler

    remove PDC_NARROW from SBA and document history of PDC_NARROW a bit.
    It will still show up in an older kernel's .config file.

    Signed-off-by: Grant Grundler

    if/ifdef cleanups from Joel Soete.

    Signed-off-by: Grant Grundler

    2.6.12-rc4-pa2 fix 32-bit support for Astro platforms
    o Since my last SBA code change, SBA could allocate more than 1GB of IOVA
    space on Astro boxes with more than 1GB of RAM when running 32-bit kernel.
    This is bad since IOMMU can only talk to the first 1GB at most.
    Kudos to jejb for quickly spotting that bug.

    o jejb also noted SBA should *always* reject DMA masks > 32-bits since
    DMA-mapping.txt indicates caller should try again with 32-bits.

    o off-by-one error when comparing the mask to IOVA space size.

    Signed-off-by: Grant Grundler

    Signed-off-by: Kyle McMartin

    Grant Grundler
     
  • Convert pa_dev->hpa from an unsigned long to a struct resource.

    Signed-off-by: Matthew Wilcox

    Fix up users of ->hpa to use ->hpa.start instead.

    Signed-off-by: Matthew Wilcox

    Signed-off-by: Kyle McMartin

    Matthew Wilcox
     
  • Fix parse_tree_node. much more needs to be done to fix this file.

    Signed-off-by: Matthew Wilcox

    Make drivers.c compile based on a patch from Pat Mochel.

    From: Patrick Mochel
    Signed-off-by: Kyle McMartin

    Fix drivers.c to create new device tree nodes when no match is found.

    Signed-off-by: Richard Hirst

    Do a proper depth-first search returning parents before children, using the
    new klist infrastructure.

    Signed-off-by: Richard Hirst

    Fixed parisc_device traversal so that pdc_stable works again
    Fixed check_dev so it doesn't dereference a parisc_device until it
    has verified the bus type

    Signed-off-by: Randolph Chung

    Convert pa_dev->hpa from an unsigned long to a struct resource.
    Use insert_resource() instead of request_mem_region().
    Request resources at bus walk time instead of driver probe time.
    Don't release the resources as we don't have any hotplug parisc_device
    support yet.
    Add parisc_pathname() to conveniently get the textual representation
    of the hwpath used in sysfs.
    Inline the remnants of claim_device() into its caller.

    Signed-off-by: Matthew Wilcox

    I noticed that some of the STI regions weren't showing up in iomem.
    Reading the STI spec indicated that all STI devices occupy at least 32MB.
    So check for STI HPAs and give them 32MB instead of 4kB.

    Signed-off-by: Matthew Wilcox

    Signed-off-by: Kyle McMartin

    Matthew Wilcox
     

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