#
1.20 |
|
15-Sep-2022 |
msaitoh |
Verify checksum of the extended signature table.
|
#
1.19 |
|
15-Sep-2022 |
msaitoh |
Add missing newline in a message. KNF.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.18 |
|
25-Apr-2020 |
bouyer |
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 tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.17 |
|
10-May-2019 |
maxv |
branches: 1.17.8; Clean up, and add sanity checks on the microcode lengths.
|
#
1.16 |
|
09-May-2019 |
maxv |
Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD.
|
Revision tags: isaki-audio2-base
|
#
1.15 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
|
#
1.14 |
|
12-Apr-2018 |
msaitoh |
branches: 1.14.2; Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue.
|
Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
#
1.13 |
|
17-Mar-2018 |
christos |
tuck in all the compat microcode code in one place.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base
|
#
1.12 |
|
01-Jun-2017 |
chs |
branches: 1.12.2; 1.12.8; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
#
1.20 |
|
15-Sep-2022 |
msaitoh |
Verify checksum of the extended signature table.
|
#
1.19 |
|
15-Sep-2022 |
msaitoh |
Add missing newline in a message. KNF.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.18 |
|
25-Apr-2020 |
bouyer |
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 tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.17 |
|
10-May-2019 |
maxv |
branches: 1.17.8; Clean up, and add sanity checks on the microcode lengths.
|
#
1.16 |
|
09-May-2019 |
maxv |
Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD.
|
Revision tags: isaki-audio2-base
|
#
1.15 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
|
#
1.14 |
|
12-Apr-2018 |
msaitoh |
branches: 1.14.2; Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue.
|
Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
#
1.13 |
|
17-Mar-2018 |
christos |
tuck in all the compat microcode code in one place.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base
|
#
1.12 |
|
01-Jun-2017 |
chs |
branches: 1.12.2; 1.12.8; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
#
1.18 |
|
25-Apr-2020 |
bouyer |
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 tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.17 |
|
10-May-2019 |
maxv |
branches: 1.17.8; Clean up, and add sanity checks on the microcode lengths.
|
#
1.16 |
|
09-May-2019 |
maxv |
Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD.
|
Revision tags: isaki-audio2-base
|
#
1.15 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
|
#
1.14 |
|
12-Apr-2018 |
msaitoh |
branches: 1.14.2; Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue.
|
Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
#
1.13 |
|
17-Mar-2018 |
christos |
tuck in all the compat microcode code in one place.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base
|
#
1.12 |
|
01-Jun-2017 |
chs |
branches: 1.12.2; 1.12.8; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
#
1.17 |
|
10-May-2019 |
maxv |
Clean up, and add sanity checks on the microcode lengths.
|
#
1.16 |
|
09-May-2019 |
maxv |
Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD.
|
Revision tags: isaki-audio2-base
|
#
1.15 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
|
#
1.14 |
|
12-Apr-2018 |
msaitoh |
Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue.
|
Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
#
1.13 |
|
17-Mar-2018 |
christos |
tuck in all the compat microcode code in one place.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base
|
#
1.12 |
|
01-Jun-2017 |
chs |
branches: 1.12.2; 1.12.8; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
#
1.16 |
|
09-May-2019 |
maxv |
Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD.
|
Revision tags: isaki-audio2-base
|
#
1.15 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
|
#
1.14 |
|
12-Apr-2018 |
msaitoh |
Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue.
|
Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
#
1.13 |
|
17-Mar-2018 |
christos |
tuck in all the compat microcode code in one place.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base
|
#
1.12 |
|
01-Jun-2017 |
chs |
branches: 1.12.2; 1.12.8; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
Revision tags: isaki-audio2-base
|
#
1.15 |
|
27-Jan-2019 |
pgoyette |
Merge the [pgoyette-compat] branch
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 phil-wifi-base pgoyette-compat-0625 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415
|
#
1.14 |
|
12-Apr-2018 |
msaitoh |
Add cpu_ucode_intel_verify() to verify microcode image. Currently, we don't verify extended signatures'checksum. I have no any image which has extended signature. If an extended signature found, the function shows "This image has extended signature table." and continue.
|
Revision tags: pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
#
1.13 |
|
17-Mar-2018 |
christos |
tuck in all the compat microcode code in one place.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 pgoyette-compat-0315 pgoyette-compat-base tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base
|
#
1.12 |
|
01-Jun-2017 |
chs |
branches: 1.12.2; 1.12.8; remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
#
1.12 |
|
01-Jun-2017 |
chs |
remove checks for failure after memory allocation calls that cannot fail:
kmem_alloc() with KM_SLEEP kmem_zalloc() with KM_SLEEP percpu_alloc() pserialize_create() psref_class_create()
all of these paths include an assertion that the allocation has not failed, so callers should not assert that again.
|
Revision tags: prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
branches: 1.10.2; Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|
Revision tags: nick-nhusb-base-20161204
|
#
1.11 |
|
21-Nov-2016 |
ozaki-r |
Sweep unnecessary xcall.h inclusions
|
Revision tags: pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226
|
#
1.10 |
|
04-Oct-2015 |
jym |
Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not).
|
#
1.9 |
|
04-Oct-2015 |
mrg |
kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre.
|
Revision tags: nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.8 |
|
12-May-2015 |
msaitoh |
Use roundup2() and uintptr_t. Adviced by riastradh@.
|
#
1.7 |
|
11-May-2015 |
msaitoh |
Re-allocale buffer if a buffer for microcode is not 16byte aligned.
|
Revision tags: nick-nhusb-base-20150406
|
#
1.6 |
|
12-Dec-2014 |
msaitoh |
Use specialreg.h's definitions.
|
Revision tags: nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.5 |
|
26-Mar-2014 |
christos |
branches: 1.5.4; 1.5.6; kill sprintf
|
Revision tags: riastradh-drm2-base3
|
#
1.4 |
|
15-Nov-2013 |
msaitoh |
Modify some macros and add some new macros for CPU family and model to reduce code duplication and to avoid bug.
CPUID_TO_STEPPING(cpuid) (not changed)
CPUID_TO_FAMILY(cpuid) (new) CPUID_TO_MODEL(cpuid) (new)
Return the display family and the display model. The macro names are the same as FreeBSD.
CPUID_TO_BASEFAMILY(cpuid) (The old name was CPUID2FAMILY) CPUID_TO_BASEMODEL(cpuid) (The old name was CPUID2MODEL)
Only for the base field.
CPUID_TO_EXTFAMILY(cpuid) (The old name was CPUID2EXTFAMILY) CPUID_TO_EXTMODEL(cpuid) (The old name was CPUID2EXTMODEL)
Only for the extended field.
See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base
|
#
1.3 |
|
06-Jul-2013 |
gdt |
#endif comments
|
Revision tags: agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.2 |
|
17-Oct-2012 |
drochner |
branches: 1.2.2; 1.2.4; put binary compatibility support for the old AMD-only CPU microcode update API inside COMPAT_60
|
#
1.1 |
|
29-Aug-2012 |
drochner |
branches: 1.1.2; Extend the CPU microcode update framework to support Intel x86 CPUs. Contrary to the AMD implementation, it doesn't use xcalls to distribute the update to all CPUs but relies on cpuctl(8) to bind itself to the right CPU -- to keep it simple and avoid possible problems with hyperthreading. Also, it doesn't parse the vendor supplied file to pick the right part for the present CPU model but relies on userland to prepare files with specific filenames. I'll commit a pkg for this in a minute (pkgsrc/sysutils/intel-microcode). The ioctl interface changed; compatibility is provided (should be limited to COMPAT_NETBSD6 as soon as this is available).
|