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 (5m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 19:35:43 UTC Now

2020-07-20 18:43:25 UTC netbsd-8 commitmail json YAML

2020-07-20 18:42:47 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1577):
sys/dev/mii/miidevs: revision 1.168
  Add some Microsemi (Vitesse) devices.

(martin)

2020-07-20 18:40:09 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1581):

sys/arch/x86/x86/procfs_machdep.c: revision 1.37
sys/arch/x86/x86/procfs_machdep.c: revision 1.38

  Add AMD protected processor identification number (PPIN).

  Lowercase ppin.

(martin)

2020-07-20 18:35:18 UTC netbsd-9 commitmail json YAML

2020-07-20 18:32:55 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1022):

distrib/notes/evbarm/install: revision 1.14
distrib/notes/evbarm/hardware: revision 1.11
distrib/notes/evbarm/hardware: revision 1.12
distrib/notes/evbarm/hardware: revision 1.13
distrib/notes/evbarm/hardware: revision 1.14
distrib/notes/evbarm/Makefile: revision 1.3
distrib/notes/evbarm/xfer: revision 1.3
distrib/notes/evbarm/xfer: revision 1.4
distrib/notes/evbarm/prep: revision 1.12
distrib/notes/evbarm/contents: revision 1.9
distrib/notes/evbarm/contents: revision 1.10
distrib/notes/evbarm/install: revision 1.11
distrib/notes/evbarm/install: revision 1.12
distrib/notes/evbarm/install: revision 1.13

First attempt at modernising the evbarm install guide and hardware lists
- Install instructions mostly based on wiki pages
- Supported hardware lists mostly based on GENERIC and GENERIC64 kernels
s/boards/devices/

Briefly explain how to pkgsrc u-boot. Pointed out by maya.

more modernization of evbarm install instructions

safe estimation of required storage

more contents

more hardware

missing e.g.

(martin)

2020-07-20 18:15:43 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1021):

sys/dev/sdmmc/sdhc.c: revision 1.107
sys/dev/sdmmc/sdhcreg.h: revision 1.21

Identify SDHC 4.1 and 4.2. From {DragonFly,Free}BSD.

(martin)

2020-07-20 18:12:48 UTC MAIN commitmail json YAML

Make DEBUG_HASH less of a fire-hose.

Reporting keys on every lookup is overkill unless
playing with a new HASH, so wrap in #ifdef DEBUG_HASH_LOOKUP
Also add some stats at the end so we can see
final size and max chain length - maxchain is a better
variable name than maxlen.

(sjg)

2020-07-20 17:56:13 UTC MAIN commitmail json YAML

Fix coreX/IP4 summary register offsets

(jmcneill)

2020-07-20 16:55:10 UTC MAIN commitmail json YAML

make(1): make conditions work without pattern flags

The "pattern flag" VARP_NOSUBST was used to prevent evaluating
irrelevant conditions.  Omitting the evaluation flag VARE_WANTRES has the
same effect.

(rillig)

2020-07-20 16:45:41 UTC MAIN commitmail json YAML

Revert 1.112 "Disable x86 in-kernel AES temporarily."

The bug in fpu_kern_enter motivating this appears to have been fixed.

(riastradh)

2020-07-20 16:43:03 UTC MAIN commitmail json YAML

Fix fpu_kern_enter in a softint that interrupted a softint.

We need to find the lwp that was originally interrupted to save its
fpu state.

With this, fpu-heavy programs (like firefox) are once again stable,
at least under modest stress testing, on systems configured to use
wifi with WPA2 and CCMP.

(riastradh)

2020-07-20 16:41:18 UTC MAIN commitmail json YAML

Save fpu state at IPL_VM to exclude fpu_kern_enter/leave.

This way fpu_kern_enter/leave cannot interrupt the transition, so the
transition from state-on-CPU to state-in-memory (with TS set) is
atomic whether in an interrupt or not.

(I am not 100% convinced that this is necessary, but it makes
reasoning about the transition simpler.)

(riastradh)

2020-07-20 16:38:47 UTC MAIN commitmail json YAML

Revert 1.66 "Fix race in fpu save with fpu_kern_enter in softint."

This only fixed part of the race, and we can do it more simply.

(riastradh)

2020-07-20 16:37:35 UTC MAIN commitmail json YAML

Revert 1.67 "Restore the lwp's fpu state, not zeros, and leave with fpu enabled."

This didn't actually avoid double-restore, and it doesn't solve the
problem anyway, and made it harder to detect in-kernel fpu abuse.

(riastradh)

2020-07-20 16:32:14 UTC MAIN commitmail json YAML

make(1): fix obscure edge case for ${VAR:e$=x}

The characters "$=" do not occur in either src or pkgsrc, therefore this
case is unlikely to occur in practice.

(rillig)

2020-07-20 16:27:55 UTC MAIN commitmail json YAML

make(1): demonstrate obscure edge case in SysV modifier

(rillig)

2020-07-20 16:12:52 UTC MAIN commitmail json YAML

make(1): move documentation for assignment modifiers

(rillig)

2020-07-20 16:12:02 UTC MAIN commitmail json YAML

2020-07-20 15:48:50 UTC MAIN commitmail json YAML

make(1): prefer memcmp over strncmp

(rillig)

