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

2020-03-19 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Mar 19 18:58:14 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: PR port-amd64/55083 (assertion "pmap->pm_stats.resident_count == PDP_SIZE" failed) Reported-by:

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

2020-03-18 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Mar 18 18:54:28 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Pacify assertion in a failure path. Reported-by: syzbot+e666891e2bc5caee1...@syzkaller.appspotmail.com To generate a diff of this commit: cvs

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

2020-03-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Mar 17 22:38:14 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: - Change some expensive checks DEBUG -> DIAGNOSTIC. - Mark some small functions inline. - Add an assertion. To generate a diff of this commit:

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

2020-03-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Mar 17 22:37:05 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: - pmap_enter(): under low memory conditions, if PTP allocation succeeded and then PV entry allocation failed, PTP pages were being freed without

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

2020-03-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Mar 17 18:40:35 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: - Add more assertions. - Range clipping for pmap_remove(): only need to keep track of the lowest VA in PTP, as ptp->wire_count provides an

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

2020-03-17 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Mar 17 13:34:51 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add a bunch of assertions. To generate a diff of this commit: cvs rdiff -u -r1.370 -r1.371 src/sys/arch/x86/x86/pmap.c Please note that diffs

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

2020-03-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 15 19:41:05 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Fix a comment. To generate a diff of this commit: cvs rdiff -u -r1.369 -r1.370 src/sys/arch/x86/x86/pmap.c Please note that diffs are not

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

2020-03-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 15 15:14:23 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: pmap_enter(): look directly in the tree for old PVE when installing an unmanaged mapping, because there is no existing pmap_page to check in the

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

2020-03-14 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Mar 14 20:48:40 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Re: kern/55071 (Panic shortly after running X11 due to kernel diagnostic assertion "mutex_owned(>pp_lock)") pmap_pp_remove(): get rid of a

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

2020-03-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 14 05:19:50 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: On amd64, mark the whole tree as NX. No real functional change, just to prevent possible future surprises, and to make it a little harder to map

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

2020-03-07 Thread Maya Rashish
Module Name:src Committed By: maya Date: Sat Mar 7 13:28:45 UTC 2020 Modified Files: src/sys/arch/x86/x86: via_padlock.c Log Message: Fold constant. err is always 0, so switch to return 0; To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28

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

2020-03-07 Thread Frederic Cambus
Module Name:src Committed By: fcambus Date: Sat Mar 7 12:31:50 UTC 2020 Modified Files: src/sys/arch/x86/x86: via_padlock.c Log Message: Return error values directly where appropriate, instead of using the err variable. To generate a diff of this commit: cvs rdiff -u

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

2020-03-04 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Mar 4 22:00:03 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: pmap_enter(): ditch pv_entry if unmanaged. Shouldn't happen I think, but do for the sake of correctness. To generate a diff of this commit: cvs

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

2020-03-01 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Mar 1 21:42:58 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: - Give pmap uvm_objects an empty pagerops to avoid special casing in UVM. (This use of uvm_object causes a disproportionate amount of work.) -

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

2020-02-29 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Feb 29 20:17:11 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: PR kern/55033: kernel panics when starting X Remove the uvm_page_owner_locked_p() assertions in the x86 pmap. The DRM code doesn't follow the

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

2020-02-23 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Feb 23 18:57:28 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: Adjustment to previous: TP_SET_DONE() was wiping out the VA to shoot, instead of ORing the flag into the array element. This caused the CPU

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

2020-02-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Feb 22 20:12:40 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: add relaxed atomics, ok ad@ riastradh@ To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/x86/x86/x86_tlb.c Please

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

2020-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Feb 21 18:34:37 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: In pmap_changeprot_local(), drop the dirty bit along with the write bit. To generate a diff of this commit: cvs rdiff -u -r1.356 -r1.357

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

2020-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Feb 21 18:31:56 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add comments. To generate a diff of this commit: cvs rdiff -u -r1.355 -r1.356 src/sys/arch/x86/x86/pmap.c Please note that diffs are not

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

2020-01-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 31 08:55:38 UTC 2020 Modified Files: src/sys/arch/x86/x86: dbregs.c fpu.c spectre.c svs.c Log Message: 'oldlwp' is never NULL now, so remove the NULL checks. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

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

