Home | History | Annotate | Download | only in xscale
History log of /src/sys/arch/arm/xscale/i80321_pci.c
RevisionDateAuthorComments
 1.19  27-Sep-2022  skrll Remove unnecessary sys/malloc.h include
 1.18  07-Jul-2020  thorpej Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.17  14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.16  02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.15  18-Aug-2013  matt branches: 1.15.6;
<arm/locore.h> fallout (fixes some include ordering errors)
 1.14  14-Oct-2012  msaitoh branches: 1.14.2;
struct device * -> device_t for IXP4xx (and nslu2).
Tested with my NSLU2.
 1.13  07-Sep-2012  matt branches: 1.13.2;
Fix more pci_conf_interrupt/pci_conf_hook problems
 1.12  12-Feb-2012  matt Change old-stlye-defintions to C89 prototypes.
Switch to CFATTACH_DECL_NEW/device_t/cfdata_t
Defer attaching interrupt evcnts.

Approved by releng.
 1.11  27-Jan-2012  para converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged
 1.10  01-Jul-2011  dyoung branches: 1.10.2; 1.10.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.9  17-Oct-2007  garbled Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.8  12-May-2007  gavan branches: 1.8.10; 1.8.12;
Implement ATU Direct Window in order to increase available PCI address
space.
 1.7  15-Dec-2005  briggs branches: 1.7.26; 1.7.30; 1.7.32; 1.7.38;
Add an offset to the I/O port translations. This allows IQ80321
and others to avoid providing PCI I/O space at address 0.
Iyonix, however, needs to provide PCI I/O space at 0.
The others require I/O space to be offset in part due to a bug
work-around in wm(4) which requires that I/O space access be used
to reset the controllers. If I/O space is mapped at zero, the card
claims, but ignores, the transactions, and the controller doesn't
get reset properly and can't then be used.
 1.6  11-Dec-2005  christos merge ktrace-lwp.
 1.5  09-Dec-2004  briggs branches: 1.5.10;
Start I/O range at base+0x1000 to avoid 0.
 1.4  15-Jul-2003  lukem branches: 1.4.6;
__KERNEL_RCSID()
 1.3  30-Jun-2003  thorpej branches: 1.3.2;
PCI-X requires that that devices updated their PCIXSR on every
config write with the device number specified in AD[15:11]. If
we don't set this field when issuing a Type 0 cycle, each device
could end of thinking it is at device 0, which can cause a number
of problems. Doing this unconditionally should be OK when only
PCI devices are present.
 1.2  29-Apr-2003  thorpej Use aprint*().
 1.1  27-Mar-2002  thorpej branches: 1.1.2; 1.1.8;
Basic support for the Intel i80321 I/O Processor (Xscale core).

Note: This is a snapshot of work-in-progress; there are still some
bugs to be shaken out.
 1.1.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1  27-Mar-2002  jdolecek file i80321_pci.c was added on branch kqueue on 2002-06-23 17:34:58 +0000
 1.1.2.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1  27-Mar-2002  nathanw file i80321_pci.c was added on branch nathanw_sa on 2002-04-01 07:39:16 +0000
 1.3.2.4  18-Dec-2004  skrll Sync with HEAD.
 1.3.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.3.2.1  03-Aug-2004  skrll Sync with HEAD
 1.4.6.1  16-Apr-2005  tron Pull up revision 1.5 (requested by briggs in ticket #1092):
Start I/O range at base+0x1000 to avoid 0.
 1.5.10.2  03-Sep-2007  yamt sync with head.
 1.5.10.1  21-Jun-2006  yamt sync with head.
 1.7.38.1  22-May-2007  matt Update to HEAD.
 1.7.32.1  11-Jul-2007  mjf Sync with head.
 1.7.30.1  27-May-2007  ad Sync with head.
 1.7.26.1  17-May-2007  yamt sync with head.
 1.8.12.1  06-Nov-2007  matt sync with HEAD
 1.8.10.1  01-Jan-2008  chris Sync with HEAD.
 1.10.6.1  18-Feb-2012  mrg merge to -current.
 1.10.2.3  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.2.2  30-Oct-2012  yamt sync with head
 1.10.2.1  17-Apr-2012  yamt sync with head
 1.13.2.3  03-Dec-2017  jdolecek update from HEAD
 1.13.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.13.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.14.2.1  28-Aug-2013  rmind sync with head
 1.15.6.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)

RSS XML Feed