Re: [please test] tsc: derive frequency on AMD CPUs from MSRs

2022-09-25 Thread Masato Asou
From: "Theo de Raadt" Date: Sun, 25 Sep 2022 18:29:12 -0600 > This is not helping. > > Please send Scott private replies regarding his diff. Oh, sorry. I will reply to Scott privately. -- ASOU Masato > Masato Asou wrote: > >> Hi, >> >> I have new AMD laptop. The dmesg is posted below: >>

Re: [please test] tsc: derive frequency on AMD CPUs from MSRs

2022-09-25 Thread Theo de Raadt
This is not helping. Please send Scott private replies regarding his diff. Masato Asou wrote: > Hi, > > I have new AMD laptop. The dmesg is posted below: > > OpenBSD 7.2 (GENERIC.MP) #2: Mon Sep 26 09:09:17 JST 2022 > a...@hp-obsd.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP >

Re: [please test] tsc: derive frequency on AMD CPUs from MSRs

2022-09-25 Thread Masato Asou
Hi, I have new AMD laptop. The dmesg is posted below: OpenBSD 7.2 (GENERIC.MP) #2: Mon Sep 26 09:09:17 JST 2022 a...@hp-obsd.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 7844245504 (7480MB) avail mem = 7589105664 (7237MB) random: good seed from bootblocks mpath0 at root

Re: [please test] tsc: derive frequency on AMD CPUs from MSRs

2022-09-25 Thread Masato Asou
Hi, The dmesg is posted below: OpenBSD 7.2 (GENERIC.MP) #2: Mon Sep 26 09:09:29 JST 2022 a...@amd-obsd.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 34256752640 (32669MB) avail mem = 33201127424 (31663MB) random: good seed from bootblocks mpath0 at root scsibus0 at mpath0:

ed: Make use of stderr compliant with POSIX

2022-09-25 Thread Sören Tempel
Hello, Currently, the OpenBSD ed implementation incorrectly writes information to standard error that should be written to standard out (as per POSIX). For the read and write command the POSIX standard states the following: If the command is successful, the number of bytes written shall

Re: memory barrier in counters_zero

2022-09-25 Thread Jonathan Matthew
On Sat, Sep 17, 2022 at 04:28:15PM +0200, Alexander Bluhm wrote: > Hi, > > Inspired by Taylor's talk at EuroBSDCon I think a memory barrier > in counters_zero() is missing. Reading uses two consumer barriers, > so writing should also have two. Will slides or notes from this talk be available at