2020-01-29 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Thu Jan 30 01:49:44 UTC 2020 Modified Files: src/sys/arch/x86/x86: multiboot2.c Log Message: Insert memory map with its real size, not the maximum possible. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

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

2020-01-28 Thread Emmanuel Dreyfus
Module Name:src Committed By: manu Date: Wed Jan 29 01:54:34 UTC 2020 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Fix startup crashes caused by wrong memory map handling init_x86_vm() takes the memory map from BIOS and EFI and selects regions

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

2020-01-25 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sat Jan 25 15:38:24 UTC 2020 Modified Files: src/sys/arch/x86/x86: vm_machdep.c Log Message: cpu_lwp_free() can be called with (l != curlwp) in error paths, so don't detonate. To generate a diff of this commit: cvs rdiff -u -r1.40

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

2020-01-19 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Mon Jan 20 06:50:34 UTC 2020 Modified Files: src/sys/arch/x86/x86: cpu_topology.c Log Message: assert smt_bits value only after it is computed. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18

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

2020-01-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jan 17 04:48:21 UTC 2020 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add Fast Short Rep Mov(fsrm). To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35

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

2020-01-13 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Tue Jan 14 01:41:37 UTC 2020 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: If "application processors" were skipped/disabled at boot time (due to RB_MD1 being set), don't try to examine the featurebus info, since it

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

2020-01-08 Thread Andrew Doran
Module Name:src Committed By: ad Date: Wed Jan 8 15:47:50 UTC 2020 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Make "mach cpu" in ddb show the IPL for each cpu. To generate a diff of this commit: cvs rdiff -u -r1.179 -r1.180 src/sys/arch/x86/x86/cpu.c

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

2020-01-07 Thread Andrew Doran
Module Name:src Committed By: ad Date: Tue Jan 7 21:18:24 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: pmap_ept_enter(): PTE -> EPT in two places. To generate a diff of this commit: cvs rdiff -u -r1.353 -r1.354 src/sys/arch/x86/x86/pmap.c Please

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

2020-01-02 Thread Andrew Doran
Module Name:src Committed By: ad Date: Thu Jan 2 21:17:14 UTC 2020 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remove unused argment to pmap_remove_pv(). To generate a diff of this commit: cvs rdiff -u -r1.350 -r1.351 src/sys/arch/x86/x86/pmap.c Please

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

2019-12-27 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sat Dec 28 00:38:08 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: #include "opt_xen.h" so we can tell if we're in a XEN kernel. We need to know this in order to set module_machine correctly, which

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

2019-12-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 22 16:50:03 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix compile on !DIAGNOSTIC. To generate a diff of this commit: cvs rdiff -u -r1.148 -r1.149 src/sys/arch/x86/x86/intr.c Please note that diffs

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

2019-12-22 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 22 15:15:20 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: pmap_get_ptp(): the uvm_pagefree() call in the failure case can block too. Pacify the assertion in pmap_unmap_ptes(). XXX Revisit and solve this

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

2019-12-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 16 19:20:45 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: pmap_unmap_ptes(): ci_want_pmapload isn't dependant on TLB state. To generate a diff of this commit: cvs rdiff -u -r1.345 -r1.346

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

2019-12-16 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 16 19:17:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: Align the TLB packet precisely on the stack, and do 7 INVLPG since it's what fits in a single line. To generate a diff of this commit: cvs

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

2019-12-15 Thread Andrew Doran
Module Name:src Committed By: ad Date: Sun Dec 15 20:33:22 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: - Share common code between pmap_load() and pmap_map_ptes(). - Make pmap_map_ptes() better tolerate recovery from blocking. To generate a diff

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

2019-12-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Dec 12 16:49:20 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Check CPUID.IBRS in addition to ARCH_CAP.IBRS_ALL. For clarity, and also because VirtualBox clears the former but forgets to clear the latter

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

2019-12-03 Thread Juergen Hannken-Illjes
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 preemption between loop end and dereference of

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

