Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (3h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 07:13:15 UTC Now

2022-10-09 21:43:46 UTC MAIN commitmail json YAML

2022-10-09 21:43:38 UTC MAIN commitmail json YAML

2022-10-09 21:41:05 UTC MAIN commitmail json YAML

2022-10-08 19:06:30 UTC MAIN commitmail json YAML

amdgpu: Remove an #ifdef __NetBSD__ around drm_waitqueue_t.

No functional change intended.

(riastradh)

2022-10-08 16:31:30 UTC MAIN commitmail json YAML

2022-10-08 16:12:51 UTC MAIN commitmail json YAML

src/external/ibm-public/postfix/dist/README_FILES/ADDRESS_VERIFICATION_README@1.10 / diff / nxr@1.10
src/external/ibm-public/postfix/dist/README_FILES/CYRUS_README deleted
src/external/ibm-public/postfix/dist/README_FILES/INSTALL@1.9 / diff / nxr@1.9
src/external/ibm-public/postfix/dist/README_FILES/TLS_README@1.13 / diff / nxr@1.13
src/external/ibm-public/postfix/dist/conf/main.cf@1.9 / diff / nxr@1.9
src/external/ibm-public/postfix/dist/conf/master.cf@1.10 / diff / nxr@1.10
src/external/ibm-public/postfix/dist/conf/post-install@1.4 / diff / nxr@1.4
src/external/ibm-public/postfix/dist/conf/postfix-files@1.8 / diff / nxr@1.8
src/external/ibm-public/postfix/dist/conf/postfix-tls-script@1.4 / diff / nxr@1.4
src/external/ibm-public/postfix/dist/conf/postmulti-script@1.3 / diff / nxr@1.3
src/external/ibm-public/postfix/dist/html/ADDRESS_VERIFICATION_README.html@1.10 / diff / nxr@1.10
src/external/ibm-public/postfix/dist/html/INSTALL.html@1.9 / diff / nxr@1.9
src/external/ibm-public/postfix/dist/html/TLS_README.html@1.14 / diff / nxr@1.14
src/external/ibm-public/postfix/dist/html/postconf.5.html@1.18 / diff / nxr@1.18
src/external/ibm-public/postfix/dist/makedefs@1.15 / diff / nxr@1.15
src/external/ibm-public/postfix/dist/man/man1/makedefs.1@1.3 / diff / nxr@1.3
src/external/ibm-public/postfix/dist/man/man1/postalias.1@1.4 / diff / nxr@1.4
src/external/ibm-public/postfix/dist/man/man1/postcat.1@1.4 / diff / nxr@1.4
src/external/ibm-public/postfix/dist/man/man1/postconf.1@1.4 / diff / nxr@1.4
src/external/ibm-public/postfix/dist/man/man1/postdrop.1@1.4 / diff / nxr@1.4
      :
(more 348 files)
Merge conflicts between postfix 3.5.2 and 3.7.3

(christos)

2022-10-08 15:48:01 UTC MAIN commitmail json YAML

va_end should be really __nothing.

(christos)

2022-10-08 12:56:51 UTC MAIN commitmail json YAML

libc: Use a functional example when warning about incorrect alloca usage

(nia)

2022-10-08 08:21:56 UTC MAIN commitmail json YAML

UPDATING: More details on bootloader update needed for >=9.99.100.

(riastradh)

2022-10-08 07:27:03 UTC MAIN commitmail json YAML

com(4): Omit never-used sc_vendor_workaround member.

(riastradh)

2022-10-07 22:33:42 UTC MAIN commitmail json YAML

fix few typos in comments.

(andvar)

2022-10-07 22:30:48 UTC MAIN commitmail json YAML

fix typos in chained/unchained mode definitions (s/CHANINED/CHAINED).
fix typo in comment s/32 bot/32-bit/.

(andvar)

2022-10-07 19:56:32 UTC MAIN commitmail json YAML

s/alpahbetics/alphabetics/ in comment.

(andvar)

2022-10-07 18:59:37 UTC MAIN commitmail json YAML

Revert "constty(4): Make MP-safe."

Something is still busted and this is interfering with the releng
amd64 testbed.

(riastradh)

2022-10-07 18:55:51 UTC MAIN commitmail json YAML

Revert "console(4), constty(4): Rip off the kernel lock, take two."

Something is still busted and this is interfering with the releng
amd64 testbed.

(riastradh)

2022-10-07 02:57:36 UTC MAIN commitmail json YAML

2022-10-07 02:55:34 UTC MAIN commitmail json YAML

add NVIDIA GeForce GTX 770

(snj)

2022-10-06 20:42:13 UTC MAIN commitmail json YAML

s/immediatedly/immediately/

(andvar)

2022-10-06 19:59:55 UTC MAIN commitmail json YAML

2022-10-06 19:59:35 UTC MAIN commitmail json YAML

console(4), constty(4): Rip off the kernel lock, take two.

(riastradh)

2022-10-06 19:58:41 UTC MAIN commitmail json YAML

constty(4): Make MP-safe.

Access to the global constty variable is coordinated as follows:

1. Setting constty to nonnull, with atomic_store_release, is allowed
  only under the new adaptive constty_lock in thread context.  This
  serializes TIOCCONS operations and ensures unlocked readers can
  safely use a constty pointer read with atomic_load_consume.

2. Changing constty from nonnull to null, with atomic_cas_ptr, is
  allowed in any context -- printf(9) uses this to disable a broken
  constty.

3. Reading constty under constty_lock is allowed with
  atomic_load_relaxed, because while constty_lock is held, it can
  only be made null by some other thread/CPU, never made nonnull.

4. Reading constty outside constty_lock is allowed with
  atomic_load_consume in a pserialize read section -- constty is
  only ever made nonnull with atomic_store_release, in (1).
  ttyclose will wait for all these pserialize read sections to
  complete before flushing the tty.

5. To continue to use a struct tty pointer in (4) after the
  pserialize read section has completed, caller must use tty_acquire
  during the pserialize read section and then tty_release when done.
  ttyclose will wait for all these references to drain before
  returning.

These access rules allow us to serialize TIOCCONS, and safely destroy
ttys, without putting any locks on the access paths like printf(9)
that use constty.  Once we set D_MPSAFE, operations on /dev/console
will contend only with other users of the same tty as constty, which
will be an improvement over contending with all other kernel lock
users in the system.

Changes second time around:
- Fix initialization of ok in cons.c cn_redirect.
- Fix reversed sense of conditional in subr_prf.c putone.

(riastradh)

2022-10-06 19:38:54 UTC MAIN commitmail json YAML

fix few typos in comments and node description.

(andvar)

2022-10-06 06:59:25 UTC MAIN commitmail json YAML

Fix overflow case detected by clang.  Pointed out by wsh@IIJ, thanks.

(knakahara)

2022-10-06 06:51:37 UTC MAIN commitmail json YAML

IOAPIC_ID_MASK is 8 bits these days. Fixes PR kern/54276.

(msaitoh)

2022-10-06 06:42:46 UTC MAIN commitmail json YAML

Print detail about misconfigured APIC ID.

(msaitoh)

2022-10-06 06:05:31 UTC MAIN commitmail json YAML

2022-10-06 06:03:06 UTC MAIN commitmail json YAML

fix fixPR/57046. inet_network(3) returns INADDR_NONE when network names such as /x[0-9a-f][0-9a-f]/.

(ryo)

2022-10-06 00:22:16 UTC MAIN commitmail json YAML

Update some AMD CPUID bits:

- Rename FSREP_MOV to FSRM.
- Add Memory Bandwidth Enforcement (MBE)
- Add AMD's PPIN. Rename CPUID_SEF_PPIN to CPUID_SEF_INTEL_PPIN.
- Add Collaborative Processor Performance Control (CPPC).
- Add HOST_MCE_OVERRIDE.
- Add some unknown bits as Bxx.
- Add comments.
- Use __BIT().

(msaitoh)

2022-10-05 22:51:37 UTC MAIN commitmail json YAML

2022-10-05 22:40:12 UTC MAIN commitmail json YAML

2022-10-05 22:39:37 UTC MAIN commitmail json YAML

2022-10-05 22:21:19 UTC MAIN commitmail json YAML

2022-10-05 22:20:15 UTC MAIN commitmail json YAML

2022-10-05 12:09:07 UTC MAIN commitmail json YAML

Remove hacky gcc2-specific alloca definition.

(nia)

2022-10-05 10:28:19 UTC MAIN commitmail json YAML

libc: switch aarch64 to use softfloat functions from compiler_rt

The old definitions in qp.c being all grouped together in one file
causes problems when static linking with libgcc (i.e. cc --static-libgcc)
due to functions like __trunctfdf2 conflicting with libgcc, as seen in
PR 57021

We can also add some missing functions like __fixdfti for converting
a double to an int128_t, the lack of which is currently preventing webkit
from linking on aarch64, as seen in PR 57022

Unclear to me if libc is the right place for these functions, but
we can avoid breaking compatibility right now and maintain the status
quo while avoiding some obvious immediate problems.
nm output for libc shows no functions being removed by this change.

(nia)

2022-10-05 09:03:06 UTC MAIN commitmail json YAML

ppc4xx_tlb_enter: One more style sync. No binary changes.

Use hi and lo instead of th and tl for TLBHI and TLBLO, respectively,
as done for other functions in pmap.c.

(rin)

2022-10-05 08:47:52 UTC MAIN commitmail json YAML

Use %[foo], %[bar], ... instead of %0, %1, ... for asm codes.
Unify variable names if possible. No binary changes.

(rin)

2022-10-05 08:18:00 UTC MAIN commitmail json YAML

2022-10-05 02:56:14 UTC MAIN commitmail json YAML

copy{in,out}str: As a tiny optimization, drop redundant mtpid.

No regression for ATF on 405. 403 seems to work fine.

(rin)

2022-10-04 17:26:46 UTC netbsd-9 commitmail json YAML

2022-10-04 17:14:08 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #1535):
usr.sbin/sysinst/arch/landisk/md.c: revision 1.16
PR install/57025: revert bogus rev 1.9 which was only papering over
a bug in the adoption of the MBR handling code and fix the original
conversion bug instead:
- run fdisk to install the MBR bootcode on the raw disk partition
- run installboot against the NetBSD root partition (not the raw partition).

(snj)

2022-10-04 14:08:30 UTC MAIN commitmail json YAML

copy{in,out}str: Consistently use tmp as scratch register. NFC.

(rin)

2022-10-04 14:02:46 UTC MAIN commitmail json YAML

copy{in,out}str: "insn[TAB]operands;" for inline asm codes.

(rin)

2022-10-04 13:58:54 UTC MAIN commitmail json YAML

copy{in,out}str: Style sync with copy{in,out}. No binary changes.

(rin)

2022-10-04 13:45:50 UTC MAIN commitmail json YAML

copy{in,out}{,str}: Drop needless dcbst.

Data cache is purely physical for 40[53] with 16KB pages, and therefore
no need to flush cache before context switch.

This significantly improves copy{in,out} against small data; for example,
bytebench on DHT becomes:

-Pipe Throughput 12440.0 8826.1 7.1
+Pipe Throughput 12440.0 18364.8 14.8

No performance/ATF regression observed on 405. 403 boots successfully
into multiuser mode, and builds some packages.

(rin)

2022-10-04 12:18:59 UTC MAIN commitmail json YAML

openssh 9.1 out

(wiz)

2022-10-04 07:24:32 UTC MAIN commitmail json YAML

Remove unused extern declaration of constty.

(rin)

2022-10-04 07:06:32 UTC MAIN commitmail json YAML

Fix comment (!COMPAT_RTSOCK case). No functional change.

(msaitoh)

2022-10-04 05:33:05 UTC MAIN commitmail json YAML

Fix comment. No fucntional change.

(msaitoh)

2022-10-04 05:20:02 UTC MAIN commitmail json YAML

Revert "constty(4): Make MP-safe."

Something appears to be wrong with this.

(riastradh)

2022-10-04 05:19:31 UTC MAIN commitmail json YAML

Revert "console(4), constty(4): Rip off the kernel lock."

Needs more testing.

(riastradh)

2022-10-04 01:46:18 UTC MAIN commitmail json YAML

posix_openpt.3: reflect changes from r. 1.45 of tty_ptm.c

(gutteridge)

2022-10-03 23:41:28 UTC MAIN commitmail json YAML

copy{in,out}str: Add cr0 and ctr to list of clobbered registers.

(rin)

2022-10-03 23:35:41 UTC MAIN commitmail json YAML

copy{in,out}str: Consistently use uaddr instead of udaddr.
Note that we use kaddr, not kdaddr, for kernel data address.

(rin)

2022-10-03 23:32:28 UTC MAIN commitmail json YAML

copy{in,out}str: Tidy up inline asm's:
- Use %[foo], %[bar], ... instead of %0, %1, ...
- One instruction per line.
- Paragraph grouped instructions.
- Fix wrong comments.
No binary changes.

(rin)

2022-10-03 20:15:50 UTC MAIN commitmail json YAML

com(4): Nix quirky `integrate' macro.

Just use `static inline' like everything else.

(riastradh)

2022-10-03 19:59:21 UTC MAIN commitmail json YAML

com(4): Omit needless spltty in comstart.

This is called either via tp->t_oproc, which is done with tty_lock
held (thus, at IPL_VM = IPL_TTY), or from comparam which is called at
IPL_TTY, either via comopen or tp->t_param.

(riastradh)

2022-10-03 19:58:48 UTC MAIN commitmail json YAML

com(4): Nix dead code.

This was introduced in rev. 1.292, whose commit message was...
`Delete dead code.'  I guess December 6, 2009 was Opposite Day?

(riastradh)

2022-10-03 19:57:41 UTC MAIN commitmail json YAML

com(4): Comment on lock order.

(riastradh)

2022-10-03 19:57:25 UTC MAIN commitmail json YAML

console(4), constty(4): Rip off the kernel lock.

(riastradh)

2022-10-03 19:57:06 UTC MAIN commitmail json YAML

constty(4): Make MP-safe.

Access to the global constty variable is coordinated as follows:

1. Setting constty to nonnull, with atomic_store_release, is allowed
  only under the new adaptive constty_lock in thread context.  This
  serializes TIOCCONS operations and ensures unlocked readers can
  safely use a constty pointer read with atomic_load_consume.

2. Changing constty from nonnull to null, with atomic_cas_ptr, is
  allowed in any context -- printf(9) uses this to disable a broken
  constty.

3. Reading constty under constty_lock is allowed with
  atomic_load_relaxed, because while constty_lock is held, it can
  only be made null by some other thread/CPU, never made nonnull.

4. Reading constty outside constty_lock is allowed with
  atomic_load_consume in a pserialize read section -- constty is
  only ever made nonnull with atomic_store_release, in (1).
  ttyclose will wait for all these pserialize read sections to
  complete before flushing the tty.

5. To continue to use a struct tty pointer in (4) after the
  pserialize read section has completed, caller must use tty_acquire
  during the pserialize read section and then tty_release when done.
  ttyclose will wait for all these references to drain before
  returning.

These access rules allow us to serialize TIOCCONS, and safely destroy
ttys, without putting any locks on the access paths like printf(9)
that use constty.  Once we set D_MPSAFE, operations on /dev/console
will contend only with other users of the same tty as constty, which
will be an improvement over contending with all other kernel lock
users in the system.

(riastradh)

2022-10-03 19:26:35 UTC MAIN commitmail json YAML

com(4): Update confusing comment from decades ago to reflect now.

No functional change.

(riastradh)

2022-10-03 19:13:09 UTC MAIN commitmail json YAML

cons(9): Check the unit number on close too.

Races between multiple opens, some of which fail, might lead to
closing a bad unit number -- not clear there's a good way to prevent
this.

(riastradh)

2022-10-03 19:12:51 UTC MAIN commitmail json YAML

cons(9): Serialize open and close.

Kernel lock wasn't enough for this -- cdevvp, vn_lock, or VOP_OPEN
could block, allowing another thread to re-enter open.

(riastradh)

2022-10-03 19:12:29 UTC MAIN commitmail json YAML

cons(9): New function cn_set_tab.

Increment of progress toward eliminating bare access to cn_tab so we
can make more things MP-safe without the kernel lock (and maybe some
day better formalize console detection and switching).

(riastradh)

2022-10-03 17:42:36 UTC MAIN commitmail json YAML

Remove global hwplanecount and use ri_depth in struct rasops instead.

No functional change.

(tsutsui)

2022-10-03 16:04:19 UTC MAIN commitmail json YAML

Revert. Spotted by hannken@ - fix needs to be in zfs_ctldir.c it is missing
VOP_PATHCONF.

(kardel)

2022-10-03 05:34:31 UTC MAIN commitmail json YAML

netpgp: fix build with Clang (since 2022-10-01)

error: passing 'char [1]' to parameter of type 'const uint8_t *'
    (aka 'const unsigned char *') converts between pointers to integer
    types where one is of the unique plain 'char' type and the other is
    not [-Werror,-Wpointer-sign]

(rillig)

2022-10-02 23:36:41 UTC MAIN commitmail json YAML

make.1: clean up style, typography, accuracy

In a code example, replace the deprecated `pwd` with the preferred form
$$(pwd).

Shorten the paragraph about escaping a dollar in modifiers, as the
various escaping mechanisms are described in the section 'Expansion of
variables'.

Summarize the previously many cases of the ':from=to' modifier to be
simpler to understand, actually mention what the pattern matching
character '%' can match.

Describe the syntax of function call expressions in conditionals.
Previously, only the function names had been documented.

(rillig)

2022-10-02 10:40:41 UTC bouyer-sunxi-drm commitmail json YAML

Update config for new DRM world.

(bouyer)

2022-10-02 10:40:29 UTC MAIN commitmail json YAML

Add extra delay quirk for AMD FCH SATA Controller D.

(martin)

2022-10-02 10:37:13 UTC bouyer-sunxi-drm commitmail json YAML

2022-10-02 10:34:00 UTC MAIN commitmail json YAML

2022-10-02 10:33:01 UTC MAIN commitmail json YAML

Add AMD FCH SATA Controller D

(martin)

2022-10-02 10:21:36 UTC MAIN commitmail json YAML

PR install/57025: revert bogus rev 1.9 which was only papering over
a bug in the adoption of the MBR handling code and fix the original
conversion bug instead:
- run fdisk to install the MBR bootcode on the raw disk partition
- run installboot against the NetBSD root partition (not the raw partition).

(martin)

2022-10-02 09:48:39 UTC MAIN commitmail json YAML

amdsmn.4: Now support AMD Family 19h processors.

(msaitoh)

2022-10-02 02:37:27 UTC MAIN commitmail json YAML

PR kern/57035

s/lower/higher/ in comment; for little endian, 2nd word is higher
both in numeric and address. It seems that I'm too absorbed into
big endian machines these days ;)

No binary changes.

(rin)

2022-10-01 22:21:31 UTC MAIN commitmail json YAML

netpgpkeys: properly terminate string before calling strdup

$ MALLOC_CONF=junk:true netpgpkeys \
    --export-key \
    --keyring=/usr/pkg/etc/gnupg/pkgsrc.gpg \
    b5952cabdd765a20

The above command printed "-----END PGP PUBLIC KEY BLOCK-----\r\n"
followed by "\xA5\xA5\xA5...".

(rillig)

2022-10-01 15:50:05 UTC MAIN commitmail json YAML

amdsmn(4),amdzentemp(4): Add support for 17h/6xh and 19h/6xh.

(msaitoh)

2022-10-01 15:45:21 UTC MAIN commitmail json YAML

2022-10-01 15:44:58 UTC MAIN commitmail json YAML

Add AMD 19h/6xh Root Complex.

(msaitoh)

2022-10-01 14:02:08 UTC MAIN commitmail json YAML

Set an actual framebuffer depth (bpp) to rasops ri_depth.

The previous value was derived from OpenBSD/luna88k but
it has not been referenced even via ioctl(2).

(tsutsui)

2022-10-01 13:51:55 UTC MAIN commitmail json YAML

Explicitly limit a number of rasops rows per size of rowattr[].

(tsutsui)

2022-10-01 13:41:12 UTC MAIN commitmail json YAML

2022-10-01 12:40:42 UTC MAIN commitmail json YAML

No need to mangle argument of macro.

(rin)

2022-10-01 12:35:25 UTC MAIN commitmail json YAML

Use appropriate macros. No binary changes for GCC/amd64.

(rin)

2022-10-01 12:27:30 UTC MAIN commitmail json YAML

Remove confusing braces. No binary changes.

(rin)

2022-10-01 12:24:19 UTC MAIN commitmail json YAML

trailing whitespace

(rin)

2022-10-01 11:40:08 UTC MAIN commitmail json YAML

PR kern/57035

genfb(4): Fix blank screen after switching to WSDISPLAYIO_MODE_EMUL for
some GPU models like Ice Lake integrated GPU:

- Restore lower words of 64-bit BARs correctly.
- Do not disable expansion ROM if exists.

Thanks ryoon@ for testing!

(rin)

2022-10-01 10:07:55 UTC MAIN commitmail json YAML

lint: inline local variable in build_function_argument

No functional change.

(rillig)

2022-10-01 10:04:06 UTC MAIN commitmail json YAML

2022-10-01 09:59:40 UTC MAIN commitmail json YAML

lint: reduce pointer indirection for unnamed entities

No functional change.

(rillig)

2022-10-01 09:48:02 UTC MAIN commitmail json YAML

lint: remove redundant cast

Since C90 prototypes, integer arguments are converted to the correct
parameter type.

No functional change.

(rillig)

2022-10-01 09:42:40 UTC MAIN commitmail json YAML

2022-10-01 09:27:45 UTC MAIN commitmail json YAML

make: constify, fix comment indentation

No functional change.

(rillig)

2022-10-01 09:25:06 UTC MAIN commitmail json YAML

make: use consistent variable names in parser

No functional change.

(rillig)

2022-10-01 09:23:04 UTC MAIN commitmail json YAML

tests/make: make comment in test for .for easier to understand

(rillig)

2022-10-01 09:20:47 UTC MAIN commitmail json YAML

make: merge duplicate code

No functional change.

(rillig)

2022-10-01 08:55:45 UTC MAIN commitmail json YAML

fix documentation for MKLINT

Since share/mk/bsd.own.mk 1.749 from 2013-08-26, MKLINT defaults to no.

(rillig)

2022-10-01 07:59:25 UTC MAIN commitmail json YAML

Don't try to make a tag based on node 0

(charlotte)

2022-10-01 07:22:56 UTC MAIN commitmail json YAML

2022-09-30 14:32:45 UTC MAIN commitmail json YAML

Make this compile for SUN4-only kernels
(move namebuf inside the SUN4C/SUN4M/SUN4D ifdef to match where it's used).

(jdc)

2022-09-30 07:36:36 UTC MAIN commitmail json YAML

ipsecif(4) can use fixed SP reqid based on ifindex, that can reduce number of reqid.

If we want to use fixed SP reqid for ipsecif(4), set
net.ipsecif.use_fixed_reqid=1  Default(=0) is the same as before.
net.ipsecif.use_fixed_reqid can be changed only if there is no ipsecif(4) yet.

If we want to change the range of ipseif(4) SP reqid,
set net.ipsecif.reqid_base and net.ipsecif.reqid_last.
These can also be changed only if there is no ipsecif(4) yet.

(knakahara)

2022-09-30 06:39:55 UTC MAIN commitmail json YAML

Actually release the VA in fdt_unmap_range

(skrll)

2022-09-30 06:36:28 UTC MAIN commitmail json YAML

2022-09-30 06:23:59 UTC MAIN commitmail json YAML

Don't set A, D in page table pointers, but do set them in leaf entries.

Beagle-v now boots to the msgbufaddr panic same as qemu

(skrll)

2022-09-29 18:58:04 UTC MAIN commitmail json YAML

2022-09-29 18:27:42 UTC netbsd-9 commitmail json YAML

2022-09-29 18:26:42 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1534):

sys/dev/pci/mfii.c: revision 1.28

Convert from pci_intr_map() to pci_intr_alloc(); makes the driver use
MSI/MSI-x when available. Tested by Edgar Fu?.

(martin)

2022-09-29 14:43:06 UTC netbsd-8 commitmail json YAML

2022-09-29 14:41:43 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #1768):
sys/dev/pci/mfii.c: 1.28
Convert from pci_intr_map() to pci_intr_alloc(); makes the driver use
MSI/MSI-x when available. Tested by Edgar Fu?.

(snj)

2022-09-29 14:38:24 UTC netbsd-8 commitmail json YAML

Apply patch (requested by bouyer in ticket #1767):
Convert from pci_intr_map() to pci_intr_alloc(); makes the driver use
MSI/MSI-x when available.

(snj)

2022-09-29 12:18:27 UTC MAIN commitmail json YAML

Add fd_set_exclose(). It is probably better to do this automatically in
fd_affix()...

(christos)

2022-09-29 10:27:02 UTC MAIN commitmail json YAML

Convert from pci_intr_map() to pci_intr_alloc(); makes the driver use
MSI/MSI-x when available. Tested by Edgar Fu�.

(bouyer)

2022-09-29 10:10:10 UTC MAIN commitmail json YAML

swwdog(4): Add to GENERIC kernels.

Plus a handful of others that I'm familiar with.  Lots of special-
purpose kernels should probably have this too but I'm not going
through all the arm, mips, and ppc evaluation board kernels to see
which ones are relevant.

Omitted from systems I know to be very small:
- sun2/GENERIC
- dreamcast/GENERIC
Feel free to remove it from others that need to be kept smaller.

Compile-tested a few of these just in case:
- alpha/GENERIC
- amd64/GENERIC
- evbmips/OCTEON
- i386/GENERIC
- riscv/GENERIC

PR kern/29702

(riastradh)

2022-09-29 07:22:49 UTC MAIN commitmail json YAML

toolchain/57033: usr.bin/c++/t_call_once2:call_once2_profile test case fails

Remove the -static flag I added because it doesn't fix anything and it
actually causes more problems.

(skrll)

2022-09-29 07:00:47 UTC MAIN commitmail json YAML

2022-09-29 06:59:44 UTC MAIN commitmail json YAML

2022-09-29 06:59:33 UTC MAIN commitmail json YAML

2022-09-29 06:59:12 UTC MAIN commitmail json YAML

2022-09-29 06:59:02 UTC MAIN commitmail json YAML

2022-09-29 06:58:51 UTC MAIN commitmail json YAML

2022-09-29 06:58:37 UTC MAIN commitmail json YAML

2022-09-29 06:51:17 UTC MAIN commitmail json YAML

2022-09-29 06:47:06 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(skrll)

2022-09-29 06:46:17 UTC MAIN commitmail json YAML

2022-09-29 06:42:14 UTC MAIN commitmail json YAML

2022-09-29 06:39:59 UTC MAIN commitmail json YAML

2022-09-28 16:43:00 UTC MAIN commitmail json YAML

synaptics: Lower scale factor to give less sluggish mouse performance
on modern displays.

(nia)

2022-09-28 16:34:47 UTC MAIN commitmail json YAML

Don't ignore return from snprintf or getcwd

(sjg)

2022-09-28 15:32:10 UTC MAIN commitmail json YAML

Simplify sys/compat/sys/sockio.h. No functional change intended.

- Move some definitions from sys/compat/sockio.h to compat/net/if.h.
  struct oif_data in sockio.h and if_data50 are the same, so remove oif_data.
  Do the same thing to oifdatareq, too.
- u_quad_t -> uint64_t. No functional change.

(msaitoh)

2022-09-28 12:34:50 UTC MAIN commitmail json YAML

Add links for Europe/Uzhgorod and Europe/Zaporozhye (to Europe/Kyiv)
These are gone as separate zones, but the names should remain.

(kre)

2022-09-28 11:09:59 UTC MAIN commitmail json YAML

toolchain/57033: usr.bin/c++/t_call_once2:call_once2_profile test case fails

Revive a missing space.

(skrll)

2022-09-28 11:09:13 UTC MAIN commitmail json YAML

Note update to tzdata2022d (2022dgtz)

(kre)

2022-09-28 11:06:25 UTC MAIN commitmail json YAML

2022-09-28 10:23:37 UTC MAIN commitmail json YAML

2022-09-28 10:09:48 UTC MAIN commitmail json YAML

2022-09-28 09:57:13 UTC MAIN commitmail json YAML

Remove reference to udf_node in comment; it is FS agnostic.

(reinoud)

2022-09-28 08:12:56 UTC MAIN commitmail json YAML

s/u_quad_t/uint64_t/. No functional change.

(msaitoh)

2022-09-28 08:03:20 UTC MAIN commitmail json YAML

2022-09-28 08:02:47 UTC MAIN commitmail json YAML

Sort by number. No functional change.

(msaitoh)

2022-09-28 08:00:05 UTC MAIN commitmail json YAML

Add Intel Core 8G (8core, H, Halo) Host Bridge, DRAM.

(msaitoh)

2022-09-28 07:58:17 UTC MAIN commitmail json YAML

Jasper Lake Intel Trace Hub on Compute Die is not 0x4da6 but 0x4e29.

(msaitoh)

2022-09-28 06:09:14 UTC MAIN commitmail json YAML

Avoid dead link to the NVRAM FAQ in docs for sparc, too

(charlotte)

2022-09-28 06:06:59 UTC MAIN commitmail json YAML

Avoid dead link to the NVRAM/Hostid FAQ

(charlotte)

2022-09-28 06:05:28 UTC MAIN commitmail json YAML

2022-09-28 05:54:24 UTC MAIN commitmail json YAML

2022-09-28 05:49:15 UTC MAIN commitmail json YAML

2022-09-28 05:02:03 UTC MAIN commitmail json YAML

2022-09-28 02:37:07 UTC MAIN commitmail json YAML

re-port christos' fix for memory leak.  also, fix build.

(mrg)

2022-09-28 00:35:47 UTC MAIN commitmail json YAML

posix_openpt.3: reflect flag changes from r. 1.44 of tty_ptm.c

Some flags are now accepted, others are still ignored. (E.g., other
BSDs would return EINVAL if O_RDWR wasn't passed, and we now accept
O_NONBLOCK but not O_CLOEXEC.)

(gutteridge)

2022-09-27 19:18:45 UTC MAIN commitmail json YAML

2022-09-27 18:29:08 UTC MAIN commitmail json YAML

- cast to unsigned char for ctype macros
- some warn/err improvements

(christos)

2022-09-27 18:23:26 UTC MAIN commitmail json YAML

2022-09-27 17:46:59 UTC MAIN commitmail json YAML

2022-09-27 17:04:52 UTC MAIN commitmail json YAML

Remove bogus assertions.

(mlelstv)

2022-09-27 10:57:23 UTC MAIN commitmail json YAML

rename a local variable so it doesn't conflict with a global one
NFC

(macallan)

2022-09-27 10:54:04 UTC MAIN commitmail json YAML

2022-09-27 10:33:21 UTC MAIN commitmail json YAML

2022-09-27 08:18:21 UTC MAIN commitmail json YAML

Basic ddb and backtrace support.

[  1.0000000] panic: kernel diagnostic assertion "msgbufaddr != 0" failed: file "/home/nick/netbsd/nbcvs/src/sys/arch/riscv/riscv/riscv_machdep.c", line 564
[  1.0000000] cpu0: Begin traceback...
[  1.0000000] trace fp ffffffc000801dd0
[  1.0000000] fp ffffffc000801e10 ?() at ffffffc0001eee98
[  1.0000000] fp ffffffc000801e30 ?() at ffffffc0002ad984
[  1.0000000] fp ffffffc000801ee0 ?() at ffffffc000005430
[  1.0000000] cpu0: End traceback...
[  1.0000000] Trapframe @ 0xffffffc000801cb0 (cause=3 (breakpoint), status=0x100, pc=0xffffffc0000007e4, va=0):
[  1.0000000] ra =0xffffffc0001eee9c, sp =0xffffffc000801dd0, gp =0xffffffc0006a8f40, tp =                0
[  1.0000000] s0 =0xffffffc000600ac0, s1 =            0x1000, s2 =0xffffffc000438df0, s3 =0xffffffc000801d80
[  1.0000000] s4 =0xffffffc0001eed78, s5 =0xffffffc0006d55f8, s6 =0xffffffc000801d88, s7 =0xffffffc0006dfdb8
[  1.0000000] s8 =0xffffffc000428c18, s9 =0xffffffc000801dd0, s10=0xffffffc0000a3822, s11=0xffffffc0006d55f8
[  1.0000000] a0 =              0x17, a1 =              0xa, a2 =                0, a3 =0xffffffc00041f658
[  1.0000000] a4 =                0, a5 =              0x1, a5 =                0, a7 =              0x1
[  1.0000000] t0 =0xffffffc0006dfe30, t1 =0xffffffc000801bb8, t2 =0xffffffc000803000, t3 =              0x75
[  1.0000000] t4 =                0, t5 =              0x63, t6 =              0x1
[  1.0000000] kernel: breakpoint
Stopped in pid 0.0 (system) at  ffffffc0000007e4:      c.ebreak
db>

(skrll)

2022-09-27 06:36:44 UTC MAIN commitmail json YAML

2022-09-27 06:34:45 UTC MAIN commitmail json YAML

2022-09-27 06:32:53 UTC MAIN commitmail json YAML

2022-09-27 06:14:41 UTC MAIN commitmail json YAML

2022-09-27 06:14:13 UTC MAIN commitmail json YAML

2022-09-27 06:13:42 UTC MAIN commitmail json YAML

2022-09-27 06:12:58 UTC MAIN commitmail json YAML

2022-09-27 06:12:19 UTC MAIN commitmail json YAML

malloc -> kmem
small KNF while I'm here

(skrll)

2022-09-27 06:11:36 UTC MAIN commitmail json YAML

2022-09-26 19:04:49 UTC MAIN commitmail json YAML

Extent rtl8188eu_txagc[] (in a quite cryptic way duplicating all
zeroes?!) to avoid out of array accesses - there are RTL8192EU
variants with 2 TX chains.

(martin)

2022-09-26 17:55:35 UTC MAIN commitmail json YAML

add PFA (please find attached)

(jschauma)

2022-09-25 21:56:12 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(thorpej)

2022-09-25 21:53:54 UTC MAIN commitmail json YAML

2022-09-25 21:30:29 UTC MAIN commitmail json YAML

2022-09-25 21:28:51 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(thorpej)

2022-09-25 21:27:39 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(thorpej)

2022-09-25 21:26:23 UTC MAIN commitmail json YAML

tests/make: document how variable evaluation needs to be tested

It's about 100_000 combinations to cover the basic edge cases.

(rillig)

2022-09-25 21:26:22 UTC MAIN commitmail json YAML

improve comment, update mailaddr, and remove clause 3 from my licenses.

(ryo)

2022-09-25 21:19:20 UTC MAIN commitmail json YAML

arm side of aica(4) sometimes became unresponsive when audioplay was performed several times.

- disabled data cache at startup.
- compiled with cross-arm-none-eabi-gcc-8.3.0nb4 of pkg.
- added memset() in asm because gcc8 (and later) detects the zero clear part in
  own bzero function and calls memset internally, and bzero were replaced with memset.

(ryo)

2022-09-25 18:45:45 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(thorpej)

2022-09-25 18:43:32 UTC MAIN commitmail json YAML

2022-09-25 18:03:04 UTC MAIN commitmail json YAML

2022-09-25 17:52:25 UTC MAIN commitmail json YAML

2022-09-25 17:33:19 UTC MAIN commitmail json YAML

2022-09-25 17:29:33 UTC MAIN commitmail json YAML

2022-09-25 17:29:22 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(thorpej)

2022-09-25 17:21:18 UTC MAIN commitmail json YAML

Remove unnecessary include of <sys/malloc.h>.

(thorpej)

2022-09-25 17:20:03 UTC MAIN commitmail json YAML

2022-09-25 17:19:05 UTC MAIN commitmail json YAML

2022-09-25 17:17:26 UTC MAIN commitmail json YAML

Remove unnecessary incldue of <sys/malloc.h>.

(thorpej)

2022-09-25 17:11:49 UTC MAIN commitmail json YAML

2022-09-25 17:09:37 UTC MAIN commitmail json YAML

2022-09-25 12:51:37 UTC MAIN commitmail json YAML

2022-09-25 12:41:46 UTC MAIN commitmail json YAML

2022-09-25 12:32:57 UTC MAIN commitmail json YAML

tests/make: fix test for option '-e' (broken since 2022-01-23)

(rillig)

2022-09-25 12:28:54 UTC MAIN commitmail json YAML

2022-09-25 11:28:40 UTC MAIN commitmail json YAML

lunafb: Improve drawing performance using VRAM ROP features.
- Drawing a character on 4bpp normally needs 4 times writes, but by using
  VRAM ROP actively, it can be reduced to write only once.
  The same goes for copyrows.  If the whole row consists of only two colors
  (one foreground and one background), it can be copied by reading once and
  writing once, regardless of the number of planes.  Only if the row consists
  of more than two colors, it will be copied plane by plane.
- On 8bpp board, it acts as 4bpp (16 colors).
- On 4bpp board on the real LUNA-I(68030/20MHz), monochrome scroll is about
  4 times faster even without asm.  Using asm improves it by additional 5%
  (asm is enabled by default).
- By tsutsui@-san's report, even color scroll is about about 2 times faster
  on his 8bpp board on the real LUNA-II(68040).
This was first developped by Y.Sugahara back in late 2019, and was modified
a lot by me in 2022.
http://mail-index.netbsd.org/port-luna68k/2022/09/23/msg000072.html

(isaki)

2022-09-25 11:22:36 UTC MAIN commitmail json YAML

Cosmetic changes.  Fix a typo in comment.

(isaki)

2022-09-25 08:21:02 UTC MAIN commitmail json YAML

vmwgfxfb(4): Omit now-needless is_console hack.

This has been resolved in drmfb.

(riastradh)

2022-09-25 07:50:32 UTC MAIN commitmail json YAML

tilcdc(4): Set is_console on the drm device, not the fb child.

The drm device is represented by a rockchip,display-subsystem node in
the device tree.  The fb child is a purely software abstraction used
by drm.

The is_console property is used by MD firmware logic to mark which
actual device in hardware bus enumeration like PCI or FDT the system
has chosen for the console early at boot, so hanging it on the node
for the real hardware device makes more sense than hanging it on the
software abstraction, and is consistent with recent changes to drmfb
to respect its setting on other platforms for hardware devices.

(riastradh)