The NetBSD Project

CVS log for src/sys/arch/arm/pci/pci_msi_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / pci

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.9.24.1: download - view: text, markup, annotated - select for diffs
Wed Jul 3 19:13:20 2024 UTC (5 months, 1 week ago) by martin
Branches: netbsd-10
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +5 -6 lines
Pull up following revision(s) (requested by jmcneill in ticket #735):

	sys/dev/pci/pci_resource.c: revision 1.5
	sys/arch/arm/pci/pci_msi_machdep.c: revision 1.10
	sys/arch/aarch64/include/vmparam.h: revision 1.21
	sys/dev/acpi/acpi_resource.c: revision 1.43

pci_resource: Make unexpected bus numbers in bridges non-fatal.

Firmware bugs happen. Log a warning and continue instead of panicing.
acpi: Ignore producer/consumer bit for fixed memory resources.

The requirement to honour the producer/consumer bit in fixed memory
resource descriptors was dropped at some point in a revision to the ACPI
2.0 specification because too many firmware implementations got it wrong.

aarch64: Bump VM_PHYSSEG_MAX to match DRAM_BANKS / FDT_MEMORY_RANGES.

On aarch64 there is a single free list, so VM_PHYSSEG_MAX needs to be
the same as FDT_MEMORY_RANGES (which needs to be the same as DRAM_BANKS).

Future cleanup should be done to fold these into a single define.

arm: pci: Fix ITS ID lookup for MSIs.
pci_get_frameid expects a BDF requestor ID as input, not a Device ID.

Fixes MSI/MSI-X support on Ampere Altra systems.

Revision 1.9.30.1: download - view: text, markup, annotated - select for diffs
Mon Jul 1 01:01:13 2024 UTC (5 months, 1 week ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +5 -6 lines
Sync with HEAD.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jun 30 09:38:07 2024 UTC (5 months, 1 week ago) by jmcneill
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -6 lines
arm: pci: Fix ITS ID lookup for MSIs.

pci_get_frameid expects a BDF requestor ID as input, not a Device ID.
Fixes MSI/MSI-X support on Ampere Altra systems.

Revision 1.5.4.4: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:36 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.5.4.3: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.3: +10 -7 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.5.4.3: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:30 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.5.4.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.2: +24 -4 lines
Merge changes from current as of 20200406

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:19 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +24 -4 lines
Sync with head.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Feb 13 06:28:25 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, perseant-exfatfs-base, netbsd-10-base, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3
Branch point for: perseant-exfatfs, netbsd-10
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
spaces -> <tab>

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 13 00:02:21 2020 UTC (4 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +24 -4 lines
Add support for multiple GICv3 ITS domains.

Revision 1.6.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 4 19:25:48 2019 UTC (5 years, 4 months ago) by martin
Branches: netbsd-9
CVS tags: 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
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +6 -5 lines
Pull up following revision(s) (requested by jmcneill in ticket #18):

	sys/arch/arm/pci/pci_msi_machdep.c: revision 1.7

Properly honour max_type arg to pci_intr_alloc

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 3 12:55:46 2019 UTC (5 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +6 -5 lines
Properly honour max_type arg to pci_intr_alloc

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jul 25 00:42:43 2019 UTC (5 years, 4 months ago) by jmcneill
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -6 lines
Support pci_intr_release for INTx interrupts

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:55 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.4.1: +262 -0 lines
Sync with HEAD

Revision 1.3.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:33 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.2: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.2: +5 -6 lines
Sync with HEAD, resolve a few conflicts

Revision 1.5.4.1
Sat Dec 1 20:38:45 2018 UTC (6 years ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.5: +0 -262 lines
file pci_msi_machdep.c was added on branch phil-wifi on 2019-06-10 22:05:55 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Dec 1 20:38:45 2018 UTC (6 years ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -5 lines
Fix MSIX allocation in pci_intr_alloc

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 27 20:08:05 2018 UTC (6 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
make pci_intr_alloc() try also MSI-X by default (with NULL count);
there are boards/emulators which only have MSI-X and no MSI, and
so far there is no evidence there are devices which support both
and don't work in MSI-X mode

this change is supposed to reduce amount of needed cut&paste code in drivers

discussed briefly with jmcneill@

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 26 01:52:19 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.2.1: +263 -0 lines
Sync with HEAD, resolve a couple of conflicts

Revision 1.3.2.1
Fri Nov 16 15:06:22 2018 UTC (6 years ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -263 lines
file pci_msi_machdep.c was added on branch pgoyette-compat on 2018-11-26 01:52:19 +0000

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Nov 16 15:06:22 2018 UTC (6 years ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-1126
Branch point for: pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Add intr_establish_xname support to arm and expose it to intrctl

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 31 15:42:17 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +27 -5 lines
Add MSI-X support.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 21 00:42:06 2018 UTC (6 years, 1 month ago) by jmcneill
Branches: MAIN
Add support for PCI MSI using ARM GICv2m.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>