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 (4h)  netbsd-10 (16d)  netbsd-9 (16d)  netbsd-8 (21d) 

2024-06-02 04:48:50 UTC Now

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 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: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 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 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: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 12:38:30 UTC MAIN commitmail json YAML

Document optional speed argument to consdev

(kim)

2020-07-15 12:36:30 UTC MAIN commitmail json YAML

Let consdev command also set speed

Adapted from PR install/55490 by Sunil Nimmagadda

(kim)

2020-07-15 12:15:31 UTC MAIN commitmail json YAML

2020-07-15 09:58:34 UTC MAIN commitmail json YAML

Add NetBSD RCSID. No functional changes.

(rin)

2020-07-15 09:42:43 UTC MAIN commitmail json YAML

Now, FPU emulation for booke and ibm4xx works fine at a level where
all the related ATF tests pass correctly. However, there still remain
problems:

- FEX and VX bits for FPSCR cannot be modified by mcrfs, mtfsf{,i},
  and mtfsb[01].
- Invalid operations should be treated differently depending on
  FPSCR[VE].

Therefore, comment them in order not to be forgotten.

No binary changes.

(rin)

2020-07-15 09:36:35 UTC MAIN commitmail json YAML

Try to fix FPSCR bits in the end of emulation:

- FPSCR[FEX] is not a sticky bit.
- Turn on FPSCR[FEX] if the emulated instruction causes invalid operation,
  and invalid operation exception is not masked out.
- FPSCR[VX] is not a sticky bit, however it should be set when at least
  one of FPSCR[VXfoo] bits (they are sticky!) is set.
- FPSCR[FX] is a sticky bit, and it should be set if FPSCR is modified by
  instructions other than mtfsf{,i}.

(rin)

2020-07-15 09:22:26 UTC MAIN commitmail json YAML

Set ksi_code correctly via fpu_get_fault_code() for SIGFPE.

(rin)

2020-07-15 09:19:49 UTC MAIN commitmail json YAML

Expose fpu_get_fault_code() even if !PPC_HAVE_FPU, and
adjust it to systems without FPU.

(rin)

2020-07-15 09:16:35 UTC MAIN commitmail json YAML

Do not raise SIGFPE unless MSR[FE0] or MSR[FE1] is set via fenv(3).

(rin)

2020-07-15 09:10:14 UTC MAIN commitmail json YAML

For booke and ibm4xx, emulate m[ft]msr in user mode, in the same
manner as oea.

Now, user process can decide by itself whether floating-point
exception triggers SIGFPE or not via fenv(3).

(rin)

2020-07-15 08:58:52 UTC MAIN commitmail json YAML

Factor out emulation code for m[ft]msr in user mode from oea, and
adjust it for systems without FPU.

Now, it can be used from booke and ibm4xx in order to support fenv(3).

(rin)

2020-07-15 08:56:06 UTC MAIN commitmail json YAML

ftp.1: don't wrap "[[user@]host [port]]"

(lukem)

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

Treat trap instruction from userland correctly in EXC_PGM handler;
raise SIGTRAP with TRAP_BRKPT instead of SIGILL.

(rin)

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

FPSCR[FEX] is not a sticky bit; it is always cleared when read from
userland via mffs on real hardware.

(rin)

2020-07-15 08:14:41 UTC MAIN commitmail json YAML

PR port-powerpc/55425

Update comment; FPU emulation seems to work just fine now. However,
FPU-optimized code should still be avoided for better performance,
if FPU is not present.

(rin)

2020-07-15 08:10:41 UTC MAIN commitmail json YAML

PR port-powerpc/55425

Fix emulation for mtfsf; source register is frB here.

Now, userland processes successfully change rounding mode, by which
FPU-optimized code in OpenSSL works just fine as far as I can see.

(rin)

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

Rename emulated_opcode() to emulate_privileged() for clarity.
No functional changes.

(rin)

2020-07-15 07:54:25 UTC MAIN commitmail json YAML

For trap instruction, ksi_code should be TRAP_BRKPT not TRAP_TRACE.

(rin)

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

Do not set ksi->ksi_addr twice. No functional changes.

(rin)

2020-07-15 07:47:27 UTC MAIN commitmail json YAML

Do not raise divide-by-zero exception when dividend is zero.

(rin)

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

Do not use curlwp twice. No functional changes.

(rin)

2020-07-15 07:37:25 UTC MAIN commitmail json YAML

Remove old workaround foe cache problem on ibm4xx.
The problem seems gone already.

(rin)

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

Add missing note about Intel I219 LM10-LM15 and V10-V14.

(msaitoh)

2020-07-15 01:42:27 UTC MAIN commitmail json YAML

