re: CVS commit: src/sys/arch/x86/x86

2020-06-24 Thread matthew green
"Jaromir Dolecek" writes: > Module Name: src > Committed By: jdolecek > Date: Wed Jun 24 22:28:08 UTC 2020 > > Modified Files: > src/sys/arch/x86/x86: multiboot2.c > > Log Message: > don't try allocating 16KB of scratch space on stack > > it's too early for kmem_alloc(), so use

Re: CVS commit: src/sys/arch/x86/x86

2020-06-24 Thread Joerg Sonnenberger
On Wed, Jun 24, 2020 at 10:28:08PM +, Jaromir Dolecek wrote: > Module Name: src > Committed By: jdolecek > Date: Wed Jun 24 22:28:08 UTC 2020 > > Modified Files: > src/sys/arch/x86/x86: multiboot2.c > > Log Message: > don't try allocating 16KB of scratch space on stack > >

Re: CVS commit: src/sys/arch/x86/x86

2020-06-06 Thread Christos Zoulas
In article <20200606135850.ge14...@pony.stderr.spb.ru>, Valery Ushakov wrote: >On Sat, Jun 06, 2020 at 11:25:19 +0200, Kamil Rytarowski wrote: > >> On 06.06.2020 09:42, Simon Burge wrote: >> > "Kamil Rytarowski" wrote: >> > >> >> Module Name: src >> >> Committed By: kamil >> >> Date:

Re: CVS commit: src/sys/arch/x86/x86

2020-06-06 Thread Valery Ushakov
On Sat, Jun 06, 2020 at 11:25:19 +0200, Kamil Rytarowski wrote: > On 06.06.2020 09:42, Simon Burge wrote: > > "Kamil Rytarowski" wrote: > > > >> Module Name: src > >> Committed By: kamil > >> Date: Fri Jun 5 21:48:04 UTC 2020 > >> > >> Modified Files: > >> > >>

Re: CVS commit: src/sys/arch/x86/x86

2020-06-06 Thread Kamil Rytarowski
On 06.06.2020 09:42, Simon Burge wrote: > "Kamil Rytarowski" wrote: > >> Module Name: src >> Committed By:kamil >> Date:Fri Jun 5 21:48:04 UTC 2020 >> >> Modified Files: >> >> src/sys/arch/x86/x86: cpu_rng.c >> >> Log Message: >> >> Change const unsigned to

Re: CVS commit: src/sys/arch/x86/x86

2020-06-06 Thread Simon Burge
"Kamil Rytarowski" wrote: > Module Name: src > Committed By: kamil > Date: Fri Jun 5 21:48:04 UTC 2020 > > Modified Files: > > src/sys/arch/x86/x86: cpu_rng.c > > Log Message: > > Change const unsigned to preprocessor define > > Fixes GCC -O0 build with the stack protector.

Re: CVS commit: src/sys/arch/x86/x86

2020-04-02 Thread Kengo NAKAHARA
Hi, Hmm, but TSC drift is still observed on recent (high clock) CPUs. I will have researched and fix later. On 2020/04/03 12:05, Kengo NAKAHARA wrote: Module Name:src Committed By: knakahara Date: Fri Apr 3 03:05:39 UTC 2020 Modified Files: src/sys/arch/x86/x86: tsc.c

Re: CVS commit: src/sys/arch/x86/x86

2020-03-17 Thread Andrew Doran
On Tue, Mar 17, 2020 at 10:38:14PM +, Andrew Doran wrote: > Log Message: > - Change some expensive checks DEBUG -> DIAGNOSTIC. That was meant to be the other way around, oops. Andrew

Re: CVS commit: src/sys/arch/x86/x86

2019-12-03 Thread Andrew Doran
On Tue, Dec 03, 2019 at 01:14:14PM +0100, Kamil Rytarowski wrote: > On 03.12.2019 12:50, Juergen Hannken-Illjes wrote: > > Module Name:src > > Committed By: hannken > > Date: Tue Dec 3 11:50:45 UTC 2019 > > > > Modified Files: > > src/sys/arch/x86/x86:

Re: CVS commit: src/sys/arch/x86/x86

