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

2024-05-10 17:17:55 UTC Now

2021-03-02 12:01:02 UTC MAIN commitmail json YAML

2021-03-02 11:59:49 UTC MAIN commitmail json YAML

Stop registering same function twice, i.e., for pckbd(4) and pms(4),
via intr_establish().

(rin)

2021-03-02 11:51:00 UTC MAIN commitmail json YAML

Fix previous: Each line is "stride" bytes wide, not "width * depth".

While here, add a comment explaining what this test is doing.

(jmcneill)

2021-03-02 11:10:53 UTC MAIN commitmail json YAML

Fix jcl's starvation case in ixgbe_rxeof() again.

ix_txrx.c rev.1.64 preallocates jcl to prevent starvation but it's not
perfect. Don't use ixgbe_rx_discard() and just update the old descriptor
for reuse. It's also required for multiple descriptors case to refresh
subsequent descriptor(s). Reviewed by knakahara@.

(msaitoh)

2021-03-02 10:21:09 UTC MAIN commitmail json YAML

Restore defaults.

The actual config now lives in src and we don't want merge conflicts.

(nia)

2021-03-02 10:17:25 UTC MAIN commitmail json YAML

Use proper -width instead of the cargo-cult value.

(uwe)

2021-03-02 10:14:59 UTC MAIN commitmail json YAML

Sort config file flags and command line options.

(uwe)

2021-03-02 10:12:33 UTC MAIN commitmail json YAML

Fix markup so that literals are typeset as literals.

(uwe)

2021-03-02 08:16:53 UTC MAIN commitmail json YAML

Ensure the "memory" clobber is on inline assembly store operations

No binary change of note with this change in MALTA32

(skrll)

2021-03-02 07:55:16 UTC MAIN commitmail json YAML

Fix build failure for options NET_MPSAFE.

(knakahara)

2021-03-02 07:44:08 UTC MAIN commitmail json YAML

2021-03-02 07:38:48 UTC MAIN commitmail json YAML

Switch to genppc_cpu_configure().

(rin)

2021-03-02 07:37:27 UTC MAIN commitmail json YAML

Turn imask into static.

XXX
Other macro etc. in powerpc/intr.h should also be moved into
powerpc/pic/intr.c, or protected by __INTR_PRIVATE.

(rin)

2021-03-02 07:27:24 UTC MAIN commitmail json YAML

Invoke calc_delayconst() before read_eeprom(), which uses delay(9).

Fix unintended looong waiting time during boot.

(rin)

2021-03-02 07:23:22 UTC MAIN commitmail json YAML

Do not forcibly turn off PPC_4XX_NOCACHE option.

(rin)

2021-03-02 07:21:01 UTC MAIN commitmail json YAML

Use genppc_cpu_configure() instead of calling spl0() directly
(and optionally printing out imask).

(rin)

2021-03-02 07:16:24 UTC MAIN commitmail json YAML

Revert previous, 11th time failed after commit.  Problem must be elsewhere.

(simonb)

2021-03-02 07:02:15 UTC MAIN commitmail json YAML

Bump tentative flag timeout (-w) from 10 to 20 seconds.  Changes this
test from failing roughly half the time to working 100% over 10 tests on
evbmips er4.

(simonb)

2021-03-02 07:02:06 UTC MAIN commitmail json YAML

Sanity check size vs width x height x depth.  Buggy firmware exists.

(skrll)

2021-03-02 06:31:25 UTC MAIN commitmail json YAML

add gffb
tested on 20" 1.8GHz iMac G5

(macallan)

2021-03-02 02:28:45 UTC MAIN commitmail json YAML

- Add a boolean "ofwbootcons_suppress" that, when true, suppresses
  ofwbootcons I/O (i.e. "doesn't call into OFW").  This allows
  platform code to ensure that early console I/O doesn't occur in certain
  critical sections.
- When printing the translations, put phys next to virt for easier
  visual comparisons.

(thorpej)

2021-03-02 01:47:45 UTC MAIN commitmail json YAML

2021-03-02 01:20:35 UTC MAIN commitmail json YAML

KNF. No binary changes.

(rin)

2021-03-02 01:15:15 UTC MAIN commitmail json YAML

Consistently right-justify backslash in macro definition.
No binary changes.

(rin)

2021-03-02 01:02:12 UTC MAIN commitmail json YAML

Don't show any of the completely and utterly undocumented VTW info if
the feature isn't enabled (by checking net.inet.tcp.vtw.enable).

(simonb)

2021-03-02 00:28:55 UTC MAIN commitmail json YAML

Apply PMAPNAME() to pmap_bootstrap[12](); fix build for ofppc, which has
both pmap32 and pmap64bridge in a single kernel.

(rin)

2021-03-02 00:18:22 UTC MAIN commitmail json YAML