2020-07-15 00:51:40 UTC MAIN commitmail json YAML

Fixup OpenSimpleReadFile usage:
- The "EFI_DEVICE_PATH **FilePath" parameter can change, so do not free
  the output. This was causing crashes on U-Boot when attempting to load
  boot.cfg, even if it didn't exist.
- Allocate the SIMPLE_READ_FILE in advance and store a pointer to it in
  struct open_file.

(jmcneill)

2020-07-14 17:40:10 UTC MAIN commitmail json YAML

note ciss(4) adapter match update

(jdolecek)

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

update list of matched adapters

(jdolecek)

2020-07-14 17:23:59 UTC MAIN commitmail json YAML

match newer HP Smart Array controllers, list from FreeBSD

(jdolecek)

2020-07-14 17:23:27 UTC MAIN commitmail json YAML

fix __arraycount() parameter

(jdolecek)

2020-07-14 17:19:03 UTC MAIN commitmail json YAML

make ciss_pci_devices[] more compact

(jdolecek)

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

2020-07-14 16:56:35 UTC MAIN commitmail json YAML

add newer ciss(4) devices, list obtained from FreeBSD

(jdolecek)

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

mark diagused variable as such

fixing non DIAGNOSTIC builds

(para)

2020-07-14 15:37:40 UTC MAIN commitmail json YAML

make bnx_wk (used to trigger bnx_alloc_pkts()) part of softc instead
of using a static variable, so it's independant for each adapter

(jdolecek)

2020-07-14 12:15:16 UTC MAIN commitmail json YAML

remove call to bnx_alloc_pkts() from bnx_init_tx_chain() - it can
be called from softint context via bnx_watchdog(), and bnx_alloc_pkts()
dmamap allocation can't run in (soft)interrupt context

(jdolecek)

2020-07-14 12:04:46 UTC MAIN commitmail json YAML

remove CISS_NO_INTERRUPT_HACK, discussed with joerg@ and spz@

(jdolecek)

2020-07-14 11:44:53 UTC MAIN commitmail json YAML

remove ccb_sc to save memory, no need to store pointer to sc in ccb

(jdolecek)

2020-07-14 11:39:02 UTC MAIN commitmail json YAML

use STAILQ for ccb lists to save some memory, doubly-linked list is not needed

(jdolecek)

2020-07-14 10:49:21 UTC MAIN commitmail json YAML

note bnx(4) MSI/MSI-X and ciss(4) PERFORMANT+MSI/MSI-X

(jdolecek)

2020-07-14 10:44:34 UTC MAIN commitmail json YAML

only copy the actual command length in ciss_scsi_cmd(), instead of always
copying CISS_MAX_CDB bytes

Fixes reading past buffer memory triggered e.g. on kernel dump, reported
by KASAN:
ASan: Unauthorized Access In ...: Addr ... [16 bytes, read, RedZonePartial]

also do not pre-zero the cdb before copying cmd to it, there is no need for it

(jdolecek)

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

g/c #if 0'ed ciss_scsi_raw_cmd()

(jdolecek)

2020-07-14 10:37:30 UTC MAIN commitmail json YAML

add support for PERFORMANT mode, and allow MSI/MSI-X (only) for adapters which
support it

code adapted from FreeBSD, but with fix for setting the performant bit
and pull count on command submittion as seen in hpsa Linux driver

tested with INTx and MSI-X on HP Smart Array 11

thanks to Andreas Gustafsson for initial testing, and providing
access to test machine

(jdolecek)

2020-07-14 10:26:34 UTC MAIN commitmail json YAML

only destroy the TX pkgs and dmamaps in bnx_dma_free() called on detach, don't
do it anymore in bnx_free_tx_chain(), called from bnx_init()

avoid occassional panic triggered by the free code having to allocate
memory from interrupt context when bnx_init() is called from bnx_watchdog()

(jdolecek)

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

2020-07-14 08:55:07 UTC MAIN commitmail json YAML

2020-07-14 08:52:00 UTC MAIN commitmail json YAML

Adapt to new proplib API

(martin)

2020-07-14 04:39:39 UTC MAIN commitmail json YAML

newwin - fix crash with negative ncols.

When support for negative nrows/ncols was added, one s/ncols/maxx/ was
missed so we ended up passing negative (i.e. huge unsigned) length
when hashing the line contents.

Reported by Naman Jain in PR lib/55484

(uwe)

2020-07-14 01:05:07 UTC MAIN commitmail json YAML

Enable PCPU_IDT option by default

(yamaguchi)

2020-07-14 01:01:05 UTC MAIN commitmail json YAML

show the verbose commands for bozohttpd and calendar too

And bump the version.

(reed)