2020-07-20 15:44:12 UTC MAIN commitmail json YAML

make(1): fix type of VarPattern.lhsLen and rhsLen

String length is measured in size_t, not int.

(rillig)

2020-07-20 15:15:32 UTC MAIN commitmail json YAML

make(1): fix undefined behavior in :S modifier

The expression word + wordLen - leftLen had resulted in an out-of-bounds
pointer before.  Luckily the heap addresses were high enough in typical
applications to prevent a wrap-around.

(rillig)

2020-07-20 15:11:29 UTC MAIN commitmail json YAML

Disable x86 in-kernel AES temporarily.

There's a bug in the FPU state handling that it triggers -- likely
limited to the softint path since I've only ever seen it on a system
using wifi configured with WPA2 and CCMP, which uses AES heavily in
softint.

This is to be reverted once we diagnose the bug.  (There is also a
performance regression on wifi with WPA2 and CCMP, which I plan to
fix too once we figure out the FPU state handling bug.)

(riastradh)

2020-07-20 15:10:35 UTC MAIN commitmail json YAML

make(1): make implementation of the :S modifier simpler

(rillig)

2020-07-20 14:59:57 UTC MAIN commitmail json YAML

No need for cpu_hatch_lock after all since we hatch secondaries one at a time

(jmcneill)

2020-07-20 14:50:41 UTC MAIN commitmail json YAML

make(1): make modifier handling simpler

Implementing a modifier such as :S or :M should not be concerned with
separating the words of the resulting string.  Ideally this should be
done in the same way by all modifiers.

Before, the :R (filename root) modifier added a separator even if the
resulting filename root was an empty string.  The chances that this
change in behavior breaks anything are epsilon.

The :@ modifier, if it appeared after a :ts modifier, did not use the
word separator from the :ts modifier (which all other modifiers do) but
always added a space.  This behavior has been preserved for now.  It's an
unnecessary inconsistency though.

In contrast to Buffer, the newly added SepBuf uses size_t for memory
sizes and also uses the conventional parameter order (mem, memsize)
instead of the unusual (memsize, mem).

(rillig)

2020-07-20 14:38:38 UTC MAIN commitmail json YAML

Fix non-MULTIPROCESSOR build

(skrll)

2020-07-20 14:24:13 UTC MAIN commitmail json YAML

Switch ports using MI wsfb drivers to HAVE_XORG_SERVER_VER=120.

Xorg wsfb servers from 1.20 for dreamcast (16bpp), hp300 (8bpp), and
luna68k (1bpp) work fine even on NetBSD 9.0, and zaurus is also
confirmed working.

Discussed with mrg@ and macallan@ on tech-x11:
https://mail-index.netbsd.org/tech-x11/2020/07/thread1.html#002098

(tsutsui)

2020-07-20 14:19:41 UTC MAIN commitmail json YAML

Serialize CPU hatch annoucement printfs and wait for CPUs to start before
returning from cpu_boot_secondary_processors.

(jmcneill)

2020-07-20 14:05:51 UTC MAIN commitmail json YAML

Simplify IPI handling even more for now and run everything at IPL_HIGH.

(jmcneill)

2020-07-20 13:59:57 UTC MAIN commitmail json YAML

2020-07-20 13:58:52 UTC MAIN commitmail json YAML

2020-07-20 13:55:08 UTC MAIN commitmail json YAML

Fix typos in ${X11INCS.DIX} include paths. PR/55500

(tsutsui)

2020-07-20 13:41:16 UTC MAIN commitmail json YAML

Update Spleen kernel fonts to version 1.8.1, bringing the following
improvements:

- Center tilde vertically for all sizes, as modern fonts do

(fcambus)

2020-07-20 13:30:41 UTC MAIN commitmail json YAML

Fix confusion between ipi bitmask and mbox register bit assignments.

(jmcneill)

2020-07-20 10:53:48 UTC MAIN commitmail json YAML

Move exc_step definition under MIPS64_OCTEON and use it in the zeroising
memset as length for correctness.

(skrll)

2020-07-20 06:47:03 UTC MAIN commitmail json YAML

clear all interrupts, not just those we expect from the hostintmask.

this removes the final hard hang i have seen in pinebookpro wifi,
though one may still need to 'ifconfig bwfm0 down up' occasionally,
so we still have bugs to fix here (the hang is usually associated
with 'checksum error' from bwfm/sdio.)

(mrg)

2020-07-20 06:44:55 UTC MAIN commitmail json YAML

only ask for SDPCMD_INTSTATUS_HMB_SW_MASK and SDPCMD_INTSTATUS_CHIPACTIVE
interrupts, not all of them.  we only ack these ones.

mostly fixes pinebookpro wifi hard hangs.  still is problematic and can
trigger interrupt storm that appears as a hard hang without NET_MPSAFE,
and a follow up, less clearly right, change will reduce that to a soft
hang of the interface that can be cleared with 'ifconfig bwfm0 down up',
and even often recovers itself now.

(mrg)

2020-07-20 05:50:56 UTC MAIN commitmail json YAML

Revert previous, to unbreak the build (NVMM declares the macro too).

There are hundreds of MSRs, we're not going to list them all, especially
when the majority are unused.

(maxv)