2019-12-03 Thread Kamil Rytarowski
On 03.12.2019 12:50, Juergen Hannken-Illjes wrote: > Module Name: src > Committed By: hannken > Date: Tue Dec 3 11:50:45 UTC 2019 > > Modified Files: > src/sys/arch/x86/x86: x86_machdep.c > > Log Message: > Make sure the assignment to "idepth" is done inside the loop to prevent >

CVS commit: src/sys/arch/x86/x86

2019-11-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 16 10:19:29 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add a NULL check on the structure pointer, not to retrieve its first field if it is NULL. The previous code was not buggy strictly speaking.

CVS commit: src/sys/arch/x86/x86

2019-11-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 16 10:19:29 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add a NULL check on the structure pointer, not to retrieve its first field if it is NULL. The previous code was not buggy strictly speaking.

CVS commit: src/sys/arch/x86/x86

2019-11-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 8 04:15:02 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix a bug that evcnt_detach() called twice when the idt vector is full. OK'd by knakahara. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/x86

2019-11-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Nov 8 04:15:02 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix a bug that evcnt_detach() called twice when the idt vector is full. OK'd by knakahara. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/x86/x86

2019-11-01 Thread Takahiro Kambe
Module Name:src Committed By: taca Date: Fri Nov 1 15:01:27 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Check CPU support of RDRAND before calling cpu_rng_rdrand(). cpu_earlyrng() checks CPU support of RDSEED and RDRAND before calling

CVS commit: src/sys/arch/x86/x86

2019-11-01 Thread Takahiro Kambe
Module Name:src Committed By: taca Date: Fri Nov 1 15:01:27 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Check CPU support of RDRAND before calling cpu_rng_rdrand(). cpu_earlyrng() checks CPU support of RDSEED and RDRAND before calling

CVS commit: src/sys/arch/x86/x86

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 16:32:04 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Style. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain;

CVS commit: src/sys/arch/x86/x86

2019-10-30 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Oct 30 16:32:04 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Style. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain;

CVS commit: src/sys/arch/x86/x86

2019-10-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 29 12:39:46 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable XSAVEOPT. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x86/x86/identcpu.c Please note that diffs are

CVS commit: src/sys/arch/x86/x86

2019-10-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Oct 29 12:39:46 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable XSAVEOPT. To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/sys/arch/x86/x86/identcpu.c Please note that diffs are

CVS commit: src/sys/arch/x86/x86

2019-10-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 21 10:09:24 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Call cpu_probe_fpu() only once (from cpu0), and style. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/sys/arch/x86/x86

2019-10-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Oct 21 10:09:24 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Call cpu_probe_fpu() only once (from cpu0), and style. To generate a diff of this commit: cvs rdiff -u -r1.96 -r1.97

CVS commit: src/sys/arch/x86/x86

