CVS log for src/sys/arch/ofppc/pci/ofwpci.c
Up to [cvs.NetBSD.org] / src / sys / arch / ofppc / pci
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:01 2021 UTC (3 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -4
lines
Merge thorpej-cfargs2.
Revision 1.20.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 02:49:39 2021 UTC (3 years, 5 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +3 -4
lines
Adapt to CFARGS().
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Mon May 31 22:15:15 2021 UTC (3 years, 7 months ago) by cjep
Branches: cjep_staticlib_x
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +5 -3
lines
sync with head
Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:26 2021 UTC (3 years, 8 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +5 -3
lines
Sync with HEAD.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed May 12 04:07:34 2021 UTC (3 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf-base,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1
Branch point for: thorpej-cfargs2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +5 -3
lines
Pass along our device handle to the PCI bus instance we attach.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:36:45 2021 UTC (3 years, 8 months ago) by thorpej
Branches: MAIN
CVS tags: cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf,
cjep_staticlib_x
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3
lines
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Tue Mar 23 07:14:50 2021 UTC (3 years, 10 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +3 -3
lines
Convert config_found_ia() call sites where the device only carries
a single interface attribute to bare config_found() calls.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:37:59 2020 UTC (4 years, 1 month ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -5
lines
Sync w/ HEAD.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Nov 21 17:48:26 2020 UTC (4 years, 2 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -5
lines
malloc(9) -> kmem(9)
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jul 7 03:38:47 2020 UTC (4 years, 6 months ago) by thorpej
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +13 -14
lines
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.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jun 14 01:40:04 2020 UTC (4 years, 7 months ago) by chs
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -4
lines
replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
Revision 1.14.16.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:03 2020 UTC (4 years, 9 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +3 -4
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Nov 10 21:16:31 2019 UTC (5 years, 2 months ago) by chs
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -4
lines
in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
Revision 1.11.6.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:34 2017 UTC (7 years, 1 month ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.11.6.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.6.1: +12 -2
lines
update from HEAD
Revision 1.12.10.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:18 2017 UTC (7 years, 10 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.12.10.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.10.1: +3 -4
lines
Sync with HEAD
Revision 1.12.6.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:17 2017 UTC (7 years, 11 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12.6.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.6.1: +3 -4
lines
Sync with HEAD
Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Jan 11 18:19:29 2017 UTC (8 years ago) by christos
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20190609,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
isaki-audio2-base,
isaki-audio2,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -4
lines
PR/51827: David Binderman: delete pointless local variable
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 5 10:54:56 2016 UTC (8 years, 1 month ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -2
lines
Sync with HEAD
Revision 1.12.10.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:49:03 2016 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -2
lines
Sync with HEAD
Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Oct 19 00:08:41 2016 UTC (8 years, 3 months ago) by nonaka
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20161204
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +13 -2
lines
Added MSI/MSI-X and interrupt_distribute(9) support for powerpc.
Revision 1.11.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:17 2014 UTC (10 years, 5 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
Rebase to HEAD as of a few days ago.
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:02 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +4 -4
lines
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")
Revision 1.11.10.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:20 2014 UTC (10 years, 8 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +4 -4
lines
sync with head
Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Feb 28 05:50:27 2014 UTC (10 years, 10 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
rmind-smpnet-nbase,
rmind-smpnet-base,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
nick-nhusb-base-20161004,
nick-nhusb-base-20160907,
nick-nhusb-base-20160529,
nick-nhusb-base-20160422,
nick-nhusb-base-20160319,
nick-nhusb-base-20151226,
nick-nhusb-base-20150921,
nick-nhusb-base-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
localcount-20160914
Branch point for: pgoyette-localcount,
nick-nhusb
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -4
lines
Use PRIxPTR
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:45 2012 UTC (12 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4
lines
sync with head
Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:51 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10: +4 -4
lines
merge to -current.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 27 18:52:59 2012 UTC (12 years, 11 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
khorben-n900,
jmcneill-usbmp-base9,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2,
jmcneill-usbmp-base10,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys,
rmind-smpnet
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4
lines
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch
releng@ acknowledged
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:26 2011 UTC (13 years, 7 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +11 -9
lines
Catchup with rmind-uvmplock merge.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 18 08:08:29 2011 UTC (13 years, 7 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +11 -9
lines
struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
Revision 1.8.28.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:22 2011 UTC (13 years, 7 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
Sync with HEAD.
Revision 1.8.22.1: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:13 2011 UTC (13 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3
lines
sync with head
Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue May 17 17:34:51 2011 UTC (13 years, 8 months ago) by dyoung
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base,
cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3
lines
PCI_FLAGS_IO_ENABLED and PCI_FLAGS_MEM_ENABLED changed their functional
role in NetBSD (drivers are no longer supposed to write these to
pa_flags) without changing name. Correct that.
Rename PCI_FLAGS_IO_ENABLED to PCI_FLAGS_IO_OKAY and
PCI_FLAGS_MEM_ENABLED to PCI_FLAGS_MEM_OKAY, thus making their names
consistent with the other PCI flags and poisoning 3rd-party driver
sources that use the flags in the old bad way.
This patch produces no binary changes in this set of PCI kernels when
they are compiled w/o 'options DIAGNOSTIC' and w/ -V MKREPRO=yes:
algor P4032 P5064 P6032
alpha GENERIC
amd64 GENERIC XEN3_DOM0
arc GENERIC
atari HADES MILAN-PCIIDE
bebox GENERIC
cats GENERIC
cobalt GENERIC
evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE
evbarm-el GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321
evbarm-el IXDP425 IXM1200 KUROBOX_PRO
evbarm-el LUBBOCK MARVELL_NAS NAPPI NSLU2 SHEEVAPLUG SMDK2800 TEAMASA_NPWR
evbarm-el TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425
evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3
evbmips64-el XLSATX
evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266
evbppc OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT
hp700 GENERIC
i386 ALL XEN3_DOM0 XEN3_DOMU
ibmnws GENERIC
iyonix GENERIC
landisk GENERIC
macppc GENERIC
mvmeppc GENERIC
netwinder GENERIC
ofppc GENERIC
prep GENERIC
sandpoint GENERIC
sbmips-el GENERIC
sgimips GENERIC32_IP2x GENERIC32_IP3x
sparc GENERIC_SUN4U KRUPS
sparc64 GENERIC
Revision 1.6.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:30 2008 UTC (16 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -12
lines
Sync with HEAD.
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:34 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +2 -9
lines
sync with head.
Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:58 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +2 -9
lines
sync with head.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:31 2008 UTC (16 years, 8 months ago) by martin
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-nfs-mp-base9,
yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
wrstuden-revivesa,
uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1,
uebayasi-xip-base,
uebayasi-xip,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-premerge-20101231,
matt-mips64-base2,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
ad-audiomp2-base,
ad-audiomp2
Branch point for: rmind-uvmplock,
jruoho-x86intr
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -9
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Apr 8 02:33:03 2008 UTC (16 years, 9 months ago) by garbled
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -5
lines
SMP support for ofppc. (finally) Much thanks to Matt Thomas for help in
figuring out all the crazy nuances of getting this working, and to
Michael Lorenz for testing/fixing my changes on macppc. Tested with a
quad-proc 7044-270.
Summary of changes:
Bumped CPU_MAXNUM to 16 on ofppc.
Added md_* routines to ofppc/cpu.c, to sync the timebase, and awaken the CPUs.
Fixed a bug in the test for a 64bit bridge cpu early in locore.S
Added code to set the interrupt priority for all CPUs with an openpic.
Change rtas to probe before cpus, to allow use of the rtas freeze/thaw
timebase code routines.
Fix CPU_INFO_FOREACH macro to iterate through detected cpus, not CPU_MAXNUM.
Change most uses of ci_cpuid to ci_index, to deal with CPUs that do not allow
writing to SPR_PIR. Don't write SPR_PIR unless the secondary cpu identifies
itself as 0.
Change the hatchstack/interrupt stack allocations to allocate a 8192byte
interrupt stack, and a 4096 byte hatch stack, align them to 16 bytes, and
allocate them no lower than 0x10000. Allocate them separately to prevent the
hatch stack corrupting the interrupt stack later on.
If the CPU is a 64bit cpu, copy SPR_ASR in cpu_hatch()
Set the idle stack to ci->ci_data.cpu_idlelwp->l_addr->u_pcb.pcb_sp.
Add OF_start_cpu(). Add a routine to ofwoea_initppc to spin up secondary
procs early, and place them into a spinloop waiting for the hatch routines
to be ready.
Modify the ipi routines to deal with openpics that reverse byte order on read
from an ipi register. (such as on the 7044)
Change the rtas setup to allocate the rtas physical base address above
the kernel, to avoid mucking up the hatch/interrupt stacks.
Revision 1.4.6.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:15 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.4.6.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.2: +66 -19
lines
sync with HEAD
Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:36:23 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.3: +9 -6
lines
sync with head.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:53 2008 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +66 -19
lines
Sync with HEAD.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Feb 11 17:32:18 2008 UTC (16 years, 11 months ago) by garbled
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -6
lines
Use model_init to clean up how we decide the ranges for
PCI_NETBSD_CONFIGURE. Add some code to hopefully better handle the
firepower and powerstackII, based on the OFW dumps from those machines.
Untested on those machines, but doesn't break anything on pegasos/7044.
Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:37:54 2008 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +63 -19
lines
sync with head
Revision 1.4.12.1: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:14:40 2008 UTC (17 years ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +63 -19
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Jan 17 23:42:58 2008 UTC (17 years ago) by garbled
Branches: MAIN
CVS tags: bouyer-xeni386-nbase,
bouyer-xeni386-base
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +63 -19
lines
Add support to ofppc for the IBM 7044-270 machine. This is a POWER3-II
based machine. Currently the kernel to run on this machine is
incompatible with the standard GENERIC kernel, so for now, we have a
separate GENERIC_B64. Eventually, I hope to combine the two.
Please note, this is a port of 32bit ofppc, not a powerpc64 port.
Thanks to Matt Thomas and Kevin Bowling for helping to make this port
possible.
Summary of changes:
Change ofwpci to use the ofmethod config for configuring the PCI bus,
rather than indirect configuration.
Move the wiring of the interrupt controllers from at the start of the
boot, into the configuration of the first PCI bus.
Rewrite the map_isa_ioregs() hack to work on a machine without BATs
Fix a ton of bugs in the genofw_find_pics routine, and in the map_space code.
Split the pic_openpic into openpic_common and pic_openpic.
Create a new pic_distopenpic driver, for the distributed openpic found on
some newer IBM machines.
Fix a bad panic in pmap_extract on 64bit bridge mode
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:38:08 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +4 -4
lines
Sync with HEAD.
Revision 1.1.10.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 15:59:00 2007 UTC (17 years, 2 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.1.10.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.10.1: +2 -2
lines
Sync with HEAD
Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:20:05 2007 UTC (17 years, 2 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.6.1: +186 -0
lines
sync with HEAD
Revision 1.1.6.2: download - view: text, markup, annotated - select for diffs
Sun Oct 28 20:10:45 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.6.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.6.1: +4 -4
lines
Sync with HEAD.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:27:31 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +186 -0
lines
sync with head.
Revision 1.1.6.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:05 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +186 -0
lines
Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
Revision 1.4.6.1
Fri Oct 26 00:34:53 2007 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
FILE REMOVED
Changes since revision 1.4: +0 -186
lines
file ofwpci.c was added on branch matt-armv6 on 2007-11-06 23:20:04 +0000
Revision 1.4.2.1
Fri Oct 26 00:34:53 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.4: +0 -186
lines
file ofwpci.c was added on branch yamt-lazymbuf on 2007-10-27 11:27:31 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 26 00:34:53 2007 UTC (17 years, 3 months ago) by garbled
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base3,
vmlocking2-base2,
vmlocking2-base1,
vmlocking2,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
matt-armv6-base,
jmcneill-pm-base,
jmcneill-base,
cube-autoconf-base,
cube-autoconf,
bouyer-xeni386-merge1,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: yamt-lazymbuf,
mjf-devfs,
matt-armv6,
bouyer-xeni386
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Add code to properly detect the interrupt mapping on the PegasosII, and any
other OFW machine that fails our first two methods.
Revision 1.1.10.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:36:16 2007 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +186 -0
lines
Sync with HEAD.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Oct 25 16:55:50 2007 UTC (17 years, 3 months ago) by garbled
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3
lines
Add a bunch of fixes and minor rewrites to ofppc to bring it closer to
working properly. This is still a work in progress, and all work so far
has been based on the PegasosII machne.
1) Rewrite how the ISA memory and IO space maps are found. More work
will still need to be done in this area.
2) Add a new OFW method of pci configuration. So far I can only get this
to work on the primary PCI bus on the Pegasos. Unsure if this is a
pegasos bug or a code bug.
3) Add the rtas device to ofppc, and add an "rtas_reboot" function to
rtas to allow me to reboot the PegasosII. The rtas driver works, and is
a great start but needs to be changed slightly to allow easier access to
the functions from outside the driver.
4) Fix a number of bugs that existed in the shared PCI code for ofw that
probably weren't tickled by macppc.
There is much much more left to do here, this is all still a work in
progress, but this commit will allow other people to play around with the
code if they want to.
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:36:01 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +186 -0
lines
Sync with head.
Revision 1.1.8.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:32:24 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +186 -0
lines
sync with head.
Revision 1.2.2.1
Wed Oct 17 19:56:12 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
FILE REMOVED
Changes since revision 1.2: +0 -186
lines
file ofwpci.c was added on branch vmlocking on 2007-10-23 20:36:01 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:56:12 2007 UTC (17 years, 3 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Branch point for: vmlocking
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +186 -0
lines
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.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 18:49:49 2007 UTC (17 years, 7 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +186 -0
lines
Completely rewrite ofppc from scratch.
1) Change it to be like the other ppc ports, and directly interface with
hardware, rather than trying to be slick and access everything through
the OFW. Instead, we gather configuration information from OFW, and use
that to discover hardware.
2) Change it over to powerpc bus_space and bus_dma.
3) Timecounters, generic soft interrupts.
4) Make use of the shared code in powerpc. (pic code, oea, bat code, etc)
5) Probably other stuff.. almost nothing remains of the original port.
It is assumed that in it's present state this will not run on any
machines. However, it should be pretty close, and will just need some
massaging and care from someone with access to hardware to make it work.
The code is written to target a CHRP compatible machine, but there is no
reason it cannot be ported to other machines like the Pegasos or Efika.
I simply don't have the knowledge of those machines to structure the code
for them, but I have attempted to keep it generic enough that such work
could still be done.
If anyone with access to hardware would like to take this on, I will
gladly assist as much as possible.
Revision 1.1
Thu Jun 21 18:49:48 2007 UTC (17 years, 7 months ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
vmlocking-base,
ppcoea-renovation-base,
mjf-ufs-trans-base,
hpcarm-cleanup
Branch point for: yamt-x86pmap,
ppcoea-renovation,
jmcneill-pm,
bouyer-xenamd64
FILE REMOVED
file ofwpci.c was initially added on branch ppcoea-renovation.
CVSweb <webmaster@jp.NetBSD.org>