2020-07-20 03:26:07 UTC MAIN commitmail json YAML

2020-07-20 03:24:59 UTC MAIN commitmail json YAML

Remove check/limit for only 2 cores.
Use MIPS_EBASE_CPUNUM instead of magic numbers.

(simonb)

2020-07-20 03:23:43 UTC MAIN commitmail json YAML

Use MIPS_EBASE_CPUNUM instead of magic numbers.

(simonb)

2020-07-20 03:22:39 UTC MAIN commitmail json YAML

Expose MIPS_EBASE_CPUNUM.

(simonb)

2020-07-20 03:17:44 UTC MAIN commitmail json YAML

Expose the width of the MIPS_EBASE_CPUNUM bitfield for asm code.

(simonb)

2020-07-20 02:04:43 UTC MAIN commitmail json YAML

Use COPY_SYMTAB to get kernel symbols.

(uwe)

2020-07-20 01:10:38 UTC MAIN commitmail json YAML

Add an extra bitfield in MIPS_COP_0_EBASE.

(simonb)

2020-07-20 01:06:33 UTC MAIN commitmail json YAML

Implement cngetc to be able to talk to DDB.

(uwe)

2020-07-19 23:44:36 UTC MAIN commitmail json YAML

Add placeholders/boilerplate for NextVoD.

STMicroelectronics support needs to be written for both the CPU and
devices.  This config and related files is absolute bare bones to get
a scaffolding kernel to compile to actually work on that support.
Don't hold your breath.

(uwe)

2020-07-19 22:22:01 UTC MAIN commitmail json YAML

make(1): remove unnecessary UNCONST

(rillig)

2020-07-19 22:04:28 UTC MAIN commitmail json YAML

make(1): make ampersand in ${VAR:from=to&} an ordinary character

In SysV substitutions, wildcards are expressed with % instead of &.  The
& is not mentioned in the manual page, and having another wildcard for
the whole word would be such an obscure feature that not even pkgsrc uses
it.  The easiest way to discover this feature had been to read the source
code of make(1) or to use a fuzzer and accidentally stumble upon this
edge case.

(rillig)

2020-07-19 21:30:50 UTC MAIN commitmail json YAML

make(1): don't call VarSubstitute unnecessarily

(rillig)

2020-07-19 21:14:56 UTC MAIN commitmail json YAML

make(1): remove wrong VarPattern from ApplyModifier_Exclam

(rillig)

2020-07-19 21:10:35 UTC MAIN commitmail json YAML

make(1): remove wrong VarPattern from ApplyModifier_Assign

(rillig)

2020-07-19 21:03:55 UTC MAIN commitmail json YAML

make(1): add test for assignment operators in conditions

(rillig)

2020-07-19 20:56:34 UTC MAIN commitmail json YAML

make(1): flatten ApplyModifier_Assign

(rillig)

2020-07-19 20:49:45 UTC MAIN commitmail json YAML

2020-07-19 20:37:57 UTC MAIN commitmail json YAML

make(1): fix date in comment in unit test

(rillig)

2020-07-19 19:36:20 UTC MAIN commitmail json YAML

make(1): add tests for maximum number of capturing groups in :C

(rillig)

2020-07-19 19:27:08 UTC MAIN commitmail json YAML

make(1): fix off-by-one error in :C modifier

Previously this off-by-one error had invoked undefined behavior.
Until today there was no corresponding unit test though.

(rillig)

2020-07-19 19:11:05 UTC MAIN commitmail json YAML

2020-07-19 19:05:20 UTC MAIN commitmail json YAML

2020-07-19 18:35:54 UTC MAIN commitmail json YAML

make(1): fix double free introduced this morning in r1.258

(rillig)

2020-07-19 17:43:36 UTC MAIN commitmail json YAML

make(1): remove redundant loop control variable

(rillig)

2020-07-19 17:40:30 UTC MAIN commitmail json YAML

make(1): rename ApplyModifiersState.flags to eflags

There are just too many variables called "flags" in this file, and their
constants must not accidentally overlap.

(rillig)

2020-07-19 17:24:22 UTC MAIN commitmail json YAML

2020-07-19 16:48:48 UTC MAIN commitmail json YAML

make(1): clean up VarLoop structure

(rillig)

2020-07-19 16:22:44 UTC MAIN commitmail json YAML

make(1): remove unused parameter from ParseModifierPart

(rillig)

2020-07-19 16:20:36 UTC MAIN commitmail json YAML

add #ifdef __HAVE_PCI_MSI_MSIX so this still compiles with NO_PCI_MSI_MSIX

(jdolecek)

2020-07-19 16:17:00 UTC MAIN commitmail json YAML

add definition for MSR_IA32_FEATURE_CONTROL, just for information

(jdolecek)

2020-07-19 16:08:24 UTC MAIN commitmail json YAML

make(1): rename VarGetPattern to ParseModifierPart

(rillig)

2020-07-19 15:51:51 UTC MAIN commitmail json YAML

make(1): eliminate unused local variables

(rillig)

2020-07-19 15:47:10 UTC MAIN commitmail json YAML

make(1): eliminate macro from VarGetPattern

(rillig)

2020-07-19 15:42:25 UTC MAIN commitmail json YAML

Nix trailing whitespace.

(riastradh)

