| #
bf2166bd
|
| 14-May-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Revert "powernv: Add RF_BIGENDIAN resource flag"
After further thinking, the nexus bus mappings are for the immediate peripherals, not downstream. Given this, and that historically PowerPC platform
Revert "powernv: Add RF_BIGENDIAN resource flag"
After further thinking, the nexus bus mappings are for the immediate peripherals, not downstream. Given this, and that historically PowerPC platforms have been big-endian by default, it makes sense to default mappings to BE always. If this changes in the future, the platform devices can explicitly mark their mappings with the RF_LITTLEENDIAN flag instead.
This reverts commit 86d20eaadfd1a03e19d8bc8333c689b820299d52.
show more ...
|
| #
86d20eaa
|
| 13-May-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powernv: Add RF_BIGENDIAN resource flag
The big-endian analogue to the RF_LITTLEENDIAN flag, if this flag is set on a memory resource it's always mapped big endian.
This is needed by the PowerNV OP
powernv: Add RF_BIGENDIAN resource flag
The big-endian analogue to the RF_LITTLEENDIAN flag, if this flag is set on a memory resource it's always mapped big endian.
This is needed by the PowerNV OPAL resources (XIVE and PCI), as these top-level peripherals are always big-endian.
Tested by: pkubaj Fixes: c4921a0f("powerpc: Always use BE tag in nexus_map_resource") MFC after: 1 day X-MFC-with: c4921a0f
show more ...
|
| #
a8247021
|
| 23-Jan-2024 |
John Baldwin <jhb@FreeBSD.org> |
powerpc: Add RF_LITTLEENDIAN resource flag
If this powerpc-specific flag is set on a resource, then the little-endian bus tag is always used when mapping that resource.
Make use of this flag in the
powerpc: Add RF_LITTLEENDIAN resource flag
If this powerpc-specific flag is set on a resource, then the little-endian bus tag is always used when mapping that resource.
Make use of this flag in the mpc85xx/fsl_sata driver to avoid setting the SATA BAR's bus tag after bus_alloc_resource.
Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D43553
show more ...
|
| #
71625ec9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
| #
60871408
|
| 24-Oct-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary: Due to bugs in the enumeration code, fsl_pcib_init() was not configuring sub-bridges properly, so devices hanging off a separate
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary: Due to bugs in the enumeration code, fsl_pcib_init() was not configuring sub-bridges properly, so devices hanging off a separate bridge would not be found. Since the generic PCI code already supports probing child buses, just delete this code and initialize only the device itself, letting the generic code handle all the additional probing and initializing.
This also deletes setup for some PCI peripherals found on some MPC85XX evaluation boards. The code can be resurrected if needed, but overly complicated this code in the first place.
Reviewed by: bdragon Differential Revision: https://reviews.freebsd.org/D22050
show more ...
|
| #
bf2166bd
|
| 14-May-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Revert "powernv: Add RF_BIGENDIAN resource flag"
After further thinking, the nexus bus mappings are for the immediate peripherals, not downstream. Given this, and that historically PowerPC platform
Revert "powernv: Add RF_BIGENDIAN resource flag"
After further thinking, the nexus bus mappings are for the immediate peripherals, not downstream. Given this, and that historically PowerPC platforms have been big-endian by default, it makes sense to default mappings to BE always. If this changes in the future, the platform devices can explicitly mark their mappings with the RF_LITTLEENDIAN flag instead.
This reverts commit 86d20eaadfd1a03e19d8bc8333c689b820299d52.
show more ...
|
| #
86d20eaa
|
| 13-May-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powernv: Add RF_BIGENDIAN resource flag
The big-endian analogue to the RF_LITTLEENDIAN flag, if this flag is set on a memory resource it's always mapped big endian.
This is needed by the PowerNV OP
powernv: Add RF_BIGENDIAN resource flag
The big-endian analogue to the RF_LITTLEENDIAN flag, if this flag is set on a memory resource it's always mapped big endian.
This is needed by the PowerNV OPAL resources (XIVE and PCI), as these top-level peripherals are always big-endian.
Tested by: pkubaj Fixes: c4921a0f("powerpc: Always use BE tag in nexus_map_resource") MFC after: 1 day X-MFC-with: c4921a0f
show more ...
|
| #
a8247021
|
| 23-Jan-2024 |
John Baldwin <jhb@FreeBSD.org> |
powerpc: Add RF_LITTLEENDIAN resource flag
If this powerpc-specific flag is set on a resource, then the little-endian bus tag is always used when mapping that resource.
Make use of this flag in the
powerpc: Add RF_LITTLEENDIAN resource flag
If this powerpc-specific flag is set on a resource, then the little-endian bus tag is always used when mapping that resource.
Make use of this flag in the mpc85xx/fsl_sata driver to avoid setting the SATA BAR's bus tag after bus_alloc_resource.
Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D43553
show more ...
|
| #
71625ec9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
| #
60871408
|
| 24-Oct-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary: Due to bugs in the enumeration code, fsl_pcib_init() was not configuring sub-bridges properly, so devices hanging off a separate
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary: Due to bugs in the enumeration code, fsl_pcib_init() was not configuring sub-bridges properly, so devices hanging off a separate bridge would not be found. Since the generic PCI code already supports probing child buses, just delete this code and initialize only the device itself, letting the generic code handle all the additional probing and initializing.
This also deletes setup for some PCI peripherals found on some MPC85XX evaluation boards. The code can be resurrected if needed, but overly complicated this code in the first place.
Reviewed by: bdragon Differential Revision: https://reviews.freebsd.org/D22050
show more ...
|
| #
60727d8b
|
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
| #
45f0aa1f
|
| 14-Oct-1999 |
Doug Rabson <dfr@FreeBSD.org> |
* Implement bus_set/get/delete_resource for pci. * Change the hack used on the alpha for mapping devices into DENSE or BWX memory spaces to a simpler one. Its still a hack and should be a seperat
* Implement bus_set/get/delete_resource for pci. * Change the hack used on the alpha for mapping devices into DENSE or BWX memory spaces to a simpler one. Its still a hack and should be a seperate api to explicitly map the resource. * Add $FreeBSD$ as necessary.
show more ...
|
| #
aa595acc
|
| 28-Jul-1999 |
Doug Rabson <dfr@FreeBSD.org> |
Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual() address of the resource is initialised to point into
Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual() address of the resource is initialised to point into either dense-mapped or bwx-mapped space respectively, allowing direct memory pointers to be used to device memory.
Reviewed by: Andrew Gallatin <gallatin@cs.duke.edu>
show more ...
|
| #
46365a87
|
| 29-Oct-1998 |
Garrett Wollman <wollman@FreeBSD.org> |
A small fragment of new ISA framework: manifest constants for the resources implemented by the i386 root nexus.
|
| #
bf2166bd
|
| 14-May-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Revert "powernv: Add RF_BIGENDIAN resource flag"
After further thinking, the nexus bus mappings are for the immediate peripherals, not downstream. Given this, and that historically PowerPC platform
Revert "powernv: Add RF_BIGENDIAN resource flag"
After further thinking, the nexus bus mappings are for the immediate peripherals, not downstream. Given this, and that historically PowerPC platforms have been big-endian by default, it makes sense to default mappings to BE always. If this changes in the future, the platform devices can explicitly mark their mappings with the RF_LITTLEENDIAN flag instead.
This reverts commit 86d20eaadfd1a03e19d8bc8333c689b820299d52.
show more ...
|
| #
86d20eaa
|
| 13-May-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powernv: Add RF_BIGENDIAN resource flag
The big-endian analogue to the RF_LITTLEENDIAN flag, if this flag is set on a memory resource it's always mapped big endian.
This is needed by the PowerNV OP
powernv: Add RF_BIGENDIAN resource flag
The big-endian analogue to the RF_LITTLEENDIAN flag, if this flag is set on a memory resource it's always mapped big endian.
This is needed by the PowerNV OPAL resources (XIVE and PCI), as these top-level peripherals are always big-endian.
Tested by: pkubaj Fixes: c4921a0f("powerpc: Always use BE tag in nexus_map_resource") MFC after: 1 day X-MFC-with: c4921a0f
show more ...
|
| #
a8247021
|
| 23-Jan-2024 |
John Baldwin <jhb@FreeBSD.org> |
powerpc: Add RF_LITTLEENDIAN resource flag
If this powerpc-specific flag is set on a resource, then the little-endian bus tag is always used when mapping that resource.
Make use of this flag in the
powerpc: Add RF_LITTLEENDIAN resource flag
If this powerpc-specific flag is set on a resource, then the little-endian bus tag is always used when mapping that resource.
Make use of this flag in the mpc85xx/fsl_sata driver to avoid setting the SATA BAR's bus tag after bus_alloc_resource.
Reviewed by: jhibbits Differential Revision: https://reviews.freebsd.org/D43553
show more ...
|
| #
71625ec9
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c comment pattern
Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
| #
60871408
|
| 24-Oct-2019 |
Justin Hibbits <jhibbits@FreeBSD.org> |
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary: Due to bugs in the enumeration code, fsl_pcib_init() was not configuring sub-bridges properly, so devices hanging off a separate
powerpc/booke: Simplify the MPC85XX PCIe root complex driver
Summary: Due to bugs in the enumeration code, fsl_pcib_init() was not configuring sub-bridges properly, so devices hanging off a separate bridge would not be found. Since the generic PCI code already supports probing child buses, just delete this code and initialize only the device itself, letting the generic code handle all the additional probing and initializing.
This also deletes setup for some PCI peripherals found on some MPC85XX evaluation boards. The code can be resurrected if needed, but overly complicated this code in the first place.
Reviewed by: bdragon Differential Revision: https://reviews.freebsd.org/D22050
show more ...
|
| #
60727d8b
|
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
| #
45f0aa1f
|
| 14-Oct-1999 |
Doug Rabson <dfr@FreeBSD.org> |
* Implement bus_set/get/delete_resource for pci. * Change the hack used on the alpha for mapping devices into DENSE or BWX memory spaces to a simpler one. Its still a hack and should be a seperat
* Implement bus_set/get/delete_resource for pci. * Change the hack used on the alpha for mapping devices into DENSE or BWX memory spaces to a simpler one. Its still a hack and should be a seperate api to explicitly map the resource. * Add $FreeBSD$ as necessary.
show more ...
|
| #
aa595acc
|
| 28-Jul-1999 |
Doug Rabson <dfr@FreeBSD.org> |
Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual() address of the resource is initialised to point into
Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These are equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual() address of the resource is initialised to point into either dense-mapped or bwx-mapped space respectively, allowing direct memory pointers to be used to device memory.
Reviewed by: Andrew Gallatin <gallatin@cs.duke.edu>
show more ...
|
| #
46365a87
|
| 29-Oct-1998 |
Garrett Wollman <wollman@FreeBSD.org> |
A small fragment of new ISA framework: manifest constants for the resources implemented by the i386 root nexus.
|
| #
60727d8b
|
| 07-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
/* -> /*- for license, minor formatting changes
|
| #
45f0aa1f
|
| 14-Oct-1999 |
Doug Rabson <dfr@FreeBSD.org> |
* Implement bus_set/get/delete_resource for pci. * Change the hack used on the alpha for mapping devices into DENSE or BWX memory spaces to a simpler one. Its still a hack and should be a seperat
* Implement bus_set/get/delete_resource for pci. * Change the hack used on the alpha for mapping devices into DENSE or BWX memory spaces to a simpler one. Its still a hack and should be a seperate api to explicitly map the resource. * Add $FreeBSD$ as necessary.
show more ...
|