2019-10-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 18 16:26:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: Remove unused call to savectx(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/x86/vm_machdep.c Please

CVS commit: src/sys/arch/x86/x86

2019-10-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Oct 18 16:26:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: Remove unused call to savectx(). To generate a diff of this commit: cvs rdiff -u -r1.38 -r1.39 src/sys/arch/x86/x86/vm_machdep.c Please

CVS commit: src/sys/arch/x86/x86

2019-10-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 18 14:59:22 UTC 2019 Modified Files: src/sys/arch/x86/x86: multiboot2.c Log Message: Make compile with "options DEBUG". To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/multiboot2.c

CVS commit: src/sys/arch/x86/x86

2019-10-18 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Oct 18 14:59:22 UTC 2019 Modified Files: src/sys/arch/x86/x86: multiboot2.c Log Message: Make compile with "options DEBUG". To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/multiboot2.c

CVS commit: src/sys/arch/x86/x86

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 00:56:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Fix EFI system table mapping in virtual space Previous version was annoted as untested, and indeed it did not work. New version uses the same

CVS commit: src/sys/arch/x86/x86

2019-10-17 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Fri Oct 18 00:56:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Fix EFI system table mapping in virtual space Previous version was annoted as untested, and indeed it did not work. New version uses the same

CVS commit: src/sys/arch/x86/x86

2019-10-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 17 06:58:48 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add rdpru. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x86/x86/procfs_machdep.c Please note that

CVS commit: src/sys/arch/x86/x86

2019-10-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Oct 17 06:58:48 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add rdpru. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x86/x86/procfs_machdep.c Please note that

CVS commit: src/sys/arch/x86/x86

2019-10-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 5 07:19:49 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Switch to the new PTE naming: PG_PVLIST -> PTE_PVLIST PG_W -> PTE_WIRED PG_FRAME -> PTE_FRAME No functional

CVS commit: src/sys/arch/x86/x86

2019-10-05 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 5 07:19:49 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Switch to the new PTE naming: PG_PVLIST -> PTE_PVLIST PG_W -> PTE_WIRED PG_FRAME -> PTE_FRAME No functional

CVS commit: src/sys/arch/x86/x86

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:07:08 UTC 2019 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Switch to __noubsan in x86_hotpatch() To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/x86/patch.c Please

CVS commit: src/sys/arch/x86/x86

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:07:08 UTC 2019 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Switch to __noubsan in x86_hotpatch() To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/x86/patch.c Please

CVS commit: src/sys/arch/x86/x86

2019-09-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 12 06:39:47 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Fix a normally harmless race: initialize several global variables only on cpu0, so we don't get eg cpu1 re-initializing them while cpu0 is

CVS commit: src/sys/arch/x86/x86

2019-09-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 12 06:39:47 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Fix a normally harmless race: initialize several global variables only on cpu0, so we don't get eg cpu1 re-initializing them while cpu0 is

CVS commit: src/sys/arch/x86/x86

2019-08-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Aug 30 13:29:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Use macro. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x86/x86/spectre.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2019-08-30 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Aug 30 13:29:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Use macro. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x86/x86/spectre.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2019-08-30 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Aug 30 07:53:47 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: avoid misalignment in 32 bit kernels and "mach cpu". To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/arch/x86/x86/cpu.c

CVS commit: src/sys/arch/x86/x86

2019-08-30 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Aug 30 07:53:47 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: avoid misalignment in 32 bit kernels and "mach cpu". To generate a diff of this commit: cvs rdiff -u -r1.171 -r1.172 src/sys/arch/x86/x86/cpu.c

CVS commit: src/sys/arch/x86/x86

2019-07-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 24 04:58:26 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add avx512ifma, cqm_mbm_total, cqm_mbm_local and waitpkg To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

CVS commit: src/sys/arch/x86/x86

2019-07-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 24 04:58:26 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add avx512ifma, cqm_mbm_total, cqm_mbm_local and waitpkg To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33

CVS commit: src/sys/arch/x86/x86

2019-06-13 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jun 14 03:35:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: KASSERT() -> KASSERTMSG() message in _bus_dmamem_alloc_range(). To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/sys/arch/x86/x86

2019-06-13 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Jun 14 03:35:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: KASSERT() -> KASSERTMSG() message in _bus_dmamem_alloc_range(). To generate a diff of this commit: cvs rdiff -u -r1.78 -r1.79

CVS commit: src/sys/arch/x86/x86

2019-06-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 13 07:42:45 UTC 2019 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: lapic_dump(): Print CMCI and thermal local vector table, too. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/sys/arch/x86/x86

2019-06-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 13 07:42:45 UTC 2019 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: lapic_dump(): Print CMCI and thermal local vector table, too. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73

CVS commit: src/sys/arch/x86/x86

2019-06-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 13 07:28:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: apic.c ioapic.c Log Message: Whitespace fix. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/apic.c cvs

CVS commit: src/sys/arch/x86/x86

2019-06-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 13 07:28:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: apic.c ioapic.c Log Message: Whitespace fix. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/apic.c cvs

CVS commit: src/sys/arch/x86/x86

2019-06-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 13 05:19:40 UTC 2019 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: No functional change: - Simplify some code for readability. - KNF a little. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72

CVS commit: src/sys/arch/x86/x86

2019-06-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jun 13 05:19:40 UTC 2019 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: No functional change: - Simplify some code for readability. - KNF a little. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72

CVS commit: src/sys/arch/x86/x86

2019-06-04 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Jun 5 04:31:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Add TODO comments to support MSI multiple vectors on x86 systems. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145

CVS commit: src/sys/arch/x86/x86

2019-06-04 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Jun 5 04:31:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Add TODO comments to support MSI multiple vectors on x86 systems. To generate a diff of this commit: cvs rdiff -u -r1.144 -r1.145

CVS commit: src/sys/arch/x86/x86

2019-06-03 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Mon Jun 3 09:51:04 UTC 2019 Modified Files: src/sys/arch/x86/x86: hyperv.c Log Message: Use efi_probe(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/hyperv.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2019-06-03 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Mon Jun 3 09:51:04 UTC 2019 Modified Files: src/sys/arch/x86/x86: hyperv.c Log Message: Use efi_probe(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/hyperv.c Please note that diffs are not

CVS commit: src/sys/arch/x86/x86

2019-06-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jun 1 08:12:26 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Fix two bugs in pmap_write_protect(): * The mask should be ~PAGE_MASK, not PTE_FRAME. PTE_FRAME eliminates the higher bits, and that's not

CVS commit: src/sys/arch/x86/x86

2019-06-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jun 1 06:54:28 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Mmh, check the highest leaf before calling x86_cpuid(), otherwise on old CPUs we might be getting garbage. While here fix a typo. Likely

CVS commit: src/sys/arch/x86/x86

2019-06-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jun 1 06:54:28 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Mmh, check the highest leaf before calling x86_cpuid(), otherwise on old CPUs we might be getting garbage. While here fix a typo. Likely

CVS commit: src/sys/arch/x86/x86

2019-05-30 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Fri May 31 03:10:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: consinit.c Log Message: Back out r1.30 change. > tuck in include inside ifdef, from Ryosuke Moro It was caused by the reporter's local change. To generate a

CVS commit: src/sys/arch/x86/x86

2019-05-30 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Fri May 31 03:10:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: consinit.c Log Message: Back out r1.30 change. > tuck in include inside ifdef, from Ryosuke Moro It was caused by the reporter's local change. To generate a

CVS commit: src/sys/arch/x86/x86

2019-05-30 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Thu May 30 11:15:29 UTC 2019 Modified Files: src/sys/arch/x86/x86: hyperv.c Log Message: Avoid undefined reference to `hyperv_guid_video' without vmbus(4). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/x86/x86

2019-05-30 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Thu May 30 11:15:29 UTC 2019 Modified Files: src/sys/arch/x86/x86: hyperv.c Log Message: Avoid undefined reference to `hyperv_guid_video' without vmbus(4). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3

CVS commit: src/sys/arch/x86/x86

2019-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 16:43:24 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Avoid the 1<<31 construct Shift unsigned int rather than signed one. Detected with kUBSan when reading /proc/cpuinfo. To generate

CVS commit: src/sys/arch/x86/x86

2019-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 16:43:24 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Avoid the 1<<31 construct Shift unsigned int rather than signed one. Detected with kUBSan when reading /proc/cpuinfo. To generate

CVS commit: src/sys/arch/x86/x86

2019-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 13:20:23 UTC 2019 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Disable sanitizer instrumentation in x86_hotpatch() Local variables have empty (0-sized), unknown alignment to UBSan. This is hard to

CVS commit: src/sys/arch/x86/x86

2019-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 28 13:20:23 UTC 2019 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Disable sanitizer instrumentation in x86_hotpatch() Local variables have empty (0-sized), unknown alignment to UBSan. This is hard to

CVS commit: src/sys/arch/x86/x86

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 18:36:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c svs.c Log Message: Change the effect of SVS on the TLB. Keep CR4_PGE set when SVS is enabled, but don't use PTE_G on the kernel PTEs in general. Add

CVS commit: src/sys/arch/x86/x86

2019-05-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon May 27 18:36:37 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c svs.c Log Message: Change the effect of SVS on the TLB. Keep CR4_PGE set when SVS is enabled, but don't use PTE_G on the kernel PTEs in general. Add

CVS commit: src/sys/arch/x86/x86

2019-05-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 26 00:30:35 UTC 2019 Modified Files: src/sys/arch/x86/x86: consinit.c Log Message: tuck in include inside ifdef, from Ryosuke Moro To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/arch/x86/x86

2019-05-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 26 00:30:35 UTC 2019 Modified Files: src/sys/arch/x86/x86: consinit.c Log Message: tuck in include inside ifdef, from Ryosuke Moro To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30

CVS commit: src/sys/arch/x86/x86

2019-05-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 25 21:02:33 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Fix bug. We must fetch the whole FPU state, otherwise XSTATE_BV could be outdated, and we could be filling the AVX registers with garbage. To

CVS commit: src/sys/arch/x86/x86

2019-05-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 25 21:02:33 UTC 2019 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Fix bug. We must fetch the whole FPU state, otherwise XSTATE_BV could be outdated, and we could be filling the AVX registers with garbage. To

CVS commit: src/sys/arch/x86/x86

2019-05-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 19 07:43:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: genfb_machdep.c Log Message: correct order of parameters, has no effect as anything set here is overwritten by the following reconfig. To generate a diff of

CVS commit: src/sys/arch/x86/x86

2019-05-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 19 07:43:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: genfb_machdep.c Log Message: correct order of parameters, has no effect as anything set here is overwritten by the following reconfig. To generate a diff of

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 13:44:57 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable EagerFPU by default. Sent on port-amd64@. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:54:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Use XC_HIGHPRI for SpectreV2 to reduce the CPU downtime. We already do this for MDS. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 08:54:38 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Use XC_HIGHPRI for SpectreV2 to reduce the CPU downtime. We already do this for MDS. To generate a diff of this commit: cvs rdiff -u -r1.27

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:49:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: errata.c Log Message: Disable errata #1091. We are the only OS to apply it, and it seems to be causing trouble to VirtualBox (PR/54143). To generate a diff of

CVS commit: src/sys/arch/x86/x86

2019-05-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 18 07:49:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: errata.c Log Message: Disable errata #1091. We are the only OS to apply it, and it seems to be causing trouble to VirtualBox (PR/54143). To generate a diff of

Re: CVS commit: src/sys/arch/x86/x86

2019-05-16 Thread Masanobu SAITOH
On 2019/05/16 13:20, Jason Thorpe wrote: > > >> On May 15, 2019, at 9:19 PM, Maxime Villard wrote: >> >> Le 16/05/2019 à 04:36, SAITOH Masanobu a écrit : >>> Module Name:src >>> Committed By: msaitoh >>> Date: Thu May 16 02:36:30 UTC 2019 >>> Modified Files: >>>

CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 16 04:26:13 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Revert rev. 1.29. Use current cpuid 7 edx value to print. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 16 04:26:13 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Revert rev. 1.29. Use current cpuid 7 edx value to print. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31

Re: CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread Masanobu SAITOH
On 2019/05/16 13:19, Maxime Villard wrote: > Le 16/05/2019 à 04:36, SAITOH Masanobu a écrit : >> Module Name:    src >> Committed By:    msaitoh >> Date:    Thu May 16 02:36:30 UTC 2019 >> >> Modified Files: >> src/sys/arch/x86/x86: procfs_machdep.c >> >> Log Message: >>   Use

Re: CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread Jason Thorpe
> On May 15, 2019, at 9:19 PM, Maxime Villard wrote: > > Le 16/05/2019 à 04:36, SAITOH Masanobu a écrit : >> Module Name: src >> Committed By:msaitoh >> Date:Thu May 16 02:36:30 UTC 2019 >> Modified Files: >> src/sys/arch/x86/x86: procfs_machdep.c >> Log Message:

Re: CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread Maxime Villard
Le 16/05/2019 à 04:36, SAITOH Masanobu a écrit : Module Name:src Committed By: msaitoh Date: Thu May 16 02:36:30 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Use ci_feat_val[7] instead of directly getting cpuid 7 edx. To generate a

CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 16 02:42:19 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add md_clear. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x86/x86/procfs_machdep.c Please note

CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 16 02:42:19 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add md_clear. To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/x86/x86/procfs_machdep.c Please note

CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 16 02:36:30 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Use ci_feat_val[7] instead of directly getting cpuid 7 edx. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

CVS commit: src/sys/arch/x86/x86

2019-05-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu May 16 02:36:30 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Use ci_feat_val[7] instead of directly getting cpuid 7 edx. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29

Re: CVS commit: src/sys/arch/x86/x86

2019-01-06 Thread Cherry G . Mathew
Maxime Villard writes: > Can we do something about it now? It's been more than a week, and the issue is > still there. NVMM still doesn't modload, same for procfs, and GENERIC_KASLR > doesn't work either. > > This needs to be fixed now, and we should not start adding random hacks all > over the

Re: CVS commit: src/sys/arch/x86/x86

2019-01-05 Thread Maxime Villard
Can we do something about it now? It's been more than a week, and the issue is still there. NVMM still doesn't modload, same for procfs, and GENERIC_KASLR doesn't work either. This needs to be fixed now, and we should not start adding random hacks all over the place (like the one below). Le

re: CVS commit: src/sys/arch/x86/x86

2018-12-04 Thread matthew green
Joerg Sonnenberger writes: > On Tue, Dec 04, 2018 at 07:27:22PM +, Cherry G. Mathew wrote: > > Module Name:src > > Committed By: cherry > > Date: Tue Dec 4 19:27:22 UTC 2018 > > > > Modified Files: > > src/sys/arch/x86/x86: cpu.c intr.c > > > > Log Message: >

Re: CVS commit: src/sys/arch/x86/x86

2018-12-04 Thread Joerg Sonnenberger
On Tue, Dec 04, 2018 at 07:27:22PM +, Cherry G. Mathew wrote: > Module Name: src > Committed By: cherry > Date: Tue Dec 4 19:27:22 UTC 2018 > > Modified Files: > src/sys/arch/x86/x86: cpu.c intr.c > > Log Message: > Hypothetically speaking, if one were to want to compile a >

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Kamil Rytarowski
On 08.07.2018 15:56, Christos Zoulas wrote: > In article <20180708092413.gb8...@mail.duskware.de>, > Martin Husemann wrote: >> On Sun, Jul 08, 2018 at 10:49:53AM +0200, Jaromír Dole?ek wrote: Module Name:src Committed By: kamil Date: Sat Jul 7 23:05:50 UTC 2018

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Kamil Rytarowski
On 08.07.2018 10:49, Jaromír Doleček wrote: > Shouldn't this: > > memtop |= (uint16_t)mpbios_page[0x414] << 8; > > be actually << 16 to keep the same semantics? > No. This is a 2-byte (x86 word) variable. One byte has to be stored with the 8 bits shift. If it would be differently it would

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Christos Zoulas
In article <20180708092413.gb8...@mail.duskware.de>, Martin Husemann wrote: >On Sun, Jul 08, 2018 at 10:49:53AM +0200, Jaromír Dole?ek wrote: >> > Module Name:src >> > Committed By: kamil >> > Date: Sat Jul 7 23:05:50 UTC 2018 >> > >> > Modified Files: >> >

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Martin Husemann
On Sun, Jul 08, 2018 at 10:49:53AM +0200, Jaromír Dole?ek wrote: > > Module Name:src > > Committed By: kamil > > Date: Sat Jul 7 23:05:50 UTC 2018 > > > > Modified Files: > > src/sys/arch/x86/x86: mpbios.c > > > > Log Message: > > Remove unaligned access to mpbios_page[] >

Re: CVS commit: src/sys/arch/x86/x86

2018-07-08 Thread Jaromír Doleček
Shouldn't this: memtop |= (uint16_t)mpbios_page[0x414] << 8; be actually << 16 to keep the same semantics? Jaromir Le dim. 8 juil. 2018 à 01:05, Kamil Rytarowski a écrit : > > Module Name:src > Committed By: kamil > Date: Sat Jul 7 23:05:50 UTC 2018 > > Modified Files: >

Re: CVS commit: src/sys/arch/x86/x86

2018-06-21 Thread Maxime Villard
transféré Sujet : Re: Fwd: CVS commit: src/sys/arch/x86/x86 Date : Thu, 21 Jun 2018 07:23:33 +0100 De : Nick Hudson Pour : Maxime Villard On 21/06/2018 07:21, Maxime Villard wrote: Le 21/06/2018 à 08:11, Nick Hudson a écrit : On 21/06/2018 06:42, Maxime Villard wrote: Le 21/06/20

re: CVS commit: src/sys/arch/x86/x86

2018-06-21 Thread matthew green
"Maxime Villard" writes: > Module Name: src > Committed By: maxv > Date: Tue Jun 19 09:25:13 UTC 2018 > > Modified Files: > src/sys/arch/x86/x86: fpu.c > > Log Message: > When using EagerFPU, create the fpu state in execve at IPL_HIGH. why splhigh instead of kpreempt_disable()?

Re: CVS commit: src/sys/arch/x86/x86

2018-06-08 Thread Jason Thorpe
> On Jun 7, 2018, at 7:59 AM, m...@netbsd.org wrote: > > You've changed a default and selectively fixed the one driver that > people noticed breaks from it. How do you know the rest aren't broken? As you know, there is very little certainty in this world. For example, how can I be certain

  1   2   3   >