2020-07-19 15:33:08 UTC MAIN commitmail json YAML

Expand on importance of not using fpu for crypto if there's no fpu.

(riastradh)

2020-07-19 15:16:22 UTC MAIN commitmail json YAML

make(1): add test for stray dollar signs in :@ modifier

(rillig)

2020-07-19 14:43:35 UTC MAIN commitmail json YAML

Remove unused Pp. Sort SEE ALSO.

(wiz)

2020-07-19 14:39:42 UTC MAIN commitmail json YAML

2020-07-19 14:31:31 UTC MAIN commitmail json YAML

Compile USER_LDT by default, but, put it behind a privileged sysctl that
defaults to disabled. To enable:

# sysctl -w machdep.user_ldt=1

(maxv)

2020-07-19 14:27:07 UTC MAIN commitmail json YAML

for Xen MSI, fallback to INTx when PHYSDEVOP_map_pirq fails for the device

apparently Xen requires VT-d to be enabled in BIOS for PHYSDEVOP_map_pirq
to work, this change makes it work on systems with VT-d disabled or missing

adresses the panic part of PR port-xen/55285 by Patrick Welche

(jdolecek)

2020-07-19 14:23:02 UTC MAIN commitmail json YAML

make(1): add test for ampersand in SysV substitution modifier

(rillig)

2020-07-19 14:05:39 UTC MAIN commitmail json YAML

make(1): replace ApplyModifiersState field with local variable

(rillig)

2020-07-19 13:58:27 UTC MAIN commitmail json YAML

we're already in an #ifdef USER_LDT block, so no need to #ifdef again

(maxv)

2020-07-19 13:55:09 UTC MAIN commitmail json YAML

2020-07-19 13:21:56 UTC MAIN commitmail json YAML

make(1): rename flags for :S and :C pattern matching

Renaming these flags makes it obvious that VarPattern is used in a few
places where it doesn't belong.  These will be fixed in follow-up
commits.

(rillig)

2020-07-19 12:51:06 UTC MAIN commitmail json YAML

make(1): convert VarFind flags to typed enum

(rillig)

2020-07-19 12:35:30 UTC MAIN commitmail json YAML

make(1): clean up unnecessary snprintf and multi-line function calls

(rillig)

2020-07-19 12:26:17 UTC MAIN commitmail json YAML

make(1): rename Varf_Flags to VarEvalFlags

In var.c there are lots of different flag types.  To make any accidental
mixture obvious, each flag group gets its own prefix.

The only flag group that is visible outside of var.c is concerned with
evaluating variables, therefore the "e", which replaces the former "f"
that probably just meant "flag".

(rillig)

2020-07-19 11:47:48 UTC MAIN commitmail json YAML

Fix RPI boot which needs more early stack

XXX centralise INIT_ARM_STACK_{SHIFT,SIZE}
XXX how to protect against this breaking again?

(skrll)

2020-07-19 10:38:02 UTC MAIN commitmail json YAML

make(1): clean up handling of :? modifier

The VarPattern type had nothing to do with parsing conditions.

(rillig)

2020-07-19 10:28:44 UTC MAIN commitmail json YAML

make(1): clean up code in var.c

* use canonical comparison to zero in more cases
* omit unnecessary snprintf for string literal concatenation
* omit a few redundant parentheses and braces

(rillig)

2020-07-19 09:30:08 UTC MAIN commitmail json YAML

2020-07-19 09:26:19 UTC MAIN commitmail json YAML

make(1): move SysV string matching to var.c

This kind of string matching is only used in variable modifiers, and only
if this feature is enabled by SYSVVARSUB.

(rillig)

2020-07-19 09:13:22 UTC MAIN commitmail json YAML

2020-07-19 08:58:35 UTC MAIN commitmail json YAML

2020-07-19 08:53:24 UTC MAIN commitmail json YAML

Reserve space for all CPU cores (incorrect logic).
Reserve a full page for each core, not incorrect 4096 (from skrll@).

(simonb)

2020-07-19 07:35:08 UTC MAIN commitmail json YAML

Revert most of ad's movs/stos change. Instead do a lot simpler: declare
svs_quad_copy() used by SVS only, with no need for instrumentation, because
SVS is disabled when sanitizers are on.

(maxv)

2020-07-19 07:32:43 UTC MAIN commitmail json YAML

fix build with clang/llvm.

clang aarch64 assembler doesn't accept optional number of lanes of vector register.
(but ARMARM says that an assembler must accept it)

(ryo)

2020-07-19 07:18:07 UTC MAIN commitmail json YAML

2020-07-19 07:08:10 UTC MAIN commitmail json YAML

make(1): demonstrate inconsistent :ts behavior among modifiers

(rillig)

2020-07-19 06:56:10 UTC MAIN commitmail json YAML

Switch to fpu_kern_enter/leave, to prevent clobbering, now that the kernel
itself uses the fpu.

(maxv)

2020-07-19 06:36:38 UTC MAIN commitmail json YAML

The TLB flush IPIs do not respect the IPL, so enforcing IPL_HIGH has no
effect. Disable interrupts earlier instead. This prevents a possible race
against such IPIs.

(maxv)

2020-07-19 06:31:13 UTC MAIN commitmail json YAML

Call fdtbus_intr_init() during startup.

