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

2017-01-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 18 12:15:21 UTC 2017 Modified Files: src/sys/arch/x86/x86: dbregs.c Log Message: Fix bug with swapped event type and register that fired in hw watchpoints Swap bits for DR_EVENT_MASK and DR_REGISTER_MASK. Sponsored by

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

2017-01-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 18 05:48:16 UTC 2017 Modified Files: src/sys/arch/x86/x86: dbregs.c Log Message: Remove assert that Debug Registers are not mixed with Debug Trap Flag New code is designed to mix them. Sponsored by To generate a diff o

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

2017-01-10 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Tue Jan 10 09:48:23 UTC 2017 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: While reserving memory at boot time via uvm_physseg_unplug(9), in the case of a disappearing segment (due to a segment sized msgbuf) mak

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

2017-01-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jan 6 09:04:06 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Rename a few things To generate a diff of this commit: cvs rdiff -u -r1.235 -r1.236 src/sys/arch/x86/x86/pmap.c Please note that diffs are not

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

2016-12-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 20 12:48:30 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Depend on KERNTEXTOFF - KERNBASE, not IOM_END, both are equal but the text address may change in the future. To generate a diff of this

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 15:23:08 UTC 2016 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Remove a wrong comment - the FPU save size should never be percpu -, and be more explicit about Xen. To generate a diff of this commit: cvs

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

2016-12-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Dec 17 13:43:33 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use pmap_bootstrap_valloc and simplify. By the way, I think the cache stuff is wrong, since the pte is not necessarily aligned to 64 bytes, so no

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

2016-12-07 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Dec 8 06:28:21 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: - Remove "pcommit". - Add "rdt_a". To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/x86/procfs_machd

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

2016-12-06 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Dec 6 15:09:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Memory leak, found by Mootja To generate a diff of this commit: cvs rdiff -u -r1.95 -r1.96 src/sys/arch/x86/x86/intr.c Please note that diffs

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

2016-11-25 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 25 14:26:53 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remove this comment and allow the beginning of .data to be mapped with large pages. The issue is fixed, the lapic va is dynamically allocated now

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

2016-11-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Nov 17 16:32:06 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Unmap tmpva once we are done using it, not to pollute the page tree. To generate a diff of this commit: cvs rdiff -u -r1.226 -r1.227 src/sys/ar

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

2016-11-15 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Wed Nov 16 07:13:01 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: avoid a failure of interrupt affinity when the interrupt is pending. pointed out and reviewed by ozaki-r@n.o, thanks. To generate a diff

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

2016-11-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Nov 13 12:58:40 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap_tlb.c Log Message: Explain why this is the right value, otherwise someone (like me) could be tempted to increase it. The invlpg part is from rmind, the statisti

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

2016-11-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Nov 11 09:47:18 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Update the pmap only once To generate a diff of this commit: cvs rdiff -u -r1.223 -r1.224 src/sys/arch/x86/x86/pmap.c Please note that diffs a

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

2016-11-09 Thread Ryota Ozaki
Module Name:src Committed By: ozaki-r Date: Thu Nov 10 03:32:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: vmt.c Log Message: Fix a breakout of loops As the comment "find first available ipv4 address" indicates, if an IP address is found, we need to leave the two nest

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

2016-10-15 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Oct 15 09:50:27 UTC 2016 Modified Files: src/sys/arch/x86/x86: lapic.c Log Message: Instead of setting the TPR to the value that was in the data segment, set zero directly. On amd64, the data version of lapic_tpr is not explicit

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

2016-09-29 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Sep 29 17:01:43 UTC 2016 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Remove outdated comments, typos, rename and reorder a few things. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/sys/arch/x86

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

2016-09-24 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Sep 24 21:13:44 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c sys_machdep.c Log Message: LDT handling fixes: - add missing membar_store_store ("membar_producer") when setting a new ldt; - use UVM_KMF_WAITVA w

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

2016-08-24 Thread NONAKA Kimihiro
Module Name:src Committed By: nonaka Date: Wed Aug 24 10:27:23 UTC 2016 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: fix incorrect check in efi_getcfgtblhead(). To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/efi.c Please not

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

2016-08-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 19 18:24:57 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Switch the XXXCDC to panics. Normally it should never be triggered, since the kernel space is above the PTE space, and the user space is below it

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