ukbd: GC some 20 year old code (NFC)

Long ago, code was improved to allow detaching keyboards that were the
console, but the old commen and panic() were #if 0'd instead of
removed.

(gdt)

2021-03-02 00:01:27 UTC MAIN commitmail json YAML

ukbd: Condition probe-time verbosity on USBVERBOSE

Previously, this driver switched on more verbose messages based on
DIAGNOSTIC.  But, the messages weren't about an impossible-to-reach
condition, just extra keys.  Change the condition to USBVERBOSE,
documented as serving this purpose.

(gdt)

2021-03-01 23:02:30 UTC MAIN commitmail json YAML

require NETWORKING otherwise amd can come up before the network is up and
it needs to be able to do DNS.

(christos)

2021-03-01 22:59:52 UTC MAIN commitmail json YAML

note that "enum usbnet_ep un_ed" member is the wrong type, and should
be "uByte un_ed", and fix when we version this next.  noticed by martin@

(mrg)

2021-03-01 22:07:58 UTC MAIN commitmail json YAML

update some versions

(christos)

2021-03-01 21:43:00 UTC MAIN commitmail json YAML

Sort options in synopsis

(wiz)

2021-03-01 21:37:10 UTC MAIN commitmail json YAML

Implement 'E' flag that prevents newsyslog from rotating empty log files.

(otis)

2021-03-01 21:01:39 UTC MAIN commitmail json YAML

and the html for rge(4)...

(jakllsch)

2021-03-01 18:18:39 UTC MAIN commitmail json YAML

2021-03-01 18:14:05 UTC MAIN commitmail json YAML

Fix Dd, comment out OpenBSD-only page.

(wiz)

2021-03-01 18:12:58 UTC MAIN commitmail json YAML

2021-03-01 18:08:36 UTC MAIN commitmail json YAML

link to rge(4) from pci(4)

(jakllsch)

2021-03-01 18:01:05 UTC MAIN commitmail json YAML

2021-03-01 17:58:33 UTC MAIN commitmail json YAML

update rge(4) manual page from OpenBSD

(jakllsch)

2021-03-01 17:53:29 UTC MAIN commitmail json YAML

2021-03-01 17:48:52 UTC MAIN commitmail json YAML

Update rge(4) from older OpenBSD, finish porting.

Should consider merging this all into re(4) and rgephy(4) someday.

Some cleanup tasks remain here.

(jakllsch)

2021-03-01 17:41:44 UTC MAIN commitmail json YAML

reduce aprint_error(9) abuse

(jakllsch)

2021-03-01 17:41:00 UTC MAIN commitmail json YAML

reduce aprint_error(9) abuse

(jakllsch)

2021-03-01 16:50:01 UTC MAIN commitmail json YAML

Drop IEEE802.11 support from the ramdisk's ifconfig(8)

(martin)

2021-03-01 16:49:08 UTC MAIN commitmail json YAML

Now that we use the "hacked" (non-widechar) curses, drop -lcurses

(martin)

2021-03-01 16:47:48 UTC MAIN commitmail json YAML

Make IEEE802.11 support optional

(martin)

2021-03-01 16:01:06 UTC netbsd-9 commitmail json YAML

2021-03-01 16:00:08 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #1219):

sys/dev/audio/audio.c: revision 1.89
sys/dev/audio/audio.c: revision 1.90
sys/dev/audio/audio.c: revision 1.91

Change the lock conditions to call audio_unlink().

This can remove a different copy of audio_exlock_enter() in audio_unlink()
and can use normal one.  Also, in audiodetach(), this can set the exlock
at more natual order (before calling audio_unlink()).

No noticeable functional changes are intended.
Thanks for comments, riastradh@.

Protect also audioopen() and audiobellopen() from audiodetach() with
psref(9), as well as others(audioread, audiowrite, etc..).
- Rename audio_file_enter to audio_sc_acquire_fromfile, audio_file_exit
  to audio_sc_release, for clarify.  These are the reference counter for
  this sc.
- Introduce audio_sc_acquire_foropen for audio{,bell}open.
- audio_open needs to examine sc_dying again before inserting it into
  sc_files, in order to keep sc_files consistency.

The race between audiodetach and audioopen is pointed out by riastradh@.
Thank you for many advices.

Add missing curlwp_bindx() corresponding to curlwp_bind().
Pointed out by riastradh@.

(martin)

2021-03-01 15:40:40 UTC MAIN commitmail json YAML

Make this work with a non-standard LOCALBASE.

(nia)

2021-03-01 13:52:50 UTC MAIN commitmail json YAML

amd64/conf/XEN3_DOM0: Add comment

This commit merely adds a comment explaining how XEN3_DOM0 ought to
relate to GENERIC.

(gdt)

2021-03-01 11:37:31 UTC MAIN commitmail json YAML