(simonb)

2020-07-18 21:37:38 UTC MAIN commitmail json YAML

Add -dh for DEBUG_HASH

Allow tracking of max chain length, to see how well the hash
tables are working.
Pull the actual hash operation into a marco so it can be
easily changed - for experimenting.

The current hash, is pretty good.

Reviewed by: christos

(sjg)

2020-07-18 20:56:53 UTC MAIN commitmail json YAML

Now that the IDT is per-CPU, it must be saved/restored on each CPU
independently.

(maxv)

2020-07-18 18:11:46 UTC MAIN commitmail json YAML

2020-07-18 18:09:42 UTC MAIN commitmail json YAML

2020-07-18 17:45:11 UTC MAIN commitmail json YAML

2020-07-18 17:40:15 UTC MAIN commitmail json YAML

Initial evbarm upgrade instructions - need work

(nia)

2020-07-18 17:37:08 UTC MAIN commitmail json YAML

Pull 1bpp server fixes from xorg-server.old:

https://mail-index.netbsd.org/source-changes/2020/07/18/msg119488.html
> Fix 1bpp Xservers on "whitePixel=0, blackPixel=1" VRAMs.
>
> - Don't override pScreen->blackPixel and pScreen->whitePixel
>  (set in MD server Init functions per -filpPixels option)
>  on 1bpp servers in merged fbSetupScreen() (merged one
>  from cfbSetupScrenn and mfbSetupScreen() in old xsrc/xfree)
> - Pull mfbCreateColormap() function from old xsrc/xfree tree
>  and use it on 1bpp servers

Confirmed on luna68k 1bpp Xorg 1.20 server using xf86-video-wsfb
with "-flipPixels" option.

(tsutsui)

2020-07-18 17:20:59 UTC MAIN commitmail json YAML

2020-07-18 17:18:09 UTC MAIN commitmail json YAML

Fix 1bpp Xservers on "whitePixel=0, blackPixel=1" VRAMs.

- Don't override pScreen->blackPixel and pScreen->whitePixel
  (set in MD server Init functions per -filpPixels option)
  on 1bpp servers in merged fbSetupScreen() (merged one
  from cfbSetupScrenn and mfbSetupScreen() in old xsrc/xfree)
- Pull mfbCreateColormap() function from old xsrc/xfree tree
  and use it on 1bpp servers

Required by forthcoming X11R7'fied ancient Xsun and XsunMono servers:
https://mail-index.netbsd.org/port-sun3/2020/07/17/msg000157.html

Without these fixes, mouse pointers and twm window titlebar etc. are
rendered inverted.

(tsutsui)

2020-07-18 17:10:23 UTC MAIN commitmail json YAML

safe estimation of required storage

(nia)

2020-07-18 16:41:14 UTC MAIN commitmail json YAML

2020-07-18 16:12:09 UTC MAIN commitmail json YAML

Always call pmap_segtab_activate in pmap_activate.  pmap_segtab_activate
does the right thing if called with non-curlwp.

(skrll)

2020-07-18 16:07:15 UTC MAIN commitmail json YAML

Xorg 1.20 servers require libXfont2 instead of libXfont.

Per the following upstream commit:
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7
> dix: Switch to the libXfont2 API (v2)

Now Xorg 1.20 based X68k server builds and confirmed working on XM6i.

(tsutsui)

2020-07-18 15:48:08 UTC MAIN commitmail json YAML

Add a stub for miinitext of GLX.

As per upstream commits for Xnest:
https://cgit.freedesktop.org/xorg/xserver/commit/?id=67c303fff303f94b62f03a76de97116c6ebcfda9

Note GLXEXT is defined as 1 in xorg-server/include/xorg-server.h
(i.e. /usr/X11R7/include/xorg/xorg-server.h) so no proper way to
disable it on building MD servers per ${MACHINE} basis.

(tsutsui)

2020-07-18 15:37:02 UTC MAIN commitmail json YAML

2020-07-18 15:26:30 UTC MAIN commitmail json YAML

Sync with xorg-server.old: No need to link miext/libshadow.a.

(tsutsui)

2020-07-18 15:24:31 UTC MAIN commitmail json YAML

2020-07-18 15:10:21 UTC netbsd-9 commitmail json YAML

2020-07-18 15:09:29 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by mrg in ticket #1020):

sys/dev/usb/usbdi.c: revision 1.203

for both usbd_transfer() and usbd_ar_pipe() be sure to reset the
xfer ux_state to XFER_BUSY when removing from the queue.
seems to fix an occasional panic i was seeing on pinebook and
pinebookpro lately with axen(4).

from riastradh@.

XXX: pullup-9.

(martin)

2020-07-18 14:53:35 UTC netbsd-9 commitmail json YAML

Fix editor mishap during processing of ticket #1002

(martin)

2020-07-18 14:53:10 UTC MAIN commitmail json YAML

Add missing linebreak.

Reported by Anon.

(wiz)

2020-07-18 12:46:19 UTC MAIN commitmail json YAML

2020-07-18 04:46:22 UTC MAIN commitmail json YAML

Pull changes of x68kInit.c rev 1.3 from xorg-server.old.

https://mail-index.netbsd.org/source-changes/2020/07/18/msg119473.html
> Use AllocDevicePair() to initialize input devices in InitInput().