2019-12-03 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Dec 3 11:50:16 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Make cpu_intr_p() work with "curlwp->l_cpu == NULL" and assert "curlwp == " in this case. Prevents crash during early boot with

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

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue Dec 3 04:57:25 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_space.c Log Message: Skip fences in bus_space_barrier on I/O space. I/O operations are issued in program order. Not that I/O operations are usually a

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

2019-12-02 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Mon Dec 2 20:59:56 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: Fix tyo in comment To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86/x86/x86_tlb.c Please note that diffs

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

2019-12-02 Thread Andrew Doran
Module Name:src Committed By: ad Date: Mon Dec 2 19:49:12 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: Fix a hard hang with Xen MP. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/x86_tlb.c Please note that

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

2019-12-02 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Dec 2 08:33:52 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_space.c Log Message: Use LFENCE/SFENCE/MFENCE in x86 bus_space_barrier. These are needed for BUS_SPACE_MAP_PREFETCHABLE mappings. On x86, these are

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

2019-05-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 10 18:21:01 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Clean up, and add sanity checks on the microcode lengths. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17

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

2019-05-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu May 9 18:53:14 UTC 2019 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Invalidate the cache before updating the microcode. Some platforms require this. Seen in Illumos and FreeBSD. To generate a diff of

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

2019-04-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Apr 27 10:40:17 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Add support for EnhancedIBRS, a more performant mitigation for SpectreV2, available on future CPUs (or maybe they already exist now...). To

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

2019-04-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Apr 21 06:37:21 UTC 2019 Modified Files: src/sys/arch/x86/x86: bus_dma.c db_memrw.c kgdb_machdep.c svs.c x86_tlb.c Log Message: Rename the PTE bits. To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78

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

2019-03-23 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Mar 23 10:02:05 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c svs.c Log Message: In fact, xc_broadcast also applies to offline CPUs, so we don't need to make sure each CPU is online. Remove the checks, I suspect they

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

2019-03-12 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Mar 12 08:29:52 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Add missing space in "wiring for pmap .. did not change" message To generate a diff of this commit: cvs rdiff -u -r1.330 -r1.331

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

2019-02-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Feb 21 14:31:55 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remove wrong KASSERT in EPT, and reorder the code to reduce duplication. To generate a diff of this commit: cvs rdiff -u -r1.324 -r1.325

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

2019-02-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Feb 18 19:03:12 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Fix stupid mistake, I didn't reflect correctly the behavior of pmap_sync_pv in the EPT callback, 'optep' can be NULL. To generate a diff of

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

2019-02-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Feb 18 05:41:20 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: - Add wbnoinvd, virt_ssbd, tme, cldemote, movdiri, movdir64b and pconfig. - Move AMD 0x8008 ebx's ibpb, ibrs and stibp to

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

2019-02-16 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Sun Feb 17 05:06:16 UTC 2019 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69. To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70

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

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Feb 12 03:13:50 UTC 2019 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix typo: Parameters are seperated by ','. To generate a diff of this commit: cvs rdiff -u -r1.141 -r1.142 src/sys/arch/x86/x86/intr.c

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

2019-02-11 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Feb 11 18:50:15 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Detect and report running in a XEN hvm container. This allows the lapic code to apply its x2apic probe logic while running in a XEN hvm

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

2019-01-31 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jan 31 20:42:31 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Move some code into a separate function, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.316 -r1.317

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

2019-01-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sun Jan 27 05:08:05 UTC 2019 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: fix duplicated chunk from merge To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x86/x86/spectre.c Please

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

2019-01-19 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Jan 19 13:17:33 UTC 2019 Modified Files: src/sys/arch/x86/x86: db_memrw.c Log Message: PR kern/53893: add missing #ifdef DDB around db_printf calls. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8

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

2019-01-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jan 17 14:24:51 UTC 2019 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Simplify pmap_sync_pv: just pass a pa, and build the pte inside. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316

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

2019-01-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jan 14 18:54:07 UTC 2019 Modified Files: src/sys/arch/x86/x86: dbregs.c Log Message: Add #ifndef i386, the dbregs are 32bit in this case anyway. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

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

2019-01-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jan 13 12:16:58 UTC 2019 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: On certain AMD f10h CPUs (like mine), the BIOS does not enable WC+. It means that the guest pages that are WC+ become CD, and this degrades

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

