Up to [cvs.NetBSD.org] / src / sys / arch / x86 / pci
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.16 / (download) - annotate - [select for diffs], Sat Jan 28 12:36:52 2023 UTC (8 days, 10 hours ago) by msaitoh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +13 -3
lines
Diff to previous 1.15 (colored)
amdsmn(4),amdzentemp(4): Add Zen3+ Rembrandt(19h/4xh) & Zen4 Genoa(19h/1xh).
Revision 1.14.4.1 / (download) - annotate - [select for diffs], Mon Dec 19 11:37:14 2022 UTC (6 weeks, 6 days ago) by martin
Branch: netbsd-10
Changes since 1.14: +6 -2
lines
Diff to previous 1.14 (colored) next main 1.15 (colored)
Pull up following revision(s) (requested by reinoud in ticket #3): sys/dev/pci/amdccp_pci.c: revision 1.4 sys/arch/x86/pci/amdsmn.c: revision 1.15 sys/dev/acpi/amdccp_acpi.c: revision 1.6 sys/dev/fdt/amdccp_fdt.c: revision 1.7 Add amdsmn(4) and amdccp(4) power management stubs.
Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 18 15:50:32 2022 UTC (7 weeks ago) by reinoud
Branch: MAIN
Changes since 1.14: +6 -2
lines
Diff to previous 1.14 (colored)
Add amdsmn(4) and amdccp(4) power management stubs.
Revision 1.3.2.5 / (download) - annotate - [select for diffs], Tue Oct 11 18:22:44 2022 UTC (3 months, 3 weeks ago) by martin
Branch: netbsd-8
Changes since 1.3.2.4: +58 -15
lines
Diff to previous 1.3.2.4 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Pull up following revision(s) (requested by msaitoh in ticket #1773): share/man/man4/man4.x86/amdsmn.4 1.4,1.5 share/man/man4/man4.x86/amdzentemp.4 1.7 sys/arch/x86/pci/amdsmn.c 1.7-1.9,1.13,1.14 sys/arch/x86/pci/amdzentemp.c 1.8-1.10,1.12-1.15 adjust for possible 49K offset presence of this offset is indicated by a set 19th bit which is shifted away this brings the temperature to "normal" levels on my ryzen 2700 (I assumed the same 49K offset as the k10temp project) correct for known temperature bias values. Update to support Family 15h Model 60 temperature sensors. Changes based on FreeBSD amdtemp driver changes by Conrad Meyer. XXX: Some code duplication between this driver and amdtemp as parts of the 15h refresh code share more in common with older CPUs while accessing the device more like 17h. Don't mix sign and unsigned operands. Just use size_t for the loop. Apply previous change ("Don't mix sign and unsigned operands. Just use size_t for the loop.") to another loop variable. amdzentemp(4): Add Zen 3 support. amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD. Fix build failure on i386. Rename for AMD F15/6X device. No functional change. amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh. Note that these drivers are present on some newer AMD Family 15h processors. amdsmn.4: Now support AMD Family 19h processors.
Revision 1.5.2.3 / (download) - annotate - [select for diffs], Tue Oct 11 18:16:20 2022 UTC (3 months, 3 weeks ago) by martin
Branch: netbsd-9
Changes since 1.5.2.2: +12 -2
lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored)
Pull up following revision(s) (requested by msaitoh in ticket #1539): share/man/man4/man4.x86/amdsmn.4: revision 1.5 sys/arch/x86/pci/amdsmn.c: revision 1.14 sys/arch/x86/pci/amdzentemp.c: revision 1.12-1.15 amdzentemp(4): Add Zen 3 support. amdzentemp(4): Add support for per CCD temperature sensor from FreeBSD. Fix build failure on i386. amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh. amdsmn.4: Now support AMD Family 19h processors.
Revision 1.14 / (download) - annotate - [select for diffs], Sat Oct 1 15:50:05 2022 UTC (4 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-10-base,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.13: +12 -2
lines
Diff to previous 1.13 (colored)
amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.
Revision 1.5.2.2 / (download) - annotate - [select for diffs], Wed Jul 27 14:40:08 2022 UTC (6 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.5.2.1: +3 -3
lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored)
Pull up the following revisions, requested by msaitoh in ticket #1482: sys/dev/pci/pcidevs 1.1422,1.1445-1.1460 via patch sys/arch/x86/pci/amdsmn.c 1.13 Update pcidevs: - Add Intel Alder Lake devices and Intel 600 Series PCH devices. - Add some Intel Xeon Scalable / Skylake-E devices. - Fix AMD F16_HB from 0x1568 to 0x1538. - Add some devices for AMD and improve some descriptions to clarify. - Add VMware AHCI and NVMe. - Update Intel 700 series Ethernet devices. - Add some Broadcom devices. - Add some Broadcom / LSI RAID cards. - Fix typos and whitespace.
Revision 1.13 / (download) - annotate - [select for diffs], Wed Apr 27 06:59:25 2022 UTC (9 months, 1 week ago) by msaitoh
Branch: MAIN
Changes since 1.12: +3 -3
lines
Diff to previous 1.12 (colored)
Rename for AMD F15/6X device. No functional change.
Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:07 2021 UTC (17 months, 4 weeks ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Changes since 1.11: +4 -6
lines
Diff to previous 1.11 (colored)
Merge thorpej-cfargs2.
Revision 1.11.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 03:03:30 2021 UTC (18 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.11: +4 -6
lines
Diff to previous 1.11 (colored) next main 1.12 (colored)
Adapt to CFARGS().
Revision 1.11 / (download) - annotate - [select for diffs], Sat Apr 24 23:36:51 2021 UTC (21 months, 1 week ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.10: +11 -8
lines
Diff to previous 1.10 (colored)
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.10.4.6 / (download) - annotate - [select for diffs], Mon Apr 5 00:48:53 2021 UTC (22 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.10.4.5: +3 -3
lines
Diff to previous 1.10.4.5 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)
config_match() -> config_probe() for the straight-forward indirect config cases. There are still a few odd balls using config_match() which should be sorted out later.
Revision 1.10.4.5 / (download) - annotate - [select for diffs], Sun Apr 4 22:01:21 2021 UTC (22 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.10.4.4: +3 -3
lines
Diff to previous 1.10.4.4 (colored) to branchpoint 1.10 (colored)
CFARG_SUBMATCH -> CFARG_SEARCH for the indirect configuration uses.
Revision 1.10.4.4 / (download) - annotate - [select for diffs], Sat Apr 3 06:54:28 2021 UTC (22 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.10.4.3: +5 -3
lines
Diff to previous 1.10.4.3 (colored) to branchpoint 1.10 (colored)
config_attach_loc() -> config_attach() with CFARG_LOCATORS argument.
Revision 1.10.4.3 / (download) - annotate - [select for diffs], Sun Mar 28 01:03:19 2021 UTC (22 months, 1 week ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.10.4.2: +3 -6
lines
Diff to previous 1.10.4.2 (colored) to branchpoint 1.10 (colored)
These devices have only one interface attribute and no locators, so simplify: - config_attach_loc() -> config_attach(). - Don't pass CFARG_IATTR, or CFARG_LOCATORS to config_search().
Revision 1.10.4.2 / (download) - annotate - [select for diffs], Sun Mar 21 19:06:19 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.10.4.1: +4 -3
lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored)
In "rescan" routines, always pass locators and the interface attribute straight through to config_search(). Also, for devices that carry only one interface attribute, no need to do an ifattr_match(), because rescan_with_cfdata() will have already validated that the parent is eligible, which includes an interface attribute check.
Revision 1.10.4.1 / (download) - annotate - [select for diffs], Sat Mar 20 19:33:39 2021 UTC (22 months, 2 weeks ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.10: +6 -3
lines
Diff to previous 1.10 (colored)
The proliferation if config_search_*() and config_found_*() combinations is a little absurd, so begin to tidy this up: - Introduce a new cfarg_t enumerated type, that defines the types of tag-value variadic arguments that can be passed to the various config_*() functions (CFARG_SUBMATCH, CFARG_IATTR, and CFARG_LOCATORS, for now, plus a CFARG_EOL sentinel). - Collapse config_search_*() into config_search() that takes these variadic arguments. - Convert all call sites of config_search_*() to the new signature. Noticed several incorrect usages along the way, which will be audited in a future commit.
Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (2 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM guests in GENERIC. Xen support can be disabled at runtime with boot -c disable hypervisor
Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat Apr 25 11:23:57 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.6: +48 -15
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Sync with bouyer-xenpvh-base2 (HEAD)
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Fri Apr 24 17:46:44 2020 UTC (2 years, 9 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Changes since 1.5: +48 -15
lines
Diff to previous 1.5 (colored)
Pull up following revision(s) (requested by simonb in ticket #851): share/man/man4/man4.x86/amdzentemp.4: revision 1.7 share/man/man4/man4.x86/amdsmn.4: revision 1.4 sys/arch/x86/pci/amdsmn.c: revision 1.7 sys/arch/x86/pci/amdsmn.c: revision 1.8 sys/arch/x86/pci/amdsmn.c: revision 1.9 sys/arch/x86/pci/amdzentemp.c: revision 1.10 Update to support Family 15h Model 60 temperature sensors. Changes based on FreeBSD amdtemp driver changes by Conrad Meyer. XXX: Some code duplication between this driver and amdtemp as parts of the 15h refresh code share more in common with older CPUs while accessing the device more like 17h. -- Note that these drivers are present on some newer AMD Family 15h processors. -- Don't mix sign and unsigned operands. Just use size_t for the loop. -- Apply previous change ("Don't mix sign and unsigned operands. Just use size_t for the loop.") to another loop variable. --
Revision 1.9 / (download) - annotate - [select for diffs], Thu Apr 23 13:40:36 2020 UTC (2 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: bouyer-xenpvh-base2
Changes since 1.8: +3 -3
lines
Diff to previous 1.8 (colored)
Apply previous change ("Don't mix sign and unsigned operands. Just use size_t for the loop.") to another loop variable.
Revision 1.3.6.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:12 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.3.6.1: +45 -12
lines
Diff to previous 1.3.6.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Sync with HEAD
Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 20 13:02:57 2020 UTC (2 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-20200421
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
Don't mix sign and unsigned operands. Just use size_t for the loop.
Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 20 11:03:02 2020 UTC (2 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.6: +47 -14
lines
Diff to previous 1.6 (colored)
Update to support Family 15h Model 60 temperature sensors. Changes based on FreeBSD amdtemp driver changes by Conrad Meyer. XXX: Some code duplication between this driver and amdtemp as parts of the 15h refresh code share more in common with older CPUs while accessing the device more like 17h.
Revision 1.3.6.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:11 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.3: +27 -12
lines
Diff to previous 1.3 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.3.2.4 / (download) - annotate - [select for diffs], Tue Aug 6 16:05:11 2019 UTC (3 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.3.2.3: +27 -12
lines
Diff to previous 1.3.2.3 (colored) to branchpoint 1.3 (colored)
Pull up following revision(s) (requested by msaitoh in ticket #1328): sys/arch/x86/pci/amdsmn.c: revision 1.4 sys/arch/x86/pci/amdsmn.c: revision 1.5 sys/arch/x86/pci/amdsmn.c: revision 1.6 Add support for Ryzen 2xxx and 3xxx. Use unsigned to fix compile error on i386. Whitespace fix.
Revision 1.6 / (download) - annotate - [select for diffs], Tue Aug 6 05:32:44 2019 UTC (3 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.5: +9 -9
lines
Diff to previous 1.5 (colored)
Whitespace fix.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 18 12:04:16 2019 UTC (3 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: netbsd-9-base,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.4: +4 -4
lines
Diff to previous 1.4 (colored)
Use unsigned to fix compile error on i386.
Revision 1.4 / (download) - annotate - [select for diffs], Thu Jul 18 08:53:41 2019 UTC (3 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.3: +20 -5
lines
Diff to previous 1.3 (colored)
Add support for Ryzen 2xxx and 3xxx.
Revision 1.3.2.3 / (download) - annotate - [select for diffs], Tue Feb 6 09:05:27 2018 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Changes since 1.3.2.2: +3 -3
lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored)
Additionally pull up rev 1.3 of sys/arch/x86/pci/amdsmn.c, requested by pgoyette in ticket #524: rescan amdsmnbus instead of amdsmn (fixes panic)
Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Feb 5 13:06:55 2018 UTC (5 years ago) by martin
Branch: netbsd-8
Changes since 1.3.2.1: +183 -0
lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)
Pull up following revision(s) (requested by pgoyette in ticket #524): distrib/sets/lists/man/mi 1.1574 distrib/sets/lists/modules/md.amd64 1.73 distrib/sets/lists/modules/md.i386 1.76 share/man/man4/amdtemp.4 1.11 share/man/man4/man4.x86/Makefile 1.17 share/man/man4/man4.x86/amdsmn.4 1.1-1.3 share/man/man4/man4.x86/amdzentemp.4 1.1-1.6 sys/arch/amd64/conf/ALL 1.79,1.80 sys/arch/amd64/conf/GENERIC 1.482,1.484 sys/arch/amd64/conf/XEN3_DOM0 1.146,1.147 sys/arch/x86/pci/amdsmn.c 1.1-1.2 sys/arch/x86/pci/amdsmn.h 1.1 sys/arch/x86/pci/amdzentemp.c 1.1-1.7 sys/arch/x86/pci/files.pci 1.22,1.23 sys/modules/amdzentemp/amdzentemp.ioconf 1.2 Add amdzentemp from FreeBSD via Ian Clark. man pages for amdsmn and amdzentemp. Some clean-up on the HISTORY and AUTHORS sections, and addition of a BUGS section to document the fact that we don't yet handle the required temp offset, nor do we expose the available thermal-trip value. Add missing article 'a' KNF: Put back the blank line following the empty variable declarations Put back the variable declaration, too, and mark it __diagused Otherwise a DIAGNOSTIC kernel will complain about the variable being undeclared. Correct placement of __diagused attribute. Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4), Create amdsmn(4) amd amdzentemp(4) modules for X86.
Revision 1.3.2.1, Sat Jan 27 21:24:30 2018 UTC (5 years ago) by martin
Branch: netbsd-8
Changes since 1.3: +0 -183
lines
FILE REMOVED
file amdsmn.c was added on branch netbsd-8 on 2018-02-05 13:06:55 +0000
Revision 1.3 / (download) - annotate - [select for diffs], Sat Jan 27 21:24:30 2018 UTC (5 years ago) by kardel
Branch: MAIN
CVS Tags: phil-wifi-base,
phil-wifi-20190609,
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,
isaki-audio2-base,
isaki-audio2
Branch point for: phil-wifi,
netbsd-8
Changes since 1.2: +3 -3
lines
Diff to previous 1.2 (colored)
rescan amdsmnbus instead of amdsmn (fixes panic)
Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 25 23:37:33 2018 UTC (5 years ago) by pgoyette
Branch: MAIN
Changes since 1.1: +50 -5
lines
Diff to previous 1.1 (colored)
Modularize the amdsmn(4) driver, and update dependency for amdzentemp(4)
Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 25 01:22:21 2018 UTC (5 years ago) by christos
Branch: MAIN
Add amdzentemp from FreeBSD via Ian Clark