Untested, but I'll re-visit on migrating to HAVE_XORG_SERVER_VER=120.

(tsutsui)

2020-07-18 04:37:50 UTC MAIN commitmail json YAML

Use AllocDevicePair() to initialize input devices in InitInput().

This should have been done on the initial X11R7'fied imoprt as
upstream xnest did:
https://cgit.freedesktop.org/xorg/xserver/commit?id=32ce5c83a504d2cafd2b19ed628b40032ef347b3

Tested and no visible regression on XM6i.

(tsutsui)

2020-07-18 03:00:38 UTC MAIN commitmail json YAML

ftp: add -? for help. improve synopsis

Add -? to display usage synopsis and help to stdout.
This allows for "ftp -? | less", which is more user friendly.
Errors still show usage to stderr.
Consistency improvements in some usage text.

(lukem)

2020-07-17 21:59:30 UTC MAIN commitmail json YAML

2020-07-17 21:04:14 UTC MAIN commitmail json YAML

remove explicit irqack() call for unexpected interrupt; this happens
normally during boot when running identify for the drive as polled
command, and fixes hard hang caused by the irqack() on a sun machine

the unexpected interrupt happens because cmdide doesn't respect
WDCTL_IDS bit and triggers interrupt also for polled commands

also reclassify the "bogus intr" as aprint_verbose() to avoid noise
on boot

discussed and tested by Martin Husemann

(jdolecek)

2020-07-17 19:40:47 UTC MAIN commitmail json YAML

Simplify IPI handling and change IPLs of IPI_HALT, IPI_XCALL, and
IPI_GENERIC from IPL_SCHED to IPL_HIGH.

(jmcneill)

2020-07-17 18:58:11 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2020-07-17 17:57:16 UTC MAIN commitmail json YAML

2020-07-17 15:52:16 UTC MAIN commitmail json YAML

libc: Added ppoll() wrapper around native pollts(2)

(kamil)

2020-07-17 15:44:04 UTC MAIN commitmail json YAML

Enable support for ppoll()

(kamil)

2020-07-17 15:34:17 UTC MAIN commitmail json YAML

2020-07-17 15:31:21 UTC netbsd-9 commitmail json YAML

2020-07-17 15:30:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #1019):

sys/dev/pci/radeonfbvar.h: revision 1.21
sys/dev/pci/radeonfb.c: revision 1.107

reduce stack usage in radeonfb_pickres() and radeonfb_set_cursor()

forgot to commit a header change, again...

(martin)

2020-07-17 15:29:13 UTC netbsd-8 commitmail json YAML

2020-07-17 15:28:08 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1576):

sys/net/if.c: revision 1.479
sys/compat/common/uipc_syscalls_40.c: revision 1.23
sys/compat/linux/common/linux_socket.c: revision 1.150
sys/compat/linux32/common/linux32_socket.c: revision 1.31

Don't accept negative value.

(martin)

2020-07-17 15:24:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1018):

sys/net/if.c: revision 1.479
sys/compat/common/uipc_syscalls_40.c: revision 1.23
sys/compat/linux/common/linux_socket.c: revision 1.150
sys/compat/linux32/common/linux32_socket.c: revision 1.31

Don't accept negative value.

(martin)

2020-07-17 15:24:03 UTC MAIN commitmail json YAML

man5/changelist.5 does not depend on MKPOSTFIX

(kamil)

2020-07-17 15:16:34 UTC MAIN commitmail json YAML

2020-07-17 14:58:17 UTC MAIN commitmail json YAML

2020-07-17 14:57:54 UTC MAIN commitmail json YAML

2020-07-17 14:56:47 UTC MAIN commitmail json YAML

2020-07-17 12:12:24 UTC MAIN commitmail json YAML

2020-07-17 10:56:15 UTC MAIN commitmail json YAML

if bnx_tx_encap() fails because mbuf is too fragmented or too long,
drop the mbuf instead of wedging the TX queue forever; found by code inspection

this is quite unlikely scenario since it requires mbuf chain consisting of
more than 8 frags and m_defrag() failing, so probably unrelated to PR kern/47229

(jdolecek)

2020-07-17 10:08:04 UTC MAIN commitmail json YAML

make sure bnx_alloc_pkts() always clears BNX_ALLOC_PKTS_FLAG and IFF_OACTIVE,
even on dmamap allocation failure; remove unnecessary IFF_UP condition

(jdolecek)

2020-07-17 09:51:31 UTC MAIN commitmail json YAML

remove mistakely committed in-progress code from previous commit

(jdolecek)

2020-07-17 09:48:21 UTC MAIN commitmail json YAML

re-enable MSI/MSI-X, the TX timeouts were caused by the IFF_OACTIVE handling,
which was fixed in previous revision

(jdolecek)

2020-07-17 08:06:02 UTC MAIN commitmail json YAML

Don't use a reserved value for the USB endian CSR selects and
enable octxhci_uctl_init().  Between these, USB works without
needing a "usb start" from u-boot.

XXX: Note the port power enable goop is still disabled until
we get a GPIO driver.

(simonb)

2020-07-17 07:21:44 UTC MAIN commitmail json YAML

2020-07-17 07:16:10 UTC MAIN commitmail json YAML

