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


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




switch to index mode

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

2024-05-10 07:07:45 UTC Now

2014-07-30 23:27:55 UTC MAIN commitmail json YAML

Fix diagnostic trap to be correct.  PSL_EE@l would be sign-extended and this
could never match the result of the andi. before it.

(matt)

2014-07-30 23:15:23 UTC MAIN commitmail json YAML

2014-07-30 22:45:21 UTC MAIN commitmail json YAML

Build 32bit constant with lis+ori, not lis+addi. The instructions
differ on the sign extension handling of the immediate.

(joerg)

2014-07-30 20:52:18 UTC MAIN commitmail json YAML

Apply some errata workarounds

(skrll)

2014-07-30 19:33:56 UTC MAIN commitmail json YAML

Second argument of config_rootfound is void *, so discard const
explicitly.

(joerg)

2014-07-30 15:47:32 UTC MAIN commitmail json YAML

2014-07-30 13:50:33 UTC MAIN commitmail json YAML

Fix ALTERNATE_GLOBALS so it at least works on sun4u - using a scratch register is not a good idea...

(palle)

2014-07-30 13:32:09 UTC MAIN commitmail json YAML

Call etherinit from ifinit1 only when it is required

This unbreaks the builds of kernels that don't build if_ethersubr.c.

(ozaki-r)

2014-07-30 13:31:17 UTC MAIN commitmail json YAML

Use lower case.  No functional change.

(skrll)

2014-07-30 12:45:44 UTC MAIN commitmail json YAML

2014-07-30 12:35:11 UTC MAIN commitmail json YAML

2014-07-30 12:34:12 UTC MAIN commitmail json YAML

Add Intel Xeon E3-1200 v3 Host Bridge, DRAM.

(msaitoh)

2014-07-30 10:50:54 UTC MAIN commitmail json YAML

pq3pci_config_addr_read is only used in a #if 0 block, so hide it under
the same condition.

(joerg)

2014-07-30 10:04:26 UTC MAIN commitmail json YAML

split PRU_CONNECT function out of pr_generic() usrreq switches and put
into seaparate functions

  xxx_listen(struct socket *, struct mbuf *)

  - always KASSERT(solocked(so)) and KASSERT(nam != NULL)
  - replace calls to pr_generic() with req = PRU_CONNECT with
    pr_connect()
  - rename existin {l2cap,sco,rfcomm}_connect() to
    {l2cap,sco,rfcomm}_connect_pcb() respectively to permit
    naming consistency with other protocols functions.
  - drop struct lwp * parameter from unp_connect() and at_pcbconnect()
    and use curlwp instead where appropriate.

patch reviewed by rmind

(rtr)

2014-07-30 07:44:00 UTC MAIN commitmail json YAML

Fix typo in comment

(ozaki-r)

2014-07-30 07:20:34 UTC MAIN commitmail json YAML

2014-07-30 07:11:57 UTC MAIN commitmail json YAML

2014-07-30 06:53:53 UTC MAIN commitmail json YAML

put boilerplate extraction of inpcb or in6pcb and tcpcb performed in tcp
usrreqs into a function that can be called instead of cut & pasting it
to every single usrreq function.

tcp_getpcb(struct socket *, struct inpcb **, struct in6pcb **, struct tcpcb **)

  * examines the family of the provided socket and fills in either inpcb
    or in6pcb and tcpcb.
  * if the pcb is not present for the family of the socket EINVAL is
    returned, if the family is not AF_INET{,6} EAFNOSUPPORT is returned.

signature provided by and patch reviewed by rmind

(rtr)

2014-07-29 23:35:00 UTC MAIN commitmail json YAML

2014-07-29 21:55:23 UTC MAIN commitmail json YAML

2014-07-29 21:21:44 UTC MAIN commitmail json YAML

2014-07-29 20:39:16 UTC MAIN commitmail json YAML

In the background subshell that flushes partial output every few
seconds, detach from the controlling terminal.  Without this, pressing
control-T (to send SIGINFO from the terminal) would almost always result
in the sleep process printing "about N seconds left of the original 3",
which is useless information.

(apb)

2014-07-29 19:15:47 UTC MAIN commitmail json YAML

Official PPC ISA documentation has no SP register, so use R1 directly.

(joerg)

2014-07-29 17:36:06 UTC MAIN commitmail json YAML

Linux wq locks are taken with spin locks held, so need IPL_VM.

(riastradh)

2014-07-29 16:19:45 UTC MAIN commitmail json YAML

cmpl wants four operands, so use the shorter cmplw instead.