2019-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jan 6 16:19:12 UTC 2019 Modified Files: src/sys/arch/x86/x86: x86_tlb.c Log Message: Flush the host TLB too when dealing with a guest pmap. The pmap is not active on the host so the pages aren't cached; but the recursive PTE

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

2019-01-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 6 15:37:18 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: restore original now that weak symbols are gone To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27

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

2019-01-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Jan 5 20:32:02 UTC 2019 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Comment out rcr0 use until the weak symbol mess is undone. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26

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

2018-12-24 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 24 22:05:45 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c mp.c x86_machdep.c Log Message: Towards bifurcating XEN and native interrupt related functions, this is a preliminary cleanup sweep. Move functions

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

2018-12-23 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 23 12:11:41 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: whitespace, NFC To generate a diff of this commit: cvs rdiff -u -r1.137 -r1.138 src/sys/arch/x86/x86/intr.c Please note that diffs are

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

2018-12-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 22 10:00:39 UTC 2018 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: In the end, disable the supposed architectural SpectreV2 mitigation on AMD f12h and f16h. The SDMs of these CPUs haven't been updated since,

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

2018-12-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 22 09:20:30 UTC 2018 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: Add AMD_SSB_NO, so that we explicitly say than an AMD CPU is not affected when it's not affected. To generate a diff of this commit: cvs

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

2018-12-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 22 08:59:45 UTC 2018 Modified Files: src/sys/arch/x86/x86: spectre.c Log Message: If the CPU is not vulnerable to SpectreV4, say it in the sysctl by default. Apply some minor style while here. To generate a diff of this

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

2018-12-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Dec 17 16:26:03 UTC 2018 Modified Files: src/sys/arch/x86/x86: ipmi.c Log Message: Back to using aprint_error() and get more info about the error so we can figure out why we can't map the registers. To generate a diff of

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

2018-12-17 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Mon Dec 17 15:12:52 UTC 2018 Modified Files: src/sys/arch/x86/x86: ipmi.c Log Message: Don't call aprint_error_dev() with a NULL dev. Fixes PR port-amd64/53789. To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69

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

2018-12-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Dec 17 07:10:07 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remove dead checks, they were already pointless when I fixed them a few years ago, and now they are wrong because the PTE space is randomized.

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

2018-12-16 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Sun Dec 16 20:58:00 UTC 2018 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: use ci_ipending instead of ci_istate.ipending, NFC To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68

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

2018-12-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Dec 16 10:42:32 UTC 2018 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Explicitly disable ALTINST on VIA, in case it isn't disabled by default already (the 'VIA cpu backdoor'). To generate a diff of this

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

2018-12-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Dec 6 17:44:28 UTC 2018 Modified Files: src/sys/arch/x86/x86: svs.c Log Message: Simplify, use _pi instead of modulos, no real functional change. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

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

2018-12-04 Thread Cherry G. Mathew
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 'no options MULTIPROCESSOR' kernel, these files may trip up the build. Fix

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

2018-12-04 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Dec 4 19:22:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Stop panic()ing on a UP system. The reason for the panic is that the cpu_attach() doesn't run to completion because it thinks it's run past

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

2018-12-03 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Dec 3 19:46:43 UTC 2018 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Do not assume that all uses of efi are pci aware. Allow efi.c to compile in the case where pci is not enabled. To generate a diff of this

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

2018-11-19 Thread Jaromir Dolecek
Module Name:src Committed By: jdolecek Date: Mon Nov 19 22:21:33 UTC 2018 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: enable XSAVE (and hence AVX) under XEN by default, fixes PR kern/50332 okayed by maxv@ To generate a diff of this commit: cvs rdiff

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

2018-11-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 18 14:16:13 UTC 2018 Modified Files: src/sys/arch/x86/x86: db_memrw.c Log Message: fix whitespace To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/db_memrw.c Please note that diffs are

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

2018-11-15 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Nov 15 16:58:56 UTC 2018 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: No need to write any initializer here, casted or otherwise. (Sorry about the build breakage; thanks, kre!) To generate a diff of this

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

2018-11-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Nov 15 11:20:59 UTC 2018 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Update signature in prototype of efi_relva() to match change in definition in previous, and explicitly cast NULL to paddr_t to avoid gcc noise.

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

2018-11-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Nov 15 04:53:54 UTC 2018 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: - I misread ci_acpiid as ci_apicid... LAPIC ID is in ci_cpuid. Print it correctly. - ci_initapicid(Initial APIC ID) is uint32_t,

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

2018-11-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Nov 12 18:10:37 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Add a comment explaining an important rule. Just to better highlight that this rule is actually not respected. To generate a diff of this

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

2018-11-10 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Nov 10 11:08:54 UTC 2018 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Merge the VIA detection code into cpu_probe_c3. To generate a diff of this commit: cvs rdiff -u -r1.81 -r1.82

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

2018-11-08 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Nov 8 10:55:41 UTC 2018 Modified Files: src/sys/arch/x86/x86: sys_machdep.c Log Message: Simplify the ifdefs, and error out if XEN and USER_LDT are both defined. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

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

2018-10-23 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Wed Oct 24 03:51:21 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: When returning a cached shared irq event value, DTRT To generate a diff of this commit: cvs rdiff -u -r1.134 -r1.135

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

2018-10-17 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Oct 18 04:14:07 UTC 2018 Modified Files: src/sys/arch/x86/x86: idt.c Log Message: Make compile-time type differentiation more explicit. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86/idt.c

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

2018-10-08 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Mon Oct 8 08:05:08 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c intr.c ioapic.c Log Message: Clean up XEN specific stuff from the apic code, and move to intr.c No functional change. To generate a diff of this

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

2018-10-07 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Oct 7 16:36:36 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c ioapic.c Log Message: In the case of a shared GSI, bind will fail, so we do not attempt this. The sharing is accomplished by demultiplexing the port event

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

2018-10-06 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sun Oct 7 05:28:51 UTC 2018 Modified Files: src/sys/arch/x86/x86: i8259.c ioapic.c Log Message: While we're here, fix pic->pic_delroute() to DTRT on XEN and cleanup after itself. To generate a diff of this commit: cvs rdiff -u

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

2018-09-29 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Sat Sep 29 13:19:38 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: For i386 XEN3PAE_DOM0, use the "native" idt registration infrastructure by removing the #ifndef XEN clause. This will hopefully be the last

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

2018-09-19 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Thu Sep 20 05:08:45 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: When we removed the XEN special case from isa/isa_machdep.c there was a corner case that was missed in x86/intr.c:intr_establish_xname() In

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

2018-09-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Sep 19 16:23:05 UTC 2018 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: i386 xen is pae To generate a diff of this commit: cvs rdiff -u -r1.119 -r1.120 src/sys/arch/x86/x86/x86_machdep.c Please note that

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

2018-09-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Sep 17 15:53:06 UTC 2018 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Reduce the noise, reorder and rename some things for clarity. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47

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

2018-09-13 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Sep 14 01:50:51 UTC 2018 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: fix a !MP build issue. To generate a diff of this commit: cvs rdiff -u -r1.128 -r1.129 src/sys/arch/x86/x86/intr.c Please note that diffs are

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

2018-08-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Aug 18 08:45:55 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Simplify the conditions. Fixes compilation of native amd64 without direct map. To generate a diff of this commit: cvs rdiff -u -r1.302 -r1.303

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

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 11:51:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Reduce the minefield: zero out the pdir only once, at the beginning of the function. This eliminates one assumption on the order of the VM

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

2018-08-12 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 10:45:27 UTC 2018 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Take the last area into account, there is a hole before it. To generate a diff of this commit: cvs rdiff -u -r1.296 -r1.297

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

2018-08-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Aug 12 05:43:42 UTC 2018 Modified Files: src/sys/arch/x86/x86: errata.c Log Message: enable the two errata for AMD Family 16h, tested by mrg@, thanks To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25

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

2018-07-26 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Jul 26 08:22:19 UTC 2018 Modified Files: src/sys/arch/x86/x86: cpu.c pmap.c Log Message: Remove useless/outdated comments. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.159 -r1.160

<    1   2   3   4   5   6   7   8   >