Add options PMAPBOOT_DEBUG to dump TTBR when pmapboot_enter().
Formerly DEBUG_MMU in locore.S, but there was a bit of confusion.

(ryo)

2020-07-17 06:42:56 UTC MAIN commitmail json YAML

Note x86 per-cpu IDTs change

(yamaguchi)

2020-07-17 02:16:57 UTC MAIN commitmail json YAML

Tweak a bit and add some comments.

Same object code is generated.

(uwe)

2020-07-17 02:05:44 UTC MAIN commitmail json YAML

Do not recycle loop variable for unrealated purposes.

It just obfuscates the code.  Same object code is generated.

(uwe)

2020-07-16 21:34:53 UTC MAIN commitmail json YAML

2020-07-16 21:33:50 UTC MAIN commitmail json YAML

Support 128 IRQs instead of 64. This is icky and needs to be cleaned up.

(jmcneill)

2020-07-16 21:32:44 UTC MAIN commitmail json YAML

Add of_find_bycompat helper to search a tree for a node by compat string.

(jmcneill)

2020-07-16 18:39:19 UTC MAIN commitmail json YAML

2020-07-16 16:40:28 UTC MAIN commitmail json YAML

Initialize FDT console device

(jmcneill)

2020-07-16 16:39:54 UTC MAIN commitmail json YAML

Use uart0 for stdout-path

(jmcneill)

2020-07-16 16:39:18 UTC MAIN commitmail json YAML

Add kernel option FDT_DEFAULT_STDOUT_PATH to set default (fallback)
stdout-path

(jmcneill)

2020-07-16 16:38:40 UTC MAIN commitmail json YAML

Make consinit actually work

(jmcneill)

2020-07-16 15:02:08 UTC MAIN commitmail json YAML

2020-07-16 14:57:59 UTC MAIN commitmail json YAML

need to clear IFF_OACTIVE after allocating more pkts in order to actually
start processing the queue in bnx_start()

(jdolecek)

2020-07-16 14:44:43 UTC MAIN commitmail json YAML

disable MSI/MSI-X for time being, it causes interrupt timeouts and needs
to be investigated before enabling this again

(jdolecek)

2020-07-16 14:41:04 UTC MAIN commitmail json YAML

make sure the alignment of ciss_cmd matches KASSERT() in ciss_cmd()

(jdolecek)

2020-07-16 14:39:33 UTC MAIN commitmail json YAML

revert the conversion to STAILQ, it broke execution of commands

(jdolecek)

2020-07-16 13:32:06 UTC MAIN commitmail json YAML

Fix variable name for BUS_DMA_DEBUG.

(simonb)

2020-07-16 12:41:35 UTC netbsd-9 commitmail json YAML

2020-07-16 12:39:11 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1017:

sys/dev/pci/piixpm.c 1.57-1.59, 1.61-1.63 via patch
sys/dev/pci/piixpmreg.h 1.9-1.12

- Fix number of port for Hudson rev. 0x1f and newer.
- Read SB800_SMB_HOSTC correctly. This register is not in the PCI
  config space but in the I/O space.
- The bit 0 of SB800_SMB_HOSTC is 0 on SMI and 1 on IRQ, so invert the
  check.
- Don't force using SMBUS0SEL register.
- Acquire/release host semaphore to share SMBus between the host and
  the embedded controller (IMC). Without this change, "shutdown -r"
  does power off and not boot on some machines.
- Save/restore port number before selecting port.
- Modify comment.
- Whitespace fix.

(martin)

2020-07-16 12:34:49 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by simonb in ticket #1016):

sys/arch/mips/mips/mips_machdep.c: revision 1.294

Fix mm_md_kernacc() for 64 bit kernels (including n32):
- FAULT for any physical address less than start of cached XKPHY address.
- Pass any remaining physical address less then end of RAM.
- Pass any remaining physical address within the KEGS0 kernel address range.

Ignore all remaining addresses and fall back to uvm_kernacc() for checking
virtual address ranges.

Fixes pmap(1) (and probably other kmem grovellers).

(martin)

2020-07-16 11:49:38 UTC MAIN commitmail json YAML

2020-07-16 11:42:54 UTC MAIN commitmail json YAML

2020-07-16 11:42:17 UTC MAIN commitmail json YAML

Allow kernels to link with no console drivers

(jmcneill)

2020-07-16 11:36:35 UTC MAIN commitmail json YAML

pmapboot_enter simplication
- bootpage_alloc in asm becomes pmapboot_pagealloc in C
- PMAPBOOT_ENTER_NOBLOCK is removed as it's not used
- PMAPBOOT_ENTER_NOOVERWRITE is removed as it's now always on
- physpage_allocator argument is removed as it's always
  pmapboot_pagealloc
- Support for EARLYCONS without CONSADDR is removed so that the identity
  map for CONSADDR is always known.

For the assembly files:
2 files changed, 40 insertions(+), 89 deletions(-)

LGTM ryo

(skrll)

2020-07-16 03:08:58 UTC MAIN commitmail json YAML

+craptacular

(originally suggested by pgoyette)

(dholland)

2020-07-16 01:20:38 UTC MAIN commitmail json YAML

Set PCI_COMMAND_MASTER_ENABLE and PCI_COMMAND_MEM_ENABLE
to activate the pci devices

This configuration is needed when BIOS or UEFI do not make them set.

(yamaguchi)

2020-07-15 19:23:44 UTC MAIN commitmail json YAML

Try to improve markup for better PostScript output.

(uwe)

2020-07-15 17:55:34 UTC MAIN commitmail json YAML

Document unbound and unbound_chrootdir.

(leot)

2020-07-15 17:46:06 UTC MAIN commitmail json YAML

MKBSDTAR is yes by default

(leot)

2020-07-15 17:36:38 UTC MAIN commitmail json YAML

Do not use "[...]", just "..." is enough.

Conventionally the ellipsis already expresses optional repetition,
e.g. .Ar without arguments produces "file ...".

(uwe)

2020-07-15 17:27:25 UTC netbsd-9 commitmail json YAML

2020-07-15 17:25:08 UTC netbsd-9 commitmail json YAML

Pull up the following, requested by msaitoh in ticket #1015

sys/arch/x86/conf/files.x86 1.108 (via patch)
sys/arch/x86/include/apicvar.h 1.7 (via patch)
sys/arch/x86/include/cpu.h 1.121 (via patch)
sys/arch/x86/x86/cpu.c 1.185 (via patch)
sys/arch/x86/x86/hyperv.c 1.7 (via patch)
sys/arch/x86/x86/tsc.c 1.41 (via patch)
sys/arch/xen/conf/files.xen 1.181 (via patch)

Get TSC frequency from CPUID 0x15 and/or x16 if it's available.
This change fixes a problem that newer Intel processors' timer
counts very slowly.

(martin)

2020-07-15 17:16:59 UTC netbsd-9 commitmail json YAML

Pull up the following revisions, requested by msaitoh in ticket #1014:

sys/dev/pci/if_ti.c 1.116-1.120 via patch
sys/dev/pci/if_tireg.h 1.26

- Don't clear CFI and priority bit to pass them to the upper layer.
- Add support for Farallon PN9000SX from FreeBSD.
- Fix typo in comment.
- Style fix.

(martin)

2020-07-15 16:52:49 UTC MAIN commitmail json YAML

's/blacklistd/blocklistd/'. Note also blocklistd_flags.

(jruoho)

2020-07-15 16:46:11 UTC MAIN commitmail json YAML

2020-07-15 16:41:16 UTC MAIN commitmail json YAML

Remove now-extraneous Op since we already have Oo and Oc to enclose
the Ar port.

(pgoyette)

2020-07-15 15:57:52 UTC MAIN commitmail json YAML

Identify SDHC 4.1 and 4.2. From {DragonFly,Free}BSD.

(msaitoh)

2020-07-15 15:55:49 UTC netbsd-8 commitmail json YAML

2020-07-15 15:54:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1575):

sys/arch/i386/stand/boot/boot2.c: revision 1.74
share/man/man8/man8.x86/boot.8: revision 1.21

Let consdev command also set speed
Adapted from PR install/55490 by Sunil Nimmagadda

Document optional speed argument to consdev

(martin)

2020-07-15 15:52:24 UTC netbsd-9 commitmail json YAML

2020-07-15 15:51:03 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by kim in ticket #1013):

sys/arch/i386/stand/boot/boot2.c: revision 1.74
share/man/man8/man8.x86/boot.8: revision 1.21

Let consdev command also set speed
Adapted from PR install/55490 by Sunil Nimmagadda

Document optional speed argument to consdev

(martin)

2020-07-15 15:48:26 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by nia in ticket #1012):

share/man/man4/wskbd.4: revision 1.20
share/man/man4/wskbd.4: revision 1.21

Whitespace/macro usage fixes.
obviously wrong country code

(martin)

2020-07-15 15:08:26 UTC MAIN commitmail json YAML

Fix typo. Use PRIxPADDR rather than casting.

(rin)

2020-07-15 14:33:59 UTC MAIN commitmail json YAML

g/c unused sc_channel_raw, sc_adapter_raw

(jdolecek)

2020-07-15 14:09:04 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1010):

sys/dev/usb/uhid.c: revision 1.112
sys/dev/usb/uhid.c: revision 1.113
sys/dev/hid/hid.h: revision 1.4
sys/dev/hid/hid.h: revision 1.5
sys/dev/usb/usbhid.h: revision 1.19

Add fido constants, and turn hid "raw" mode for fido devices.

Add ioctls to get and set raw mode.

Use unsigned to avoid undefined behavior. Found by kUBSan.

(martin)

2020-07-15 14:02:36 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1009):

sys/arch/x86/x86/coretemp.c: revision 1.37

  Add special handling for model 0x0f stepping >=2 or mode 0x0e to get Tjmax.

(martin)

2020-07-15 13:52:05 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1008):

sys/dev/usb/ualea.c: revision 1.10

Turn XXX comment into KASSERT.

(martin)

2020-07-15 13:47:40 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1007):

share/man/man9/rnd.9: revision 1.26
share/man/man9/rnd.9: revision 1.27

Update rnd(9) man page to reflect reality since netbsd-7.
- Note rndsource_setcb, RND_FLAG_HASCB, and rnd_add_data_sync.
- Note user's obligation to serialize access to each rndsource.

Simplify macro usage.

(martin)