(joerg)

2014-07-29 15:48:22 UTC MAIN commitmail json YAML

Posix requires the va_size of a symlink to be pathlength for symbolic links.
This fixes yet another atf case.

(reinoud)

2014-07-29 15:36:43 UTC MAIN commitmail json YAML

Fix debug printout of udf_write_metadata_partition_spacetable(), it referred
to an old variable.

(reinoud)

2014-07-29 11:10:12 UTC MAIN commitmail json YAML

Access time should only be set on accessing the data or messing with the
contents, not on inode access rights and ownership changes. Should address
PR kern/49033 for UDF.

Test results now come clean for bugs related to this issue in the ATF.

(reinoud)

2014-07-29 09:15:48 UTC MAIN commitmail json YAML

Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.

(gson)

2014-07-29 08:36:13 UTC MAIN commitmail json YAML

Add microcode file missing from update.

(rjs)

2014-07-29 07:01:02 UTC MAIN commitmail json YAML

Remove very old and incorrect comment.

(skrll)

2014-07-29 05:56:59 UTC MAIN commitmail json YAML

Use IFADDR_FOREACH

(ozaki-r)

2014-07-29 01:35:44 UTC MAIN commitmail json YAML

Use if_free instead of free

(ozaki-r)

2014-07-28 23:09:06 UTC MAIN commitmail json YAML

2014-07-28 22:12:16 UTC MAIN commitmail json YAML

2014-07-28 20:18:54 UTC MAIN commitmail json YAML

rs6000/sysv.h must be after netbsd.h so we use the ppc CC1_SPEC

(matt)

2014-07-28 17:28:13 UTC MAIN commitmail json YAML

2014-07-28 14:24:48 UTC MAIN commitmail json YAML

Add a mutex for global variables of if_ethersubr.c

To initialize the mutex, we introduce etherinit that is called from ifinit1.

(ozaki-r)

2014-07-28 12:59:39 UTC MAIN commitmail json YAML

Take rdev->fence_lock around the wakeup.

(riastradh)

2014-07-28 11:22:46 UTC MAIN commitmail json YAML

GCC sets up u?int_fast8_t to be int, so be consistent with it.

(joerg)

2014-07-28 10:09:51 UTC MAIN commitmail json YAML

add missing KASSERT()s at the top of sockin_usrreq(), req shall not be
either of these operations.

>      KASSERT(req != PRU_BIND);
>      KASSERT(req != PRU_LISTEN);

(rtr)

2014-07-28 10:01:23 UTC MAIN commitmail json YAML

SPEC_MAXOFFSET_T doesn't exist anywhere else, so don't use it here
either.

(joerg)

2014-07-28 08:10:23 UTC MAIN commitmail json YAML

PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2)

(christos)

2014-07-28 07:32:46 UTC MAIN commitmail json YAML

Enable net.bpf.jit only if MODULAR and BPFJIT. Tweak a warning about postponed
jit activation.

(alnsn)

2014-07-28 06:36:09 UTC MAIN commitmail json YAML

Use two different mutexes for tx and rx

This change splits the mutex of wm into two: one for tx and the other
for rx. By doing so, lock contentions can be reduced. We lock both for
other operations that need locking, e.g., init, stop and ioctl.

The modification doesn't change the behavior of the driver.

(ozaki-r)

2014-07-28 00:02:50 UTC MAIN commitmail json YAML

radeon depends on firmload.

Noted by rjs@.

(riastradh)

2014-07-27 23:24:19 UTC MAIN commitmail json YAML

disable KMS for now; it breaks UMS + (old) radeondrm.

(mrg)

2014-07-27 21:35:07 UTC MAIN commitmail json YAML

callout_ack returns void, not bool.

(riastradh)

2014-07-27 21:31:34 UTC MAIN commitmail json YAML

More fixes as a step towards ARM_MMU_EXTENDED on RPI.

- don't set CPU_CONTROL_SYST_ENABLE in arm11x6_setup for ARM_MMU_EXTENDED

- Use the new MMU defines for V6N

- pull in arm/cpuconf.h in vmparam s that VM_MAXUSER_ADDRESS gets set
  correctly.

(skrll)

2014-07-27 17:46:43 UTC MAIN commitmail json YAML

sun4v: Update TODO list with relevant sun4v stuff

(palle)

2014-07-27 16:47:26 UTC MAIN commitmail json YAML

Change procfs from hashlist to vcache.
- Key is (type, pid, fd)
- Remove argument "p" from procfs_allocvp().  It is only used
  when "type == PFSfd".  Lookup the proc with proc_find() when
  procfs_loadvnode() needs it.