cpu_lwp_fork: KASSERT -> KASSERTMSG to print the actual value of DAIF if
it is not 0 in cpu_lwp_fork

(jmcneill)

2021-03-01 11:29:14 UTC MAIN commitmail json YAML

Add DISABLE_INTERRUPT_SAVE(), like DISABLE_INTERRUPT() but also returns
the previous state.

Use DISABLE_INTERRUPT_SAVE()/ENABLE_INTERRUPT() in pic_splfuncs instead
of cpsid()/cpsie(). The difference here is the caller no longer specifies
which bits to disable and enable; on arm32 we continue to use I32_bit and
on aarch64 we now consistently toggle both IRQ and FIQ state.

(jmcneill)

2021-03-01 09:24:27 UTC MAIN commitmail json YAML

Drop wide char support to save space

(martin)

2021-03-01 04:50:18 UTC MAIN commitmail json YAML

Refactor rxq->rxq_ptr updating.

(knakahara)

2021-03-01 04:49:11 UTC MAIN commitmail json YAML

Remove extra unlock/lock processing around if_percpuq_enqueue().

This temporary unlock/lock processing was required for direct calling
ifp->if_input.  After r1.391, wm(4) uses if_percpuq_enqueue() and it
does not hold any mutexes.

(knakahara)

2021-03-01 04:43:55 UTC MAIN commitmail json YAML

2021-03-01 04:42:14 UTC MAIN commitmail json YAML

2021-03-01 04:40:39 UTC MAIN commitmail json YAML

Use lmtemp(4) as entropy source.

(rin)

2021-03-01 04:39:45 UTC MAIN commitmail json YAML

Use dstemp(4) as entropy source.

(rin)

2021-03-01 03:42:57 UTC MAIN commitmail json YAML

2021-03-01 01:53:46 UTC MAIN commitmail json YAML

Split pmap_bootstrap() into 2 functions:
- pmap_bootstrap1(), which sets up the low-level pmap data structures.
- pmap_bootstrap2(), which actually programs the MMU hardware based on
  pmap_bootstrap1()'s work.

pmap_bootstrap() is still provided as a wrapper around the two, but this
provides flexibility to platforms that might need to do additional work
between these two phases.

(thorpej)

2021-03-01 01:43:16 UTC MAIN commitmail json YAML

2021-03-01 01:40:16 UTC MAIN commitmail json YAML

2021-03-01 00:51:01 UTC MAIN commitmail json YAML

lint: only warn once about integer constant overflow on 32-bit

Previously, the test msg_056.c warned twice about the integer literal,
but only on 32-bit platforms.  On 64-bit platforms, there was only a
single warning since the integer constant was converted to type
__uint128_t, and this prevented the second warning.  On 32-bit targets,
there is no __uint128_t though.

Fixes part of PR bin/55976.

(rillig)

2021-02-28 23:12:37 UTC MAIN commitmail json YAML

Defer acquiring the FDE lock until after the allocation. This can avoid
nesting issues between malloc and backtrace when using LSan.

(joerg)

2021-02-28 22:12:17 UTC MAIN commitmail json YAML

2021-02-28 21:39:17 UTC MAIN commitmail json YAML

tests/lint: add test for narrowing conversions

Lint can warn about narrowing conversions, it just doesn't do so by
default.

The option -a (which is included in the default LINTFLAGS in sys.mk)
only reports narrowing conversions from 'long' or larger.  To get
warnings about all possible narrowing conversions, the option -a has to
be given more than once.

PR bin/14531

(rillig)

2021-02-28 21:34:34 UTC MAIN commitmail json YAML

support building alpha kernel without PCI bus

(tnn)

2021-02-28 20:31:33 UTC MAIN commitmail json YAML

Bump OFW_MAX_TRANSLATIONS from 32 -> 48.  32 was already tight (at least
on my Macs), and having having translations for the kernel itself present
in the firmware's translation table bumped it over the 32-entry limit.

(thorpej)

2021-02-28 20:27:40 UTC MAIN commitmail json YAML

- When starting the boot program, cache a bunch of OFW frequently used
  ihandles / phandles, rather than fetching them all the time.
- Change the signature of OF_call_method() to take an array of cells for
  the inputs and outputs, rather than using variadic arguments.  This
  makes it much easier to use OF_call_method() when the format of the
  arguments passed to a given method are determined at run-time
  (due to e.g. #address-cells).
- Properly inform OpenFirmware where the kernel is loaded by using
  "claim" on /chosen/memory and, if running in virtual-mode, using
  "claim" on /chosen/mmu to reserve the VA, and "map" on /chosen/mmu
  to enter the translation.  (The kernel is still always mapped VA==PA.)

(thorpej)

2021-02-28 20:17:14 UTC MAIN commitmail json YAML

2021-02-28 20:04:52 UTC MAIN commitmail json YAML

lint: document where in C99 the behavior of cconv is specified

(rillig)

2021-02-28 19:24:15 UTC MAIN commitmail json YAML

lint: replace wrong comment with assertion

The broad type of a value is indeed stored in the value itself, in the
member v_tspec.  For nodes that refer to this value, it is redundantly
stored, it always equals tn->tn_type->t_tspec.

After initialization, neither tn->tn_type nor val->v_tspec are modified.
This is not ensured by the compiler but has to be analyzed manually.

No functional change.

(rillig)

2021-02-28 19:16:05 UTC MAIN commitmail json YAML

lint: rename is_nonzero to constant_is_nonzero

The new function name emphasizes that the given node must have the
operator CON.

No functional change.

(rillig)

2021-02-28 19:01:11 UTC MAIN commitmail json YAML

Minor re-ordering of a few things, and issue an isync barrier at all
critical MMU on/off transitions.

(thorpej)

2021-02-28 18:51:51 UTC MAIN commitmail json YAML

lint: rename members and access macros of the basic types

Having the measurement unit in the variable name prevents accidental
confusion between bits and bytes, especially since usually the word
'size' means the size in bytes, while 'width' means the size in bits, at
least for integer types.

No functional change.

(rillig)

2021-02-28 18:17:08 UTC MAIN commitmail json YAML

lint2: add redundancy checker for comments in source code

Based on the redundancy checker for lint1.

No functional change.

(rillig)

2021-02-28 17:16:51 UTC MAIN commitmail json YAML

lint2: align comments in the code with actual messages

(rillig)

2021-02-28 16:10:00 UTC MAIN commitmail json YAML

libexec/httpd: fix cross-site scripting in Lua example

curl \
  --header 'NAME<x>: <y>' \
  'http://127.0.0.1:8080/test/printenv?<b>=<i>'

(rillig)

2021-02-28 12:45:47 UTC MAIN commitmail json YAML

tests/lint: shorten code for checking redundancy in files

No functional change.

(rillig)

2021-02-28 12:40:00 UTC MAIN commitmail json YAML

tests/lint: keep messages in test files in sync with actual messages

Each of the tests named msg_*.c repeats the template of the message, to
make the test somewhat self-contained when viewed in isolation.

This creates a redundancy, and keeping track of this manually is next to
impossible.  I tried it and failed in 9 cases, even though it has just
been 2 months since I myself created the initial files and I knew all
the time that this redundancy exists.

Be fool-proof for the future by checking this automatically.

(rillig)

2021-02-28 09:04:28 UTC MAIN commitmail json YAML

disable the rule to copy resize.c since it fails on r/o src trees:

cp: /home/source/ab/HEAD/src/usr.bin/resize/resize.c: Permission denied

(mrg)

2021-02-28 07:51:29 UTC MAIN commitmail json YAML

Add SEE ALSOs for various bus types

suggested by mrg

(nia)

2021-02-28 07:09:00 UTC netbsd-9 commitmail json YAML

2021-02-28 07:07:38 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #1218):

sys/dev/audio/audio.c: revision 1.84

Fix a return value of audiopoll().
fo_poll is expected to return revents rather than errno on error.

(martin)

2021-02-28 07:05:14 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #1217):

sys/dev/audio/audio.c: revision 1.46
sys/dev/audio/audio.c: revision 1.82
sys/dev/audio/audio.c: revision 1.85
sys/dev/audio/audio.c: revision 1.87
sys/dev/audio/audio.c: revision 1.88

Change two aprint_error_dev() to device_printf() (and improve messages).
This is also called from other than boot.

Add missing newline.

Revise comments.

Change (harmless) zero-length debug messages.
sys/modules is compiled with -Wzero-length-format and this
makes sys/modules compilable even if AUDIO_DEBUG is defined.

Improve error messages.
- prefix MD device name if it's considered to be related to the MD driver.
- revise some messages.

(martin)

2021-02-28 07:01:01 UTC netbsd-9 commitmail json YAML

Pull up following revision(s) (requested by isaki in ticket #1216):
sys/arch/hppa/gsc/harmony.c: revision 1.8
sys/arch/hppa/gsc/harmony.c: revision 1.9
sys/arch/hppa/gsc/harmony.c: revision 1.10

Fix locking against myself.
trigger_output will be called with sc_intr_lock held.

>From source code review, not tested.

Fix my mistakes in rev1.6.
- I had to merge the channel bit and the speed bits.
  Reported by macallan@.
- I also fix my indent, while I'm here.

Simplify harmony_speed_bits().
It no longer needs to write back the speed value.

(martin)

2021-02-28 05:19:52 UTC MAIN commitmail json YAML

update version, dates, add emily to list of contributors.  sort list.

(mrg)

2021-02-28 04:18:46 UTC MAIN commitmail json YAML

avoid warnings from the previous when using objdirs.

(mrg)

2021-02-28 03:59:28 UTC MAIN commitmail json YAML

lint: do not warn about constant expressions involving sizeof

These expressions are indeed constant for a specific platform, but on
another platform their value may change.  This makes them unsuspicious
and legitimate for portable code.

Seen in rump_syscalls.c, as 'sizeof(int) > sizeof(register_t)'.

(rillig)

2021-02-28 03:33:18 UTC MAIN commitmail json YAML

lint: rename parameter in function 'expr'

For symmetry with the function is_constcond_false.

No functional change.

(rillig)

2021-02-28 03:29:12 UTC MAIN commitmail json YAML

tests/lint: add test for constant expression involving sizeof

(rillig)

2021-02-28 03:14:44 UTC MAIN commitmail json YAML

lint: document allowed types for bit-fields

No functional change.

(rillig)

2021-02-28 03:05:12 UTC MAIN commitmail json YAML

lint: extract declare_bit_field from declarator_1_struct_union

No functional change.

(rillig)

2021-02-28 02:45:37 UTC MAIN commitmail json YAML

2021-02-28 02:39:15 UTC MAIN commitmail json YAML

give BOZOVER a default so exporting a distfile is easy.

(mrg)

2021-02-28 02:37:04 UTC MAIN commitmail json YAML

lint: extract type_name_of_array from type_name

No functional change.

(rillig)

2021-02-28 02:29:29 UTC MAIN commitmail json YAML

lint: output precise type information for struct/union/enum

Previously, 'typedef enum { E } name' was output as 'name', which
omitted the information that this was an enum type.  Now it is output as
'enum typedef name'.

Previously, 'typedef struct { int member; } name' was output as 'struct
<unnamed>', which omitted the typedef name.  Now it is output as 'struct
typedef name'.

(rillig)

2021-02-28 02:00:06 UTC MAIN commitmail json YAML

2021-02-28 01:53:50 UTC MAIN commitmail json YAML

tests/lint: add test for 'illegal structure pointer combination'

(rillig)

2021-02-28 01:36:46 UTC MAIN commitmail json YAML

2021-02-28 01:30:22 UTC MAIN commitmail json YAML

2021-02-28 01:22:02 UTC MAIN commitmail json YAML

2021-02-28 01:20:54 UTC MAIN commitmail json YAML

2021-02-28 01:06:57 UTC MAIN commitmail json YAML

lint: make messages for incompatible pointers more specific

Message 153 didn't state obviously which of the pointer types was the
one before conversion (or cast) and which was the resulting type.

Message 229 didn't have any type information at all.

(rillig)

2021-02-28 00:52:16 UTC MAIN commitmail json YAML

2021-02-28 00:44:58 UTC MAIN commitmail json YAML

2021-02-28 00:43:24 UTC MAIN commitmail json YAML

no need to specify SRCS

(christos)

2021-02-28 00:42:22 UTC MAIN commitmail json YAML

2021-02-28 00:40:22 UTC MAIN commitmail json YAML

lint: add type information to 'possible pointer alignment problem [135]'

This warning occurs more than 7400 times in a regular NetBSD build, and
without giving any type information, leaves the reader clueless about
what the underlying issue might be.  Add type information since that is
a no-brainer to implement.

(rillig)

2021-02-28 00:28:47 UTC MAIN commitmail json YAML

lint: skip alignment computation if possible

Testing a global variable is simpler than calling a 20-line function.

No functional change.

(rillig)

2021-02-28 00:23:55 UTC MAIN commitmail json YAML

2021-02-28 00:20:19 UTC MAIN commitmail json YAML

tests/lint: add test for 'possible pointer alignment problem [135]'

(rillig)

2021-02-27 22:37:54 UTC MAIN commitmail json YAML

Don't define the copy rules if we don't have X sources

(christos)

2021-02-27 21:13:09 UTC MAIN commitmail json YAML

Clean up file obsoleted by migration to usr.bin/resize.

(rin)

2021-02-27 20:43:58 UTC MAIN commitmail json YAML

2021-02-27 18:29:38 UTC MAIN commitmail json YAML

sun4v: update TODO file with OpenFirmware interface related improvements

(palle)

2021-02-27 18:19:57 UTC MAIN commitmail json YAML

sun4v: update TODO file with status on sun4v - kernel and userland runs without crashing now - next up is network interfaces

(palle)

2021-02-27 18:10:46 UTC MAIN commitmail json YAML

sun4v: add 32/64 bit workaround for the OF_read() call, similar to the one introduced in revision 1.21

(palle)

2021-02-27 18:01:29 UTC MAIN commitmail json YAML

2021-02-27 17:16:48 UTC MAIN commitmail json YAML

tests/lint: allow 'expect' comments to refer to other lines

This allows /* expect+1: ... */ to refer to the following line, as well
as /* expect-1: ... */ to refer to the previous line.  This avoids
horizontal scrolling to see the expectations, it also allows these
expectations comments to be more verbose, mentioning the whole
diagnostic in many cases.

The 'expect' comments don't need to be at the end of a line anymore
since that was rather surprising.  The one 'expect' comment that had not
been at the end of the line was in d_c99_bool_strict.c and was not
intended to be ignored.

(rillig)

2021-02-27 16:20:15 UTC MAIN commitmail json YAML

Use font height to compute height of resize popup for placing a window.

(mlelstv)

2021-02-27 16:08:08 UTC MAIN commitmail json YAML

2021-02-27 15:37:38 UTC MAIN commitmail json YAML

Provide an escape ifdef to avoid all the X headers

(christos)

2021-02-27 15:36:40 UTC MAIN commitmail json YAML

Add a maintainable version of resize, with a copy target and a header that
provides all the glue needed without other X headers.

(christos)

2021-02-27 15:29:15 UTC MAIN commitmail json YAML

tests/lint: remove stray warning 278 from test for warning 241

(rillig)

2021-02-27 15:26:30 UTC MAIN commitmail json YAML

lint: rename confusing local variable

The variable name rtp is reserved for the type of the right-hand
operand.

No functional change.

(rillig)

2021-02-27 14:54:56 UTC MAIN commitmail json YAML

tests/lint: add test for 'dubious operation on enum' [241]

(rillig)

2021-02-27 14:22:07 UTC MAIN commitmail json YAML

machine/cpufunc.h -> arm/cpufunc.h for the benefit of non-evbarm ports

(jmcneill)

2021-02-27 13:43:36 UTC MAIN commitmail json YAML

2021-02-27 13:02:42 UTC MAIN commitmail json YAML

Use "static" in the function intro if the function is static.

(simonb)

2021-02-27 12:55:25 UTC MAIN commitmail json YAML

changes in bozohttpd 20210227:
o  new support for content types: .tar.bz2, .tar.xz, .tar.lz,
  .tar.zst, .tbz2, .txz, .tlz, .zipx, .xz, .zst, .sz, .lz, .lzma,
  .lzo, .7z, .lzo, .cab, .dmg, .jar, and .rar.  should fix
  netbsd PR#56026:
  MIME type of .tar.xz file on ny{cdn,ftp}.NetBSD.org is invalid

(mrg)

2021-02-27 12:36:46 UTC MAIN commitmail json YAML

2021-02-27 12:28:17 UTC MAIN commitmail json YAML

ctwmrc: remove SloppyFocus keyword, which breaks xev

the default still seems to be sloppy focus.

is this a bug? does ctwm use a different definition of sloppy focus to
the rest of the world? we may never know

(nia)

2021-02-27 11:06:32 UTC MAIN commitmail json YAML

add ixl(4) properly

(nia)

2021-02-27 11:05:38 UTC MAIN commitmail json YAML

2021-02-27 09:54:59 UTC MAIN commitmail json YAML

spi.4: mention history of ioctl interface

(nia)

2021-02-27 08:59:24 UTC MAIN commitmail json YAML

iic.4: Add FILES section. Fix copypasto.

(nia)

2021-02-27 08:56:14 UTC MAIN commitmail json YAML

Describe the i2c ioctl interface

(nia)

2021-02-27 08:43:15 UTC MAIN commitmail json YAML

iic.4: add ssdfb

(nia)

2021-02-27 08:38:14 UTC MAIN commitmail json YAML

spi.4: Add a FILES section

(nia)

2021-02-27 08:36:05 UTC MAIN commitmail json YAML

Document the userspace /dev/spi interface to the best of my ability.

Add ssdfb(4).

Based mostly on a mailing list post by mlelstv;
https://mail-index.netbsd.org/port-arm/2019/02/07/msg005454.html

(nia)

2021-02-27 02:52:49 UTC MAIN commitmail json YAML

Un-do a bunch of misguided code sharing.  It's not really shared if it's
full of platform-specific #ifdefs:
- ofwoea_batinit() is gone; just do what's needed early in macppc / ofppc
  initppc() functions.
- Get a bunch of Mac-specific stuff out of ofwoea_initppc().

(thorpej)

2021-02-27 01:31:24 UTC MAIN commitmail json YAML

2021-02-27 01:22:18 UTC MAIN commitmail json YAML

In ofwoea_initppc(), call oea_init() after getting the bootpath, etc.
Also, add a comment explaining why it's actually necessary to clear
PSL_IP after installing the kernel's exception vectors.

(thorpej)

2021-02-27 01:16:52 UTC MAIN commitmail json YAML

Rather than putting it on the caller, just let oea_iobat_add() decide
whether to call mpc601_ioseg_add().

(thorpej)

2021-02-26 21:15:20 UTC MAIN commitmail json YAML

Split cpu_model_init() into cpu_features_probe() and cpu_features_enable()
so that early bootstrap can do those two steps independently, if needed.

Continue to provide a cpu_model_init() wrapper for now.

(thorpej)

2021-02-26 19:25:12 UTC MAIN commitmail json YAML

2021-02-26 19:24:48 UTC MAIN commitmail json YAML

2021-02-26 18:39:10 UTC MAIN commitmail json YAML

Add /etc/ip6addrctl.conf as optional file so it is backed up.

(jakllsch)

2021-02-26 15:18:40 UTC MAIN commitmail json YAML

cgram: don't beep if the window is resized

(rillig)

2021-02-26 15:15:34 UTC MAIN commitmail json YAML

cgram: place the 'solved' marker nearer to the text

This way, it cannot be overlooked as easily as before.  It also doesn't
change the position of the keyboard help text anymore.  Only if there is
not enough space, the 'solved' marker is put into the bottom line.

(rillig)

2021-02-26 14:55:37 UTC MAIN commitmail json YAML

cgram: make the 'solved' stand out more

Suggested by Weitian LI via [1].

[1] https://github.com/NetBSD/src/commit/efec6410b2b5a736

(rillig)

2021-02-26 13:33:07 UTC netbsd-8 commitmail json YAML

2021-02-26 13:32:14 UTC netbsd-8 commitmail json YAML

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

usr.bin/patch/backupfile.c: revision 1.16
usr.bin/patch/backupfile.h: revision 1.7
usr.bin/patch/patch.c: revision 1.30

patch: make '-V none' work in the expected way

Internally the code confuses the concept of "the user doesn't want
a backup file" and "the user hasn't defined a type of backup file".

Introduce a new "undefined" backup type to serve the purpose "none"
previously did, and make "none" not generate backup files, as expected.

http://mail-index.netbsd.org/tech-userlevel/2021/02/19/msg012901.html

XXX pullup?

(martin)

2021-02-26 13:31:21 UTC netbsd-9 commitmail json YAML

2021-02-26 13:29:16 UTC netbsd-9 commitmail json YAML

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

usr.bin/patch/backupfile.c: revision 1.16
usr.bin/patch/backupfile.h: revision 1.7
usr.bin/patch/patch.c: revision 1.30

patch: make '-V none' work in the expected way

Internally the code confuses the concept of "the user doesn't want
a backup file" and "the user hasn't defined a type of backup file".

Introduce a new "undefined" backup type to serve the purpose "none"
previously did, and make "none" not generate backup files, as expected.

http://mail-index.netbsd.org/tech-userlevel/2021/02/19/msg012901.html

XXX pullup?

(martin)

2021-02-26 11:12:45 UTC MAIN commitmail json YAML

2021-02-26 11:05:33 UTC MAIN commitmail json YAML

add new evbarm device driver man pages

(nia)

2021-02-26 10:56:48 UTC MAIN commitmail json YAML

Remove extremely outdated list of supported devices

(nia)

2021-02-26 10:54:13 UTC MAIN commitmail json YAML

Add MAC68K_MEMSIZE option to hard-code memory size in MB, instead of
that given by Booter. Work around Booter bug by which max memory is
restricted to 255MB.

(rin)

2021-02-26 10:47:24 UTC MAIN commitmail json YAML

Sort opt_*.h. No binary changes.

(rin)

2021-02-26 10:44:31 UTC MAIN commitmail json YAML

2021-02-26 10:33:46 UTC MAIN commitmail json YAML

2021-02-26 10:06:42 UTC MAIN commitmail json YAML

Unfortunately we need to disable interrupts in pic_set_priority to keep
hardware and ci_cpl in sync.

(jmcneill)

2021-02-26 09:59:20 UTC MAIN commitmail json YAML

usb.4: add usmsc(4)

(nia)

2021-02-26 09:54:30 UTC MAIN commitmail json YAML

usb.4: add mue(4)

(nia)

2021-02-26 09:51:43 UTC MAIN commitmail json YAML

2021-02-26 09:50:59 UTC MAIN commitmail json YAML

usb.4: add mos(4)

(nia)

2021-02-26 09:46:58 UTC MAIN commitmail json YAML

pci.4: sync list of supported MI PCI devices a bit

I'm not sure what we consider machine-independent-enough for listing
here, so I'm listing drivers that are present in x86 and aarch64 kernels

(nia)

2021-02-26 09:20:58 UTC MAIN commitmail json YAML

2021-02-26 06:39:14 UTC MAIN commitmail json YAML

Fix xref, add missing word.

(wiz)

2021-02-26 04:28:15 UTC MAIN commitmail json YAML

Add missing endutent.3 to MAN.

(rin)

2021-02-26 03:19:34 UTC MAIN commitmail json YAML

put back line accidentally removed.

(christos)

2021-02-26 03:08:25 UTC MAIN commitmail json YAML

2021-02-26 03:05:01 UTC MAIN commitmail json YAML

PR/56012: Kouichi Hashikawa: getutent(3) man page is missing

(christos)

2021-02-26 02:54:21 UTC MAIN commitmail json YAML

Misc cleanups:

- built-in regex is required only when ${USE_WIDECHAR} == "yes"

- -DUSE_WIDECHAR cpp flag should be determined by ${USE_WIDECHAR},
  not ${USE_BUILTIN_REGEX}

- reduce .if -- .endif block for clarity

(rin)

2021-02-26 02:45:43 UTC MAIN commitmail json YAML

PR/56013: Kouichi Hashikawa: Move setutent/setutxent right before the loops.

(christos)

2021-02-26 02:18:57 UTC MAIN commitmail json YAML

2021-02-26 02:18:29 UTC MAIN commitmail json YAML

2021-02-26 02:01:16 UTC MAIN commitmail json YAML

Say what 1UL<<39 (MAXDSIZ value) is in the comment.

(simonb)

2021-02-26 01:48:20 UTC MAIN commitmail json YAML

Use a valuely human readable number for MAXTSIZ.

(simonb)

2021-02-26 01:38:44 UTC MAIN commitmail json YAML

Also free assocated mbufs.

(nat)

2021-02-26 00:41:56 UTC MAIN commitmail json YAML

Put back local regex (thanks Rin)

(christos)

2021-02-25 22:37:37 UTC MAIN commitmail json YAML

2021-02-25 21:59:27 UTC MAIN commitmail json YAML

2021-02-25 21:56:35 UTC MAIN commitmail json YAML

we don't need the extra copy wide-regex anymore.

(christos)

2021-02-25 21:47:46 UTC MAIN commitmail json YAML

2021-02-25 21:46:55 UTC MAIN commitmail json YAML

Oops, forgot to commit this. One more adjust for amiga/boot ver 3.1.

Shuold fix build.

(rin)

2021-02-25 21:28:40 UTC MAIN commitmail json YAML

2021-02-25 21:24:00 UTC MAIN commitmail json YAML

Add regcomp.c and regexec.c so that we get a version that does not use NLS
and brings in all the locale code.

(christos)

2021-02-25 20:51:10 UTC MAIN commitmail json YAML

more node name adjustments
also, pass sensor names if we can find them
now we find and currectly use the hard drive temperature sensor on my iMac G5

(macallan)

2021-02-25 20:49:08 UTC MAIN commitmail json YAML

deal with node name inconsistencies between PowerMac10,x and 8,x
Now we find fans and iic devices on iMac G5

(macallan)

2021-02-25 19:11:44 UTC MAIN commitmail json YAML

match Geforce FX5200 Go found in some iMac G5 models

(macallan)

2021-02-25 13:42:16 UTC MAIN commitmail json YAML

protect MIN from re-definition

(christos)

2021-02-25 13:41:58 UTC MAIN commitmail json YAML

Add reallocarray; this is used by the new regex code and we don't want to
convert it to reallocarr so the code is kept similar with the original from
FreeBSD.

(christos)

2021-02-25 10:18:38 UTC MAIN commitmail json YAML

Use %lld and cast to "long long" for any time_t's.

(simonb)

2021-02-25 09:39:58 UTC netbsd-8 commitmail json YAML

2021-02-25 09:38:48 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by tsutsui in ticket #1659):

sys/arch/m68k/m68k/reenter_syscall.s: revision 1.5
sys/arch/m68k/m68k/reenter_syscall.s: revision 1.6
sys/arch/m68k/m68k/reenter_syscall.s: revision 1.7

Replace magic numbers with proper macros prepared in assym.h.

No binary changes.

Note this is a preparation for a possible fix of PR port-m68k/55990.

Consistently use motorola style.  No binary changes.
Seems missed in rev 1.3:
https://mail-index.netbsd.org/source-changes/2013/08/01/msg046378.html

Plug kernel stack leaks in reenter_syscall() for setcontext(2).
This fixes long standing kernel crashes (MMU fault, address error,
and silent freeze by a double bus fault etc. seen for ~10 years)
caused by kernel stack overflow, especially on x68k and sun3 running
Xorg based servers.  See PR/55990 for more details.

"This change seems perfectly reasonable" from thorpej@ and
jklos@ also reported this also solved freeze of his mac68k system
with 10 megabyes of memory.

Should be pulled up to netbsd-9 and netbsd-8.

(martin)