2016-08-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Aug 19 18:04:39 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Rename new_pve2 -> new_sparepve, makes it less bizarre. To generate a diff of this commit: cvs rdiff -u -r1.218 -r1.219 src/sys/arch/x86/x86/pm

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

2016-08-18 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Thu Aug 18 12:36:35 UTC 2016 Modified Files: src/sys/arch/x86/x86: fpu.c Log Message: Simplify. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/fpu.c Please note that diffs are not public domain

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

2016-08-08 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Aug 8 09:39:06 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: - Update VIA/Cyrix/Centaur-defined bits. Part of PR#39950 - Fix comment. x86_features[4] is not 0x8001 but 0x0001 - Update c

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

2016-08-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Aug 1 16:07:39 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: This panic is wrong. There could be two consecutive clusters below avail_start. To generate a diff of this commit: cvs rdiff -u -r1.74 -

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

2016-07-27 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 27 12:08:46 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Re-enable large pages on the data segment, but don't map the first page, and add a comment to explain why. We will have to move the LAPIC VA. Th

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

2016-07-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 22 13:01:44 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Simplify pmap_alloc_level. It is designed to work only with normal_pdes and PTP_LEVELS, so don't pass them as argument. While here, explain what

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

2016-07-22 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 22 12:36:04 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Unused. To generate a diff of this commit: cvs rdiff -u -r1.213 -r1.214 src/sys/arch/x86/x86/pmap.c Please note that diffs are not public doma

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

2016-07-20 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Wed Jul 20 12:33:59 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: There is a huge bug in the way a uvm_map_protect is processed on x86. When mprotecting a page, the kernel updates the uvm protection associated

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

2016-07-19 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Tue Jul 19 18:54:45 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: This loop makes no sense at all. To generate a diff of this commit: cvs rdiff -u -r1.211 -r1.212 src/sys/arch/x86/x86/pmap.c Please note that

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

2016-07-17 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sun Jul 17 10:46:43 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Simplify x86_add_cluster. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/x86/x86/x86_machdep.c Please note

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

2016-07-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 16 17:13:25 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: KNF, and rename. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/arch/x86/x86/x86_machdep.c Please note that diff

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

2016-07-16 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 16 14:51:45 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: Introduce x86_load_region(), and explain a little what we are doing. To generate a diff of this commit: cvs rdiff -u -r1.70 -r1.71 src/s

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

2016-07-11 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Jul 11 23:09:35 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: should use strlcpy instead of strncpy. pointed out by dholland@n.o. To generate a diff of this commit: cvs rdiff -u -r1.93 -r1.94 src/sys

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

2016-07-11 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Mon Jul 11 14:18:16 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: KNF and simplify a little. To generate a diff of this commit: cvs rdiff -u -r1.210 -r1.211 src/sys/arch/x86/x86/pmap.c Please note that diffs

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

2016-07-11 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Mon Jul 11 09:42:20 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: strncpy should use destination buf length instead of source buf length. pointed out by nonaka@n.o. To generate a diff of this commit: cvs

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

2016-07-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 9 09:33:21 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Simplify pmap_get_physpage. To generate a diff of this commit: cvs rdiff -u -r1.209 -r1.210 src/sys/arch/x86/x86/pmap.c Please note that diffs

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

2016-07-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 9 09:25:44 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use pmap_bootstrap_palloc. To generate a diff of this commit: cvs rdiff -u -r1.208 -r1.209 src/sys/arch/x86/x86/pmap.c Please note that diffs

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

2016-07-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 9 08:05:47 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: When a user pmap is created, it is populated with the higher kernel slots, which become accessible upon kernel entry (syscall, cpu switch, or wha

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

2016-07-09 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 9 07:47:25 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: KNF this function a little To generate a diff of this commit: cvs rdiff -u -r1.206 -r1.207 src/sys/arch/x86/x86/pmap.c Please note that diffs

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 12:36:43 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: There is no direct map on i386, and therefore we always need to use temporary VAs and PTEs when mapping an area. These temporary VAs don't need t

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 12:18:35 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Surprisingly enough, the kernel expects the CPU to support large pages when creating the direct map on amd64. Therefore, the amd64 CPUs that do n

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 12:12:06 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: KNF a little, remove some stupid comments, and add some when needed. To generate a diff of this commit: cvs rdiff -u -r1.203 -r1.204 src/sys/ar

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 11:57:11 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: We use only one L4 slot for the direct map, which means that we cannot map more than 512GB. Panic properly if this limit is reached. To generat

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 11:44:05 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Use pmap_bootstrap_valloc and pmap_bootstrap_palloc under XEN at least once, for these not to appear as unused functions (not tested, but I guess

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 11:39:46 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Create the direct map in a separate function. While here, add some comments to explain what we are doing. No functional change. To generate a d

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 11:28:18 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Introduce pmap_bootstrap_valloc and pmap_bootstrap_palloc, that are used to allocate a virtual/physical address before the VM system has been set

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

2016-07-01 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 1 11:20:02 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Put the code in charge of remapping the kernel segments with large pages into another function. No functional change. To generate a diff of thi

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

2016-06-20 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Jun 20 08:14:06 UTC 2016 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Prevent use after free. Don't free an interrupt source still in use. Ok: Kengo NAKAHARA To generate a diff of this commit: cvs rdiff -u -r

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

2016-06-10 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Fri Jun 10 07:50:15 UTC 2016 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: Add missing \n (I triggered the systbl message on a qemu virtual machine!) To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/s

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

2016-05-21 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 21 07:15:56 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: There is an issue in the way the direct map is set up on amd64. When allocating memory, the kernel allocates physical pages and virtual addresse

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

2016-05-14 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat May 14 09:37:21 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: The NOX bit on large pages does not need to be amd64-specific anymore. The i386 secondary CPUs can now properly handle it. To generate a diff o

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

2016-05-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 13 11:47:02 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Actually, make the NOX part amd64-specific. The secondary CPUs bug is not yet fixed on i386. To generate a diff of this commit: cvs rdiff -u -r

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

2016-05-13 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri May 13 10:24:42 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Remap the rodata and data+bss segments with large pages on x86. There still is a bug in the way the text segment is mapped, but I'll see later.

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

2016-04-27 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Apr 27 08:45:22 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Take some changes from the Linux's latest x86/include/asm/cpufeatures.h. - Add ptsc, avx512dq, avx512bw and avx512vl - Remove some

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

2016-04-03 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun Apr 3 10:32:00 UTC 2016 Modified Files: src/sys/arch/x86/x86: ipmi.c Log Message: Only fix up IPMI on ProLiant Microserver when address if set. Don't assume a specific preconfigured address, just clear the lower bits. To g

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

2016-03-30 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 30 21:16:22 UTC 2016 Modified Files: src/sys/arch/x86/x86: powernow.c Log Message: PR/51016: David Binderman: comment out pointless code. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/x86

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

2016-02-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Feb 29 00:17:54 UTC 2016 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Let the compiler decide whether to inline. Works around ICE in PCC for now: /home/riastradh/netbsd/current/src/sys/arch/x86/x86/cpu_rng

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

2016-02-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Feb 28 20:51:03 UTC 2016 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x86/x86/cpu_rng.c Please note tha

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

2016-02-26 Thread Thor Lancelot Simon
Module Name:src Committed By: tls Date: Sat Feb 27 00:43:55 UTC 2016 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Add RDSEED and RDRAND backends for cpu_rng on amd64 and i386. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x8

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

2016-02-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Feb 12 05:32:47 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Fix typo in comment. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/arch/x86/x86/procfs_machdep.c Please n

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

2016-01-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 29 02:40:22 UTC 2016 Modified Files: src/sys/arch/x86/x86: efi.c Log Message: fix printf formats To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/x86/efi.c Please note that diffs are not pu

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

2016-01-27 Thread John Nemeth
Module Name:src Committed By: jnemeth Date: Thu Jan 28 06:52:55 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: move #ifdef notyet to encompass all relevant parts To generate a diff of this commit: cvs rdiff -u -r1.69 -r1.70 src/sys/arch/x86/x86

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

2016-01-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 28 01:08:43 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: fix previous commit that ate all 4's, and add aprint_btinfo() To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/sys/

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

2016-01-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 28 00:18:27 UTC 2016 Modified Files: src/sys/arch/x86/x86: x86_machdep.c Log Message: just whitespace. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/x86/x86/x86_machdep.c Please note that

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

2016-01-26 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Jan 26 14:34:50 UTC 2016 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: Operation pmap_pp_clear_attrs() may remove the "used" attribute from a page that is still cached in the TLB of other CPUs. Call pmap_tlb_shoo

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

2016-01-17 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jan 18 05:59:37 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Add comments. Fix comments. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/arch/x86/x8

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

2016-01-13 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 13 08:05:58 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: Use CPUID_TO_*() macros. This change fix a bug that /proc/cpuinfo's CPU model was incorrect on many newer CPUs and CPU family was i

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

2016-01-12 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jan 13 07:28:56 UTC 2016 Modified Files: src/sys/arch/x86/x86: procfs_machdep.c Log Message: PR#49246 "x86/x86/procfs_machdep.c (/proc/cpuinfo) is very old" related change - Decode NetBSD's ci_feat_val[0-5]. The output order

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

2016-01-01 Thread Thor Lancelot Simon
Module Name:src Committed By: tls Date: Fri Jan 1 19:46:48 UTC 2016 Modified Files: src/sys/arch/x86/x86: identcpu.c Log Message: Enable second noise source on newer VIA CPUs To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50 src/sys/arch/x86/x86/identcpu.c

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

2015-11-17 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Tue Nov 17 10:34:04 UTC 2015 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Replace SIMPLEQ_FOREACH with SIMPLEQ_FOREACH_SAFE to prevent use-after-free. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 s

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

2015-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 27 18:49:26 UTC 2015 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: fix operator precedence. To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src/sys/arch/x86/x86/bus_dma.c Please note that

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

2015-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 27 18:19:05 UTC 2015 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: make sure we have a cookie before we try to clear it. To generate a diff of this commit: cvs rdiff -u -r1.72 -r1.73 src/sys/arch/x86/x86

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

2015-10-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Oct 27 15:53:58 UTC 2015 Modified Files: src/sys/arch/x86/x86: bus_dma.c Log Message: - If we succeeded allocating a buffer that did not need bouncing before, but the buffer in the previous mapping did, clear the bounce bi

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

2015-10-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Oct 23 18:53:26 UTC 2015 Modified Files: src/sys/arch/x86/x86: sys_machdep.c Log Message: fix broken error handling; error was used uninitialized. Changing the compilation flags broke all threaded programs for me. XXX: pullu

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

2015-10-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Oct 9 13:03:55 UTC 2015 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: remove quick hack code to avoid shared IRQ issue. To generate a diff of this commit: cvs rdiff -u -r1.89 -r1.90 src/sys/arch/x86/x86/intr.

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

2015-10-09 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Oct 9 12:56:02 UTC 2015 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: fix: "intrctl list" causes panic when the device using pci_intr_alloc() shares IRQ. To generate a diff of this commit: cvs rdiff -u -r1.8

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

2015-10-06 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Tue Oct 6 09:44:31 UTC 2015 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: quick hack for shared IRQ issue. To generate a diff of this commit: cvs rdiff -u -r1.87 -r1.88 src/sys/arch/x86/x86/intr.c Please note th

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

2015-10-04 Thread Jean-Yves Migeon
Module Name:src Committed By: jym Date: Sun Oct 4 21:08:30 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Cache CPU index in the non-preemptible part otherwise it can be unreliable (and report a CPU as patched while it was not). To generat

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

2015-10-04 Thread matthew green
Module Name:src Committed By: mrg Date: Sun Oct 4 17:52:50 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: kmem_free() the address returned by kmem_alloc(). found by Brainy. use the newly aligned location if we needed it. found by kre. To

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

2015-09-17 Thread Nathanial Sloss
Module Name:src Committed By: nat Date: Thu Sep 17 23:48:01 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: Don't disable/re-enable interrupts if they are already disabled. Addresses PR 48196. This commit was improved and approved by christos@ To gener

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

2015-08-28 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Fri Aug 28 14:06:01 UTC 2015 Modified Files: src/sys/arch/x86/x86: ipmi.c Log Message: Cast to uint64_t first in case the input is negative. To generate a diff of this commit: cvs rdiff -u -r1.61 -r1.62 src/sys/arch/x86/x86/ipmi.

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

2015-07-24 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Fri Jul 24 15:20:37 UTC 2015 Modified Files: src/sys/arch/x86/x86: pmap_tlb.c Log Message: Operation pmap_tlb_processpacket() uses x86_ipi(.., LAPIC_DEST_ALLEXCL, ...) when cpuset "target" equals "kcpuset_running". During boot,

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

2015-07-16 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 17 06:41:18 UTC 2015 Modified Files: src/sys/arch/x86/x86: ioapic.c lapic.c mpacpi.c mpbios.c Log Message: KNF. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/arch/x86/x86/i

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

2015-07-15 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 15 07:29:13 UTC 2015 Modified Files: src/sys/arch/x86/x86: mpacpi.c Log Message: Configure ioapic before lapic because lapic(lapic_set_lvt()) checks the existence of ioapic. This change fixes a problem that some machines

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

2015-07-14 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jul 15 04:49:02 UTC 2015 Modified Files: src/sys/arch/x86/x86: lapic.c mpacpi.c Log Message: - Add lapic_dump() to print lapic's setting. - Add mpacpi_dump() to dump mp_intrs[]. To generate a diff of this commit: cvs rdiff

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

2015-07-09 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 10 03:01:21 UTC 2015 Modified Files: src/sys/arch/x86/x86: mpbios.c Log Message: Fix a problem that "Disable ACPI" doesn't work (PCI interrputs don't occur) on some machines. On some machines' MPBIOS table, dest APIC I

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

2015-07-01 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Thu Jul 2 05:11:50 UTC 2015 Modified Files: src/sys/arch/x86/x86: intel_busclock.c Log Message: Fix bus clock for Airmont from the latest Intel SDM. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/x

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

2015-06-24 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Jun 24 11:09:27 UTC 2015 Modified Files: src/sys/arch/x86/x86: mpbios.c Log Message: No functional change: - Fix typo. - KNF a bit. To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/sys/arch/x86/x86/mpbios

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

2015-06-23 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue Jun 23 10:00:13 UTC 2015 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: Fix a bug that an interrupt mask is "un"masked in intr_"dis"establish_xcall(). It's not intended. - If there is no any handler, 1) do del

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

2015-06-22 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon Jun 22 07:26:52 UTC 2015 Modified Files: src/sys/arch/x86/x86: mpacpi.c Log Message: Fix wrong output in mpacpi_pci_foundbus() with MPVERBOSE. Assign vaues before printing them. To generate a diff of this commit: cvs rdiff

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

2015-05-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 27 00:16:46 UTC 2015 Modified Files: src/sys/arch/x86/x86: coretemp.c Log Message: - Change the Upper limit of Tjmax from 100 to 110 because some new CPUs have 105. This change is the same as FreeBSD. - Print Tjmax w

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

2015-05-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed May 27 00:08:50 UTC 2015 Modified Files: src/sys/arch/x86/x86: intel_busclock.c Log Message: Add new bus clock for Airmont. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/sys/arch/x86/x86/intel_busclock.c

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

2015-05-26 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 26 16:08:01 UTC 2015 Modified Files: src/sys/arch/x86/x86: intel_busclock.c Log Message: Remove obsolete comment. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/x86/x86/intel_busclock.c Plea

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

2015-05-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 18 13:09:55 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: PS. Revert previous. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/arch/x86/x86/cpu.c Please note that diffs

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

2015-05-18 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 18 13:04:21 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu.c lapic.c Log Message: Workaround for "lapic_set_lvt: bad pin value %d" panic on (broken?) BIOS system. Don't panic when a local APIC's interrput input pin n

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

2015-05-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Tue May 12 00:00:35 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Use roundup2() and uintptr_t. Adviced by riastradh@. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/x8

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

2015-05-11 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Mon May 11 08:24:50 UTC 2015 Modified Files: src/sys/arch/x86/x86: cpu_ucode_intel.c Log Message: Re-allocale buffer if a buffer for microcode is not 16byte aligned. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 s

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

2015-05-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 10 22:21:38 UTC 2015 Modified Files: src/sys/arch/x86/x86: x86_autoconf.c Log Message: Don't report EINVAL errors when searching the bootwedge, this error is most likely the result of reading beyond the end of the wrong d

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

2015-05-10 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Sun May 10 22:18:58 UTC 2015 Modified Files: src/sys/arch/x86/x86: x86_autoconf.c Log Message: If BTINFO_ROOTDEVICE is set but isn't a device name, then treat it as a root specification. This allows strings like wedge:wedgename.

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

2015-05-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat May 9 13:05:51 UTC 2015 Modified Files: src/sys/arch/x86/x86: intr.c Log Message: CID 1297228: Use strlcpy To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/arch/x86/x86/intr.c Please note that diffs

<    1   2   3   4   5   6   7   8   >