- Use a vfs_vnode_iterator for procfs_revoke_vnodes().

(hannken)

2014-07-27 16:37:47 UTC MAIN commitmail json YAML

sun4v: Introduce a new macro ALTERNATE_GLOBALS (matching NORMAL_GLOBALS). Two new helper macros ENABLE_INTERRUPTS and DISABLE_INTERRUPTS are also created. With these changes the GENERIC.UP kernel will reach rootmount on sun4v systems - ok martin@

(palle)

2014-07-27 14:24:17 UTC MAIN commitmail json YAML

Run scripts at build time via ${HOST_SH}

(apb)

2014-07-27 14:02:48 UTC MAIN commitmail json YAML

Linux work is queued in intr context, so block intrs when locking.

(Yes, this getting out of hand.)

(riastradh)

2014-07-27 10:19:12 UTC MAIN commitmail json YAML

2014-07-27 09:04:09 UTC MAIN commitmail json YAML

Prepare for ARM_MMU_EXTENDED

(skrll)

2014-07-27 08:55:39 UTC MAIN commitmail json YAML

unifdef -U__OLD_INTERRUPT_CODE

(skrll)

2014-07-27 07:46:46 UTC MAIN commitmail json YAML

In rc.subr, add _have_rc_postprocessor function and use it instead of
inline tests like [ -n "${_rc_postprocessor_fd}" ]. The new function
performs a few new tests, including verifying that /etc/rc is still
running (using a new _rc_pid variable set by /etc/rc).

This is intended to deal with the case that a script run from /etc/rc
spawns a background process, then /etc/rc exits, but the background
process still has environment variables inherited from /etc/rc.

Fixes PR 46546.

(apb)

2014-07-27 04:46:48 UTC MAIN commitmail json YAML

Fix illegal snprintf usage noted in PR 47976 by simplifying it away:
instead of consing up a string and printing it to stdout, just print
to stdout. Not as compositionally tidy, but much simpler and perfectly
adequate here.

(dholland)

2014-07-27 04:38:03 UTC MAIN commitmail json YAML

Fix broken snprintf usage; noted in PR 47976 from Henning Petersen.
As a bonus, this removes the nonliteral format arguments.

(dholland)

2014-07-27 04:32:23 UTC MAIN commitmail json YAML

Remove broken snprintf usage (noted in PR 47976) and replace with
something simpler.

(dholland)

2014-07-27 04:26:23 UTC MAIN commitmail json YAML

Fix snprintf usage; from Henning Petersen in PR 47976.

(dholland)

2014-07-27 04:23:44 UTC MAIN commitmail json YAML

Fix snprintf usage and, while here, don't trundle off the end of an
array. Part of PR 47976 from Henning Petersen.

(dholland)

2014-07-27 04:16:09 UTC MAIN commitmail json YAML

Update the bug report URL as per PR 48712. I assume in order for this
to propagate to where it'll be seen we need to rerun mknative, which
I'm not in a position to do right now; but this way it'll update the
next time someone else does that.

(dholland)

2014-07-27 03:49:25 UTC MAIN commitmail json YAML

Fix misplaced parenthesis, from Henning Petersen in PR 44804.

(dholland)

2014-07-27 03:34:41 UTC MAIN commitmail json YAML

2014-07-27 02:56:09 UTC MAIN commitmail json YAML

Fix typo in previous. Eesh.

(dholland)

2014-07-27 00:40:40 UTC MAIN commitmail json YAML

Revert ttm_bo.c 1.3 and try to fix the double-free properly.

bo->destroy doesn't ttm_tt_destroy or ttm_tt_fini anything.  Trouble
is that ttm_tt_fini expects the swap storage to still be there, and
ttm_tt_destroy -- which is what calls ttm_tt_fini by way of
ttm->func->destroy -- has already nulled it out.

(riastradh)

2014-07-26 22:21:16 UTC MAIN commitmail json YAML

PR 49036: net.inet6 has not been created when the sysctl constructor
for net.inet6.multicast is run.

(joerg)

2014-07-26 21:36:40 UTC MAIN commitmail json YAML

2014-07-26 21:35:06 UTC MAIN commitmail json YAML

Don't forget to decrement the acquired count too.

(riastradh)

2014-07-26 21:19:45 UTC MAIN commitmail json YAML

Make sure the low bits, not the high bits, of the offset are zero!

(riastradh)

2014-07-26 21:15:45 UTC MAIN commitmail json YAML

