Author: jrtc27
Date: Fri Dec 18 23:31:36 2020
New Revision: 368774
URL: https://svnweb.freebsd.org/changeset/base/368774
Log:
usb: Replace ITUNERNET vendor with MICROCHIP and improve product names
These Mini-Box LCDs are using Microchip components and sub-licensed product
IDs. Whilst here
Author: jrtc27
Date: Fri Dec 18 22:10:17 2020
New Revision: 368770
URL: https://svnweb.freebsd.org/changeset/base/368770
Log:
strerror.3: Fix whitespace issue introduced in r368714
MFC with: 368714
Modified:
head/lib/libc/string/strerror.3
Modified: head/lib/libc/string/strerror.3
=
Author: jrtc27
Date: Fri Dec 18 15:07:14 2020
New Revision: 368761
URL: https://svnweb.freebsd.org/changeset/base/368761
Log:
virtio_mmio: Fix feature negotiation copy-paste issue in r361943
This caused us to write to the low half of the feature word twice, once with
the high bits and onc
On 17 Dec 2020, at 20:28, John Baldwin wrote:
>
> Author: jhb
> Date: Thu Dec 17 20:28:53 2020
> New Revision: 368738
> URL: https://svnweb.freebsd.org/changeset/base/368738
>
> Log:
> Cleanups to *ERR* compat shims.
>
> - Use [u]intptr_t casts to convert pointers to integers.
>
> - Change
On 17 Dec 2020, at 16:22, Konstantin Belousov wrote:
> On Thu, Dec 17, 2020 at 01:01:01PM +0000, Jessica Clarke wrote:
>> On 17 Dec 2020, at 12:53, Konstantin Belousov wrote:
>>>
>>> On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski wrote:
>>&g
On 17 Dec 2020, at 12:53, Konstantin Belousov wrote:
>
> On Thu, Dec 17, 2020 at 12:41:47PM +, Mateusz Piotrowski wrote:
>> Author: 0mp (doc,ports committer)
>> Date: Thu Dec 17 12:41:47 2020
>> New Revision: 368714
>> URL: https://svnweb.freebsd.org/changeset/base/368714
>>
>> Log:
>> stre
Author: jrtc27
Date: Wed Dec 16 14:48:46 2020
New Revision: 368700
URL: https://svnweb.freebsd.org/changeset/base/368700
Log:
Fix whitespace in r368698
MFC with: r368698
Modified:
head/sys/dev/e1000/if_em.c
Modified: head/sys/dev/e1000/if_em.c
===
Author: jrtc27
Date: Wed Dec 16 14:47:49 2020
New Revision: 368699
URL: https://svnweb.freebsd.org/changeset/base/368699
Log:
Fix whitespace in comment modified by r368697
Modified:
head/sys/arm64/arm64/busdma_bounce.c
Modified: head/sys/arm64/arm64/busdma_bounce.c
==
On 15 Dec 2020, at 23:25, John Baldwin wrote:
> On 12/15/20 9:44 AM, Ed Maste wrote:
>> Author: emaste
>> Date: Tue Dec 15 17:44:19 2020
>> New Revision: 368667
>> URL: https://svnweb.freebsd.org/changeset/base/368667
>>
>> Log:
>> Retire obsolete GDB 6.1.1
>>
>> GDB 6.1.1 was released in June
Author: jrtc27
Date: Mon Dec 14 00:54:05 2020
New Revision: 368626
URL: https://svnweb.freebsd.org/changeset/base/368626
Log:
loader: Ignore the .interp section on RISC-V
Without this we risk having the .interp section be placed earlier in the
file and mess with section offsets; in partic
Author: jrtc27
Date: Mon Dec 14 00:50:45 2020
New Revision: 368625
URL: https://svnweb.freebsd.org/changeset/base/368625
Log:
strdup.3: Function appeared in 4.3BSD-Reno, not 4.4BSD
Linux claims 4.3BSD, we claim 4.4BSD and OpenBSD claims 4.3BSD-Reno. It turns
out that OpenBSD got it right:
Author: jrtc27
Date: Mon Dec 14 00:47:59 2020
New Revision: 368624
URL: https://svnweb.freebsd.org/changeset/base/368624
Log:
mips: Fix sub-word atomics implementation
These aligned the address but then always used the least significant
bits of the value in memory, which is the wrong half
Author: jrtc27
Date: Mon Dec 14 00:46:24 2020
New Revision: 368623
URL: https://svnweb.freebsd.org/changeset/base/368623
Log:
loader: Print autoboot countdown immediately, not at 9
For the first second otime and ntime are equal so no message gets
printed. Instead we should print the count
On 7 Dec 2020, at 11:25, Toomas Soome wrote:
> @@ -183,28 +215,29 @@ xdr_u_int(xdr_t *xdr, unsigned *ip)
> static bool
> xdr_int64(xdr_t *xdr, int64_t *lp)
> {
> - int hi;
> - unsigned lo;
> bool rv = false;
>
> - if (xdr->xdr_idx + sizeof (int64_t) > xdr->xdr_buf + xdr->xdr_buf
Hi Mateusz,
This looks like a behavioural change to me. Was that intended and a bug
fix (in which case, it should have been documented in the commit
message) or not? See below for the exact change.
On 6 Dec 2020, at 04:59, Mateusz Guzik wrote:
> +static int
> +namei_getpath(struct nameidata *ndp)
On 18 Nov 2020, at 22:32, Stefan Esser wrote:
>
> Am 18.11.20 um 22:40 schrieb Mateusz Guzik:
>>> +{
>>> + static const int localbase_oid[2] = {CTL_USER, USER_LOCALBASE};
>> There is no use for this to be static.
>
> Why not? This makes it part of the constant initialized data of
> the library
On 18 Nov 2020, at 21:52, Stefan Esser wrote:
> Am 18.11.20 um 22:15 schrieb Jessica Clarke:
>> On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
>>> + /*
>>> +* Check for some other thread already having
>>> +* set lo
On 18 Nov 2020, at 21:40, Mateusz Guzik wrote:
>
> On 11/18/20, Stefan Eßer wrote:
>> Author: se
>> Date: Wed Nov 18 19:44:30 2020
>> New Revision: 367813
>> URL: https://svnweb.freebsd.org/changeset/base/367813
>>
>> Log:
>> Add function getlocalbase() to libutil.
>>
>> This function return
On 18 Nov 2020, at 21:15, Jessica Clarke wrote:
>
> On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
>> +/*
>> + * Check for some other thread already having
>> + * set localbase - this should use atomic ops.
>> + *
On 18 Nov 2020, at 19:44, Stefan Eßer wrote:
> + /*
> + * Check for some other thread already having
> + * set localbase - this should use atomic ops.
> + * The amount of memory allocated above may leak,
> + * if a parallel update in
On 17 Nov 2020, at 17:29, Jessica Clarke wrote:
> On 17 Nov 2020, at 17:12, Adrian Chadd wrote:
>> @@ -175,8 +176,7 @@ update_firmware(int fd, uint8_t *payload, int32_t payl
>> errx(EX_OSERR, "unable to malloc %zd bytes",
>> (size_t)max_xfer_size
On 17 Nov 2020, at 17:12, Adrian Chadd wrote:
> @@ -175,8 +176,7 @@ update_firmware(int fd, uint8_t *payload, int32_t payl
> errx(EX_OSERR, "unable to malloc %zd bytes",
> (size_t)max_xfer_size);
>
> while (resid > 0) {
> - size = (resid >= (int32_t)max_xfer_size)
gt; root@crow:~ #
>
>
> I would double check very closely that the sysctl is being called correctly,
> the sysctl tool manages to read it out, but libutil does not.
That's odd. What does truss say?
Jess
> On Sun, Nov 15, 2020, at 1:06 PM, Scott Long wrote:
>>
>>>
On 15 Nov 2020, at 18:46, Scott Long wrote:
>> On Nov 15, 2020, at 11:31 AM, Jessica Clarke wrote:
>>
>> Hi Scott,
>> I'm concerned by this diff; see my comments below.
>>
>>> On 15 Nov 2020, at 07:48, Scott Long wrote:
>>>
>>
Hi Scott,
I'm concerned by this diff; see my comments below.
> On 15 Nov 2020, at 07:48, Scott Long wrote:
>
> Author: scottl
> Date: Sun Nov 15 07:48:52 2020
> New Revision: 367701
> URL: https://svnweb.freebsd.org/changeset/base/367701
>
> Log:
> Because getlocalbase() returns -1 on error, i
On 14 Nov 2020, at 19:04, Scott Long wrote:
> @@ -66,10 +67,16 @@ getlocalbase(char *path, size_t pathlen)
> #endif
>
> tmplen = strlcpy(path, tmppath, pathlen);
> - if ((tmplen < 0) || (tmplen >= (ssize_t)pathlen)) {
> + if ((tmplen < 0) || (tmplen >= pathlen)) {
I'd expect the LH
On 14 Nov 2020, at 00:47, Ravi Pokala wrote:
>
>> +#define FIRMWARE_RELEASE_DATE "11/10/2020"
>
> Might I suggest "2020-11-10", as sorting, logic, ${DEITY}, and ISO-8601
> demand? ;-)
Alas that is a "feature" of the specification:
String number of the BIOS release date. The date strin
On 13 Nov 2020, at 19:08, Ed Maste wrote:
>
> Author: emaste
> Date: Fri Nov 13 19:08:42 2020
> New Revision: 367648
> URL: https://svnweb.freebsd.org/changeset/base/367648
>
> Log:
> Fix `make makeman` after r367577
>
> WITH_INIT_ALL_ZERO and WITH_INIT_ALL_PATTERN are mutually exclusive.
>
On 23 Oct 2020, at 16:56, Mateusz Guzik wrote:
>
> Author: mjg
> Date: Fri Oct 23 15:56:22 2020
> New Revision: 366976
> URL: https://svnweb.freebsd.org/changeset/base/366976
>
> Log:
> cache: reduce memory waste in struct namecache
>
> The previous scheme for calculating the total size was d
On 22 Oct 2020, at 19:00, Gleb Smirnoff wrote:
>
> Author: glebius
> Date: Thu Oct 22 18:00:07 2020
> New Revision: 366945
> URL: https://svnweb.freebsd.org/changeset/base/366945
>
> Log:
> Fix typo
>
> Modified:
> head/share/man/man9/pfil.9
>
> Modified: head/share/man/man9/pfil.9
> ===
On 19 Oct 2020, at 14:10, Ruslan Bukin wrote:
>
> +#ifndef _DEV_IOMMU_IOMMU_MSI_H_
> +#define _DEV_IOMMU_IOMMU_MSI_H_
> +
> +#include
> +
> +struct iommu_unit;
This seems unused, perhaps left from a previous patch version?
Jess
___
svn-src-all@freeb
On 16 Oct 2020, at 16:16, Kyle Evans wrote:
>
> Author: kevans
> Date: Fri Oct 16 15:16:23 2020
> New Revision: 366766
> URL: https://svnweb.freebsd.org/changeset/base/366766
>
> Log:
> Makefile: add a small blurb about building with gcc xtoolchain
>
> The key details are to install the appro
Author: jrtc27
Date: Thu Oct 15 18:03:14 2020
New Revision: 366736
URL: https://svnweb.freebsd.org/changeset/base/366736
Log:
kldxref: Avoid buffer overflows in parse_pnp_list
We convert a string like "W32:vendor/device" into "I:vendor;I:device",
where the output is longer than the input,
On 14 Oct 2020, at 14:28, Mateusz Guzik wrote:
>
> This should use copy_file_range (also available on Linux).
I assume this is a bootstrap tool and hence the system OS and version
is relevant. macOS does not have copy_file_range, and FreeBSD only has
it in -CURRENT so that would break building o
On 12 Oct 2020, at 11:42, Alex Richardson wrote:
> --- head/contrib/nvi/common/common.h Mon Oct 12 10:42:19 2020
> (r366633)
> +++ head/contrib/nvi/common/common.h Mon Oct 12 10:42:24 2020
> (r366634)
> @@ -14,7 +14,7 @@
> #ifdef __linux__
> #include "/usr/include/db1/db.h"
Author: jrtc27
Date: Tue Oct 6 13:03:31 2020
New Revision: 366487
URL: https://svnweb.freebsd.org/changeset/base/366487
Log:
riscv: Remove outdated condition in page_fault_handler
Since r366355 and r366284 we panic on access faults rather than treating
them like page faults so this condi
Author: jrtc27
Date: Tue Oct 6 13:02:20 2020
New Revision: 366486
URL: https://svnweb.freebsd.org/changeset/base/366486
Log:
riscv: Handle supervisor instruction page faults
We should never take instruction page faults when in the kernel, but by
using the standard page fault code we shou
Author: jrtc27
Date: Tue Oct 6 12:56:29 2020
New Revision: 366484
URL: https://svnweb.freebsd.org/changeset/base/366484
Log:
riscv: De-Arm a few names
These names were inherited from the arm64 port and should be changed to
the RISC-V terminology.
Reviewed by: jhb (mentor), kp, mark
Author: jrtc27
Date: Wed Sep 30 02:21:38 2020
New Revision: 366279
URL: https://svnweb.freebsd.org/changeset/base/366279
Log:
riscv: Define __PCI_REROUTE_INTERRUPT
Every other architecture defines this and this is required for
interrupts to work when using QEMU's PCI VirtIO devices (which
On 26 Sep 2020, at 00:01, Alexander Richardson wrote:
>
>
> On Fri, 25 Sep 2020, 20:04 Justin Hibbits, wrote:
> Author: jhibbits
> Date: Fri Sep 25 19:04:03 2020
> New Revision: 366169
> URL: https://svnweb.freebsd.org/changeset/base/366169
>
> Log:
> mips: Fix compat32 library builds from r
On 23 Sep 2020, at 07:52, Xin LI wrote:
>
> --- head/sbin/fsck_msdosfs/dir.c Wed Sep 23 04:09:02 2020
> (r366063)
> +++ head/sbin/fsck_msdosfs/dir.c Wed Sep 23 06:52:22 2020
> (r366064)
> @@ -388,7 +388,8 @@ static int
> checksize(struct fat_descriptor *fat, u_char *p, s
Author: jrtc27
Date: Sun Sep 20 23:20:18 2020
New Revision: 365932
URL: https://svnweb.freebsd.org/changeset/base/365932
Log:
atomic_common.h: Fix the volatile qualifier placement in atomic_load_ptr
This was broken in r357940 which introduced the __typeof use. We need
the volatile qualifi
> On 17 Sep 2020, at 18:23, Jessica Clarke wrote:
>
>> On 17 Sep 2020, at 18:05, Rodney W. Grimes wrote:
>>
>>> On Thu, Sep 17, 2020 at 9:39 AM Steffen Nurpmeso wrote:
>>>
>>>> Alex Richardson wrote in
>>>> <202009171507.08hf7qn
> On 17 Sep 2020, at 18:05, Rodney W. Grimes wrote:
>
>> On Thu, Sep 17, 2020 at 9:39 AM Steffen Nurpmeso wrote:
>>
>>> Alex Richardson wrote in
>>> <202009171507.08hf7qns080...@repo.freebsd.org>:
>>> |Author: arichardson
>>> |Date: Thu Sep 17 15:07:25 2020
>>> |New Revision: 365836
>>> |URL: h
On 6 Sep 2020, at 21:46, Alan Somers wrote:
>
> On Mon, Aug 24, 2020 at 3:01 AM Mateusz Guzik wrote:
> Author: mjg
> Date: Mon Aug 24 09:00:57 2020
> New Revision: 364637
> URL: https://svnweb.freebsd.org/changeset/base/364637
>
> Log:
> cache: lockless reverse lookup
>
> This enables full
On 4 Sep 2020, at 14:36, Jessica Clarke wrote:
> On 4 Sep 2020, at 14:09, Konstantin Belousov wrote:
>> On Fri, Sep 04, 2020 at 11:22:18AM +, Marcin Wojtas wrote:
>>> Author: mw
>>> Date: Fri Sep 4 11:22:18 2020
>>> New Revision: 365326
>>> U
On 4 Sep 2020, at 14:09, Konstantin Belousov wrote:
> On Fri, Sep 04, 2020 at 11:22:18AM +, Marcin Wojtas wrote:
>> Author: mw
>> Date: Fri Sep 4 11:22:18 2020
>> New Revision: 365326
>> URL: https://svnweb.freebsd.org/changeset/base/365326
>>
>> Log:
>> MFC: r346593
>>
>> Add barrier in
On 26 Aug 2020, at 20:21, Brandon Bergren wrote:
> On Wed, Aug 26, 2020, at 2:19 PM, Jessica Clarke wrote:
>> On 26 Aug 2020, at 20:16, Brandon Bergren wrote:
>>> On Tue, Aug 25, 2020, at 9:37 PM, Alan Somers wrote:
>>>> Author: asomers
>>>> Date:
On 26 Aug 2020, at 20:16, Brandon Bergren wrote:
> On Tue, Aug 25, 2020, at 9:37 PM, Alan Somers wrote:
>> Author: asomers
>> Date: Wed Aug 26 02:37:42 2020
>> New Revision: 364799
>> URL: https://svnweb.freebsd.org/changeset/base/364799
>>
>> Modified: head/sys/dev/sec/sec.c
>> =
On 26 Aug 2020, at 19:33, Dimitry Andric wrote:
>
> On 26 Aug 2020, at 19:13, Ian Lepore wrote:
>>
>> On Wed, 2020-08-26 at 19:04 +0200, Mateusz Guzik wrote:
>>> On 8/26/20, Jung-uk Kim wrote:
Author: jkim
Date: Wed Aug 26 16:55:28 2020
New Revision: 364822
URL: https://svn
On 26 Aug 2020, at 18:04, Mateusz Guzik wrote:
>
> On 8/26/20, Jung-uk Kim wrote:
>> Author: jkim
>> Date: Wed Aug 26 16:55:28 2020
>> New Revision: 364822
>> URL: https://svnweb.freebsd.org/changeset/base/364822
>>
>> Log:
>> Fix Clang version detection.
>>
>> We prepend "FreeBSD" to Clang
On 13 Aug 2020, at 17:22, Rodney W. Grimes wrote:
>
>> Author: arichardson
>> Date: Thu Aug 13 14:14:46 2020
>> New Revision: 364190
>> URL: https://svnweb.freebsd.org/changeset/base/364190
>>
>> Log:
>> Add pwd to the list of tools that are linked to $WORLDTMP/legacy
>
> Since "sh" is already
On 13 Aug 2020, at 16:33, Ian Lepore wrote:
> On Wed, 2020-08-12 at 09:24 -0700, Rodney W. Grimes wrote:
>>> On 12 Aug 2020, at 17:10, Rodney W. Grimes <
>>> free...@gndrsh.dnsmgr.net> wrote:
> Author: arichardson
> Date: Wed Aug 12 15:49:06 2020
> New Revision: 364166
> URL:
On 12 Aug 2020, at 17:10, Rodney W. Grimes wrote:
>
> [ Charset UTF-8 unsupported, converting... ]
>> Author: arichardson
>> Date: Wed Aug 12 15:49:06 2020
>> New Revision: 364166
>> URL: https://svnweb.freebsd.org/changeset/base/364166
>>
>> Log:
>> Fix crunchgen usage of mkstemp()
>>
>> On
On 11 Aug 2020, at 17:46, Alex Richardson wrote:
>
> Author: arichardson
> Date: Tue Aug 11 16:46:54 2020
> New Revision: 364124
> URL: https://svnweb.freebsd.org/changeset/base/364124
>
> Log:
> Fix libdtrace build with zsh as /bin/sh
>
> When zsh runs in POSIX sh mode it does not support th
On 30 Jul 2020, at 23:38, Rick Macklem wrote:
> Brooks Davis wrote:
>> On Thu, Jul 30, 2020 at 03:48:34PM +, Rick Macklem wrote:
>>> Rick Macklem wrote:
Ian Lepore wrote:
> On Thu, 2020-07-30 at 01:52 +, Rick Macklem wrote:
>> Brooks Davis wrote:
>>> Author: brooks
>>>
On 30 Jul 2020, at 17:40, Ravi Pokala wrote:
>
> -Original Message-
> From: on behalf of Jessica Clarke
>
> Date: 2020-07-30, Thursday at 09:35
> To: Baptiste Daroussin
> Cc: Stefan Eßer , src-committers
> , ,
>
> Subject: Re: svn commit: r363091 -
On 30 Jul 2020, at 17:31, Baptiste Daroussin wrote:
> On Thu, Jul 30, 2020 at 05:28:19PM +0100, Jessica Clarke wrote:
>> On 30 Jul 2020, at 17:20, Baptiste Daroussin wrote:
>>> On Sat, Jul 11, 2020 at 07:33:19AM +, Stefan Eßer wrote:
>>>> Author: se
>&
On 30 Jul 2020, at 17:20, Baptiste Daroussin wrote:
> On Sat, Jul 11, 2020 at 07:33:19AM +, Stefan Eßer wrote:
>> Author: se
>> Date: Sat Jul 11 07:33:18 2020
>> New Revision: 363091
>> URL: https://svnweb.freebsd.org/changeset/base/363091
>>
>> Log:
>> Update to version 3.1.3
>>
> Jumping
file is newly added)
+++ head/sys/riscv/riscv/riscv_syscon.c Sun Jul 26 18:21:02 2020
(r363574)
@@ -0,0 +1,84 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2018 Kyle Evans
+ * Copyright (c) 2020 Jessica Clarke
+ *
+ * Redistribution and use in source and b
Jul 26 18:19:50 2020
(r363573)
@@ -0,0 +1,198 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2020 Jessica Clarke
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditio
Author: jrtc27
Date: Sun Jul 26 18:17:36 2020
New Revision: 363572
URL: https://svnweb.freebsd.org/changeset/base/363572
Log:
loader: Avoid -Wpointer-to-int cast warnings for Arm and RISC-V
On RISC-V, Clang warns with:
cast to smaller integer type 'unsigned int' from 'void (*)(void
26 18:15:16 2020
(r363571)
@@ -0,0 +1,182 @@
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
+ * Copyright (c) 2020 Jessica Clarke
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
On 18 Jun 2020, at 13:23, Ed Maste wrote:
> On Wed, 17 Jun 2020 at 15:56, Andrew Turner wrote:
>>
>> Author: andrew
>> Date: Wed Jun 17 19:56:17 2020
>> New Revision: 362285
>> URL: https://svnweb.freebsd.org/changeset/base/362285
>>
>> Log:
>> Clean up the pci host generic driver
> ...
>>
>>
Author: jrtc27
Date: Sun Jun 14 22:39:34 2020
New Revision: 362186
URL: https://svnweb.freebsd.org/changeset/base/362186
Log:
vtnet: Fix regression introduced in r361944
For legacy devices that don't support MrgRxBuf (such as bhyve pre-r358180),
r361944 failed to update the receive handle
On 14 Jun 2020, at 22:22, Tom Jones wrote:
> On Sun, Jun 14, 2020 at 09:56:03PM +0100, Jessica Clarke wrote:
>> On 14 Jun 2020, at 20:51, Tom Jones wrote:
>>> On Mon, Jun 08, 2020 at 09:51:36PM +0000, Jessica Clarke wrote:
>>>> Author: jrtc27
>>>> Date:
On 14 Jun 2020, at 20:51, Tom Jones wrote:
> On Mon, Jun 08, 2020 at 09:51:36PM +0000, Jessica Clarke wrote:
>> Author: jrtc27
>> Date: Mon Jun 8 21:51:36 2020
>> New Revision: 361944
>> URL: https://svnweb.freebsd.org/changeset/base/361944
>>
>> Log:
Author: jrtc27
Date: Mon Jun 8 21:51:36 2020
New Revision: 361944
URL: https://svnweb.freebsd.org/changeset/base/361944
Log:
virtio: Support non-legacy network device and queue
The non-legacy interface always defines num_buffers in the header,
regardless of whether VIRTIO_NET_F_MRG_RXBUF
Author: jrtc27
Date: Mon Jun 8 21:49:42 2020
New Revision: 361943
URL: https://svnweb.freebsd.org/changeset/base/361943
Log:
virtio_mmio: Negotiate the upper half of the feature bits too
The feature bits are exposed as a 32-bit register with 2 banks, so we
should negotiate both halves. N
Author: jrtc27
Date: Mon Jun 8 17:57:21 2020
New Revision: 361932
URL: https://svnweb.freebsd.org/changeset/base/361932
Log:
riscv: Use SBI shutdown call to implement RB_POWEROFF
Currently we only call sbi_shutdown in cpu_reset, which means we reach
"Please press any key to reboot." even
Author: jrtc27
Date: Wed May 13 17:20:51 2020
New Revision: 361010
URL: https://svnweb.freebsd.org/changeset/base/361010
Log:
riscv: Fix pmap_protect for superpages
When protecting a superpage, we would previously fall through to the
non-superpage case and read the contents of the superpa
On 7 May 2020, at 18:25, Li-Wen Hsu wrote:
> On Wed, May 06, 2020 at 23:28:51 +0000, Jessica Clarke wrote:
>> Author: jrtc27
>> Date: Wed May 6 23:28:51 2020
>> New Revision: 360722
>> URL: https://svnweb.freebsd.org/changeset/base/360722
>>
>> Log:
&g
Author: jrtc27
Date: Thu May 7 17:59:17 2020
New Revision: 360789
URL: https://svnweb.freebsd.org/changeset/base/360789
Log:
virtio_mmio: Add casts missing from r360722
This fixes -Wshift-count-overflow warnings/errors on architectures using
32-bit physical addresses.
Reported by:
Author: jrtc27
Date: Wed May 6 23:31:30 2020
New Revision: 360723
URL: https://svnweb.freebsd.org/changeset/base/360723
Log:
virtio: Support MMIO bus for all devices
The bus is independent of the device, so all devices can be attached to
either a PCI bus or an MMIO bus. For example, QEMU
Author: jrtc27
Date: Wed May 6 23:28:51 2020
New Revision: 360722
URL: https://svnweb.freebsd.org/changeset/base/360722
Log:
virtio_mmio: Support non-transitional version 2 devices
The non-legacy virtio MMIO specification drops the use of PFNs and
replaces them with physical addresses. W
Author: jrtc27
Date: Mon Apr 6 23:54:50 2020
New Revision: 359682
URL: https://svnweb.freebsd.org/changeset/base/359682
Log:
riscv: Add semicolon missing from r359672
Somehow this got lost between build-testing and submitting to Phabricator.
Modified:
head/sys/riscv/riscv/pmap.c
Modifi
Author: jrtc27
Date: Mon Apr 6 22:31:30 2020
New Revision: 359672
URL: https://svnweb.freebsd.org/changeset/base/359672
Log:
riscv: Make sure local hart's icache is synced in pmap_sync_icache
The only way to flush the local hart's icache is with a FENCE.I (or an
equivalent SBI call); a n
Author: jrtc27
Date: Mon Apr 6 22:29:15 2020
New Revision: 359671
URL: https://svnweb.freebsd.org/changeset/base/359671
Log:
riscv: Fix pmap_fault_fixup for L3 pages
Summary:
The parentheses being in the wrong place means that, for L3 pages,
oldpte has all bits except PTE_V cleared, an
78 matches
Mail list logo