Let the drm driver decide what part of what object gets mmapped.

Pass the file around too so radeon/ttm can get at it to verify access.

Add drm_gem_or_legacy_mmap_object for drivers to choose the previous
behaviour, like i915.

(riastradh)

2014-07-26 21:12:43 UTC MAIN commitmail json YAML

drmkms_ttm is not split into a module (yet).

(riastradh)

2014-07-26 21:07:45 UTC MAIN commitmail json YAML

Don't destroy mutexes because the module can't be unload.

(alnsn)

2014-07-26 20:24:33 UTC MAIN commitmail json YAML

Add d_discard to a cdevsw I apparently missed.

(dholland)

2014-07-26 20:04:05 UTC MAIN commitmail json YAML

Sort sections.

(wiz)

2014-07-26 19:56:30 UTC MAIN commitmail json YAML

Add a dummy sysinst architecture for ports that don't have their own yet.

This makes the presence of sysinst in /usr/sbin MI (as intended) --
remember that one of the goals is for sysinst to be able to install
chroots, and installing a chroot is a sensible operation on all ports,
even those for which an installer per se might not make sense.

Currently this dummy architecture fails instead of doing anything, but
as they say, one thing at a time.

(dholland)

2014-07-26 19:35:59 UTC MAIN commitmail json YAML

2014-07-26 19:35:10 UTC MAIN commitmail json YAML

Don't descend into sysinst.

(dholland)

2014-07-26 19:34:08 UTC MAIN commitmail json YAML

2014-07-26 19:32:37 UTC MAIN commitmail json YAML

Descend into sysinst.

(dholland)

2014-07-26 19:32:22 UTC MAIN commitmail json YAML

Update for building in usr.sbin.

(dholland)

2014-07-26 19:30:47 UTC MAIN commitmail json YAML

Move sysinst sources to usr.sbin.

This commit only physically moves the sources - there are no other
changes, to maximize the probability that this will be treated as a
rename if we ever do manage to migrate away from CVS.

Moving sysinst has been discussed on and off for years and has two
goals: making it easier to work on sysinst, and also making sysinst
available on running systems for use installing chroots and VM images
and other such things. None of the latter is possible yet, but as they
say, one thing at a time.

Doing this now was approved in an impromptu fashion by mrg, riz,
riastradh, me, and groo.

(dholland)

2014-07-26 18:13:44 UTC MAIN commitmail json YAML

2014-07-26 17:34:31 UTC MAIN commitmail json YAML

2014-07-26 17:32:07 UTC MAIN commitmail json YAML

Shrink GENERIC kernel to fit to bootloader's limit (2MB).

Maybe now we can't call it GENERIC, but it still boots on TME.

(tsutsui)

2014-07-26 17:24:04 UTC MAIN commitmail json YAML

Move sun3 bootloader address to allow loading growing GENERIC kernels.

(tsutsui)

2014-07-26 17:16:41 UTC MAIN commitmail json YAML

Improved the NORMAL_GLOBALS macro in the sun4u case, so only the relevant bit (AG) in %pstate is affected - ok martin@

(palle)

2014-07-26 16:42:03 UTC MAIN commitmail json YAML

npf_conn_conkey: fix a comment.

(rmind)

2014-07-26 14:27:40 UTC MAIN commitmail json YAML

Avoid needless #ifdef __i386__ with judicious use of MIN.

(riastradh)

2014-07-26 14:26:04 UTC MAIN commitmail json YAML

Fix __raw_i915_read64 on i386.  From rjs@.

(riastradh)

2014-07-26 14:24:08 UTC MAIN commitmail json YAML

Use tvtohz instead of ad-hacking it myself, suggested by apb@.

(riastradh)

2014-07-26 13:24:34 UTC MAIN commitmail json YAML

Reorganize and bump VM related constants.

- sync VM_MAXUSER_ADDRESS and VM_MAX_ADDRESS with other hp300 derived ports
  and use same definitions for USRSTACK as other m68k ports
  (no worth to have sun3/sunos compat in these days)
- remove unused KUSER_AREA
- bump MAXTSIZ, MAXDSIZ, and MAXSSIZ

These changes allow my 64MB TT030 build pkgsrc/textproc/icu
which seems to require >200MB VA space.
(note our current 040/060 pmap implementation can't handle >224MB VA size)

(tsutsui)

2014-07-26 12:48:07 UTC MAIN commitmail json YAML

Sync VM_MAXUSER_ADDRESS and VM_MAX_ADDRESS with other hp300 derived ports.

There is no particular reason to have different values among m68k ports.
Briefly checked on LUNA-II.

(tsutsui)

2014-07-26 12:27:57 UTC MAIN commitmail json YAML

2014-07-26 11:23:46 UTC MAIN commitmail json YAML

Don't use saved EREG registers because sljit 0.91 can generate
bogus code on amd64. The A and X registers are saved on the stack.

The most recent version of sljit fixes bogus code generation but
it's not backward compatible with sljit 0.91.

(alnsn)

2014-07-26 09:18:53 UTC MAIN commitmail json YAML

Recover from channel halt errors by using the 3 strikes xacterr rule.

Adapted from the RaspberryPI linux driver.

This allows the rum(4) I was sent to be somewhat usable. Need to
investigate further what is causing the problem in the first place.

Might help PR/49019 (RPI: interrupt storm when url0 is up)

(skrll)

2014-07-26 08:05:15 UTC MAIN commitmail json YAML

2014-07-26 08:04:54 UTC MAIN commitmail json YAML

link against libdrm_radeon, from @riastradh

(mrg)

2014-07-26 07:53:14 UTC MAIN commitmail json YAML

Report the same PCI domain (cf_unit) as everything else in NetBSD.

(riastradh)

2014-07-26 07:36:09 UTC MAIN commitmail json YAML

Rename radeondrmkms to just plain radeon.

radeondrmkmsfb will stay as is until the name radeonfb is available
(currently taken by legacy dev/pci/radeonfb.c).

(riastradh)

2014-07-26 07:32:18 UTC MAIN commitmail json YAML

Defer real radeon attachment until mountroot so we can load firmware.

(riastradh)

2014-07-26 07:02:13 UTC MAIN commitmail json YAML

Fix radeon framebuffer mmapping.

The framebuffer is not a system-RAM-backed, TTM-managed object;
rather, it is a VRAM-backed object.  So we have to use its bus
address, which is a little less sketchy with bus_space_mmap anyway.

(riastradh)

2014-07-26 06:37:53 UTC MAIN commitmail json YAML

Fix botched conversion from ALIGN to round_up (not DIV_ROUND_UP!).

(riastradh)

2014-07-26 06:34:12 UTC MAIN commitmail json YAML

Don't ttm_tt_destroy bo->ttm if bo->destroy will destroy it too.

(riastradh)

2014-07-26 06:26:39 UTC MAIN commitmail json YAML

2014-07-26 06:20:25 UTC MAIN commitmail json YAML

Make Linux usecs_to_jiffies work with hz up to 2000.

(riastradh)

2014-07-26 06:12:31 UTC MAIN commitmail json YAML

2014-07-26 05:45:53 UTC MAIN commitmail json YAML

Fix some dumb thinkos in radeon_gart.c.

(riastradh)

2014-07-26 05:23:11 UTC MAIN commitmail json YAML

Fix little arithmetic mistakes in radeon_gart.c.

Unlikely to fix the failing ring tests on boot, though.

(riastradh)

2014-07-26 04:54:20 UTC MAIN commitmail json YAML

Fix dtrace kernel module build.
Add nodiscard to cdevsw.
They are not fixed in fallocate/fdiscard changes.

(ryoon)

2014-07-26 00:17:57 UTC MAIN commitmail json YAML

Another __diagused

(pgoyette)

2014-07-25 23:21:46 UTC MAIN commitmail json YAML

npf_conn_conkey: adjust to return the key length and add a comment
describing the key layout.

(rmind)

2014-07-25 23:07:21 UTC MAIN commitmail json YAML

npf_mk_connlist: destroy the connections on error path.

(rmind)

2014-07-25 23:05:54 UTC MAIN commitmail json YAML

Mark isc __diagused in agp_i810_unbind_memory.

(riastradh)

2014-07-25 21:57:54 UTC MAIN commitmail json YAML

Disable reusing graphics stolen memory in i915drmkms for now.

Sometimes the GTT is located in graphics stolen memory, and who knows
what else the BIOS might have done with it.  Upstream has a patch to
sneak around the GTT, but disabling it altogether is simpler and
probably safer.

(riastradh)

2014-07-25 21:43:13 UTC MAIN commitmail json YAML

2014-07-25 21:38:53 UTC MAIN commitmail json YAML

2014-07-25 21:16:31 UTC MAIN commitmail json YAML

UREAD4 is unused.

(joerg)

2014-07-25 20:13:36 UTC MAIN commitmail json YAML

2014-07-25 20:13:05 UTC MAIN commitmail json YAML

Add some Intel Core internal devices.

(msaitoh)

2014-07-25 20:07:32 UTC MAIN commitmail json YAML

npf_tcp_inwindow: enable strict RST check by default.

(rmind)

2014-07-25 18:29:45 UTC MAIN commitmail json YAML

Output CPU manufacturer, implementation and mask code.

(nakayama)

2014-07-25 18:28:03 UTC MAIN commitmail json YAML

- Call wm_set_pcie_completion_timeout() on I350, I354, I210 and I211, too.
  Same as FreeBSD and OpenBSD.
- Drop PHPM_GO_LINK_D bit in WMREG_PHPM on some chips. From FreeBSD.

(msaitoh)

2014-07-25 17:54:50 UTC MAIN commitmail json YAML

Use clockfreq() to print a system tick frequency.

The stick-frequency of Fire V100 is 5555555Hz and printing it as
5.555MHz instead of 5MHz is more precise.

(nakayama)

2014-07-25 17:53:59 UTC MAIN commitmail json YAML

fix some case of reference to uninitialized tp->snd_fack.
This bug causes dropping FIN mistekenly.
pointed out in PR/48283 by YASUOKA Masahiko, thanks!

(ryo)

2014-07-25 17:21:32 UTC MAIN commitmail json YAML

Backout using humanize_number(9) in clockfreq().
humanize_number(9) cannot handle a fraction part and doesn't
match the intention of clockfreq().

Also backout the changes caused by the fallout of clockfreq().

Fixed outputs:

-cpu0 at mainbus0: MB86904 @ 170  MHz, MB86910 or WTL1164/5 FPU
+cpu0 at mainbus0: MB86904 @ 170 MHz, MB86910 or WTL1164/5 FPU

-sbus0 at iommu0: clock = 21250  MHz
+sbus0 at iommu0: clock = 21.250 MHz

-cpu0 at mainbus0: SUNW,UltraSPARC-II @ 449  MHz, CPU id 0
+cpu0 at mainbus0: SUNW,UltraSPARC-II @ 449.971 MHz, CPU id 0

(nakayama)

2014-07-25 16:40:13 UTC MAIN commitmail json YAML

Implement WSDISPLAYIO_SMODE ioctl for proper mmap and colormap handling.

- allow mmap framebuffer memories only in WSDISPLAYIO_DUMBFB
- initialize palette for ANSI text colors on back to WSDISPLAYIO_MODE_EMUL

Tested on LUNA with 4bpp framebuffer.

(tsutsui)

2014-07-25 16:37:44 UTC MAIN commitmail json YAML

The lua(4) device is experimental.
Incompatible changes might be made in the future.

(apb)

2014-07-25 16:35:43 UTC MAIN commitmail json YAML

2014-07-25 16:28:12 UTC MAIN commitmail json YAML

'result' -> 'error'

(maxv)

2014-07-25 16:23:13 UTC MAIN commitmail json YAML

Remove ELF_ROUND and ELF_TRUNC (unused). Found by my code scanner.

(maxv)

2014-07-25 16:15:12 UTC MAIN commitmail json YAML

This case is not supposed to fall through!

(riastradh)

2014-07-25 16:14:01 UTC MAIN commitmail json YAML

Bump date for previous to avoid wizd(1) invocation.

(gdt)

2014-07-25 16:13:21 UTC MAIN commitmail json YAML

Add PPS support to ucom(4).

This is basically cribbed from regular serial ports, and just adds
hooks to call the pps support routines.

Also, note in the ucom(4) man page that there is about 1 ms of
latency.  Discussed on tech-kern in October of 2013, with the only
concern being that someone who didn't know what they were doing might
set up a stratum 1 server, and that somehow might have worse
timekeeping than whatever else that person might have done; the man
page comment is a mitigation for this.

This patch has been live-tested in netbsd-5/i386 and netbsd-6/i386,
and has been running on machines without a USB-serial GPS device for
most of a year with no adverse consequences (very little happens if
the PPS ioctls are not invoked).

(gdt)

2014-07-25 16:04:27 UTC MAIN commitmail json YAML

2014-07-25 16:00:35 UTC MAIN commitmail json YAML

note fallocate/fdiscard

(dholland)

2014-07-25 15:53:00 UTC MAIN commitmail json YAML

2014-07-25 15:37:02 UTC MAIN commitmail json YAML

2014-07-25 15:09:43 UTC MAIN commitmail json YAML

PTE_SYNC_RANGE a newly allocated L1 page for ARM_MMU_EXTENDED

(matt)

2014-07-25 15:07:03 UTC MAIN commitmail json YAML

2014-07-25 15:01:14 UTC MAIN commitmail json YAML

2014-07-25 14:34:22 UTC MAIN commitmail json YAML

Modify p3_get_bus_clock():
- Intel SDM says 06_17H is the same as 06_0fH. Same as OpenBSD.
- Add some Silvermont models.
- For Slivermont architecture, 0x011 is not 166.67MHz but 116.67MHz.
- Print model name not in decimal but in hexadecimal
- Cleanup code.

(msaitoh)

2014-07-25 14:18:49 UTC MAIN commitmail json YAML

More update:
- Future Atom E3000, Z3000 (0x4a, 0x5a, 0x5d)
- Atom C2000 (0x4d)

(msaitoh)

2014-07-25 14:00:31 UTC MAIN commitmail json YAML

2014-07-25 13:52:26 UTC MAIN commitmail json YAML

Update table for processor families and processor number series from the
latest Intel SDM.
- Atom Z3000 (0x37)
- Core M based on Broadwell (0x3d)
- Next gen Xeon based on Haswell (0x3f)

(msaitoh)

2014-07-25 13:44:59 UTC MAIN commitmail json YAML

Remove atf_tc_expect_fail() calls for udf file-system.  These tests are
currently passing.  As discussed on current-users.  Any new failures
should be reported via send-pr.

(pgoyette)

2014-07-25 12:53:30 UTC MAIN commitmail json YAML

2014-07-25 12:48:34 UTC MAIN commitmail json YAML

Forgot this file for radeondrmkmsfb.

(riastradh)

2014-07-25 12:47:18 UTC MAIN commitmail json YAML

Declare radeon_device_private.

Not used right now, but harmless and needed by a local patch and I
accidentally committed the definition already.

(riastradh)

2014-07-25 12:35:03 UTC MAIN commitmail json YAML

2014-07-25 12:18:13 UTC MAIN commitmail json YAML

Don't forget to set ret on the way out.

(riastradh)

2014-07-25 12:16:22 UTC MAIN commitmail json YAML

PR kern/49033: try to provide better diagnostics if the udf_lookup_complex
test randomly fails.

(martin)

2014-07-25 11:51:21 UTC MAIN commitmail json YAML

Add intelfb to i386/DRMKMS too.

(riastradh)

2014-07-25 11:39:34 UTC MAIN commitmail json YAML

bump VCPROP_MAXCMDLINE to 1024, use this instead of MAX_BOOT_STRING for sizing boot_args, and allow for overriding VCPROP_MAXCMDLINE in kernel config. Fixes cmdline parsing with newer firmware (required for B+)

(jmcneill)

2014-07-25 11:22:50 UTC MAIN commitmail json YAML

2014-07-25 10:21:34 UTC MAIN commitmail json YAML

Serial comma, more markup, remove trailing whitespace.

(wiz)

2014-07-25 09:06:17 UTC MAIN commitmail json YAML

tty is an array and can't be null; thanks joerg@clang

(christos)

2014-07-25 08:47:42 UTC MAIN commitmail json YAML

Sort errors. Whitespace nits.

(wiz)

2014-07-25 08:44:54 UTC MAIN commitmail json YAML

2014-07-25 08:38:29 UTC MAIN commitmail json YAML

New sentence, new line. Punctuation formatting nits.

(wiz)

2014-07-25 08:35:40 UTC MAIN commitmail json YAML

6.99.49: new discard dev ops and new fallocate/fdiscard vops

(dholland)

2014-07-25 08:34:48 UTC MAIN commitmail json YAML

Remove DIOCGDISCARDPARAMS and DIOCDISCARD.
(and their accompanying structures)

These have never been in a release, and so we don't need to keep them
for compat. And we don't want them in a release :-)

(dholland)

2014-07-25 08:34:27 UTC MAIN commitmail json YAML

Drop the old discard/trim ioctls from wd.c.

(dholland)

2014-07-25 08:32:22 UTC MAIN commitmail json YAML

2014-07-25 08:31:07 UTC MAIN commitmail json YAML

Bump libc minor version for new syscalls.

(dholland)

2014-07-25 08:30:47 UTC MAIN commitmail json YAML

Add userlevel manifestations of posix_fallocate and fdiscard, in
unistd.h and libc, and add a man page.

Allow wiggle room in the man page for implementations of fallocate
that either (a) don't fully unwind on failure, leaving new blocks
allocated without changing the file size, or (b) create only in-memory
transient reservations that disappear when crashing or rebooting.

Also, add crossreference to fdiscard from ftruncate(2), and remove the
old BUGS entry from there that called for a generalized version that
allows discarding ranges of a file: that's what fdiscard is.

(dholland)

2014-07-25 08:30:10 UTC MAIN commitmail json YAML

2014-07-25 08:27:36 UTC MAIN commitmail json YAML

2014-07-25 08:25:47 UTC MAIN commitmail json YAML

Add fdiscard and posix_fallocate syscalls.

(dholland)

2014-07-25 08:24:31 UTC MAIN commitmail json YAML

Switch the FFS code for discarding free blocks to use VOP_FDISCARD.

(dholland)

2014-07-25 08:23:57 UTC MAIN commitmail json YAML

Implement d_discard for dk. This closes PR 47940.

(dholland)

2014-07-25 08:22:08 UTC MAIN commitmail json YAML

Implement d_discard for wd.

(dholland)

2014-07-25 08:20:53 UTC MAIN commitmail json YAML

Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.

(dholland)

2014-07-25 08:19:19 UTC MAIN commitmail json YAML

Implement spec_fdiscard() using bdev_discard() and cdev_discard().
Also define spec_fallocate() to genfs_eopnotsupp().

(dholland)

2014-07-25 08:18:50 UTC MAIN commitmail json YAML

2014-07-25 08:16:47 UTC MAIN commitmail json YAML

2014-07-25 08:10:40 UTC MAIN commitmail json YAML

2014-07-25 08:02:20 UTC MAIN commitmail json YAML

2014-07-25 07:56:14 UTC MAIN commitmail json YAML

Add d_discard to struct bdevsw/cdevsw, and the plumbing to access it.

Unfortunately we need d_discard in both since we need to be able to
discard from both the block and character forms of disks. I'm
increasingly thinking it would be better to restructure the ops
dispatching so each type of device (ttys, disks, tapes, etc.) has its
own function table. Then we wouldn't need to change every tty driver
to add a disk op.

(dholland)

2014-07-25 07:49:56 UTC MAIN commitmail json YAML

2014-07-25 07:12:55 UTC MAIN commitmail json YAML

Use IFADDR_FOREACH for iterating if_addrlist of ifnet

(ozaki-r)

2014-07-25 07:07:47 UTC MAIN commitmail json YAML

2014-07-25 06:36:16 UTC MAIN commitmail json YAML

Delete unused variables for new gcc.

(hkenken)

2014-07-25 04:09:58 UTC MAIN commitmail json YAML

Unbreak the build of pf

(ozaki-r)

2014-07-25 01:39:32 UTC MAIN commitmail json YAML

implement the kernel_has_driver() method.  this has the benefit of
stopping the "vesa" driver from loading on hardware that has been
claimed by a kernel driver and thus shouldn't be using "vesa".

(mrg)

2014-07-25 01:38:27 UTC MAIN commitmail json YAML

2014-07-25 01:05:00 UTC MAIN commitmail json YAML

No functional change:
- move NVM related values to the bottom.
- sort in register's address.

(msaitoh)

2014-07-24 23:30:38 UTC MAIN commitmail json YAML

Use volatile when writing to NULL.

(joerg)

2014-07-24 23:29:02 UTC MAIN commitmail json YAML

#if 0 copyout_le32 and friends, they are currently unused.

(joerg)

2014-07-24 23:27:25 UTC MAIN commitmail json YAML

#if 0 unused copyin_halfword.

(joerg)

2014-07-24 23:25:53 UTC MAIN commitmail json YAML

Add some NOR_VERBOSE ifdefs for static functions only used in that case.

(joerg)

2014-07-24 22:59:01 UTC MAIN commitmail json YAML

Avoid playing games with format strings, just use a second printf.

(joerg)

2014-07-24 22:54:38 UTC MAIN commitmail json YAML

For P[X+0] load, don't emit wrap around check and copy X intead of emitting X+0.

(alnsn)

2014-07-24 22:54:10 UTC MAIN commitmail json YAML

2014-07-24 22:37:49 UTC MAIN commitmail json YAML

2014-07-24 22:37:26 UTC MAIN commitmail json YAML

Added ELECOM WDC-150SU2M.

(nonaka)

2014-07-24 22:13:23 UTC MAIN commitmail json YAML

Tweak i915drmkms_detach to be more robust.

(riastradh)

2014-07-24 22:00:02 UTC MAIN commitmail json YAML

Make `#include "intelfb.h"' NetBSD-specific.

(riastradh)