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 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 06:15:33 UTC Now

2015-04-04 06:22:06 UTC nick-nhusb commitmail json YAML

Correct directory reference in multiple inclusion protection variable
name

(skrll)

2015-04-04 06:19:02 UTC nick-nhusb commitmail json YAML

Change isdone to bool.  Missed in previous commit.

(skrll)

2015-04-04 06:00:12 UTC MAIN commitmail json YAML

ffs_superblock_validate(): ensure fs_ncg!=0 and fs_maxbpg!=0 to prevent
several divisions by zero.

(maxv)

2015-04-04 04:33:39 UTC MAIN commitmail json YAML

* update dccp_bind for struct mbuf * to struct sockaddr * parameter change
* pass NULL instead of casting 0 to a pointer when calling in_pcbbind()

(rtr)

2015-04-04 02:51:10 UTC MAIN commitmail json YAML

2015-04-04 00:03:12 UTC MAIN commitmail json YAML

2015-04-04 00:00:41 UTC MAIN commitmail json YAML

2015-04-03 23:58:19 UTC MAIN commitmail json YAML

2015-04-03 23:52:51 UTC MAIN commitmail json YAML

use conf/filesystems.config

(jmcneill)

2015-04-03 23:25:08 UTC MAIN commitmail json YAML

2015-04-03 21:40:04 UTC MAIN commitmail json YAML

accept typenames in param decls.

(christos)

2015-04-03 21:38:47 UTC MAIN commitmail json YAML

2015-04-03 21:37:26 UTC MAIN commitmail json YAML

2015-04-03 21:33:23 UTC nick-nhusb commitmail json YAML

Various readability changes.

#ifdef DIAGNOSTIC -> KASSERT / __diagused

(skrll)

2015-04-03 21:22:33 UTC nick-nhusb commitmail json YAML

Fix non-USB_DEBUG compile

(skrll)

2015-04-03 20:01:08 UTC MAIN commitmail json YAML

* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* update protocol bind implementations to use/expect sockaddr *
  instead of mbuf *
* introduce sockaddr_big struct for storage of addr data passed via
  sys_bind; sockaddr_big is of sufficient size and alignment to
  accommodate all addr data sizes received.
* modify sys_bind to allocate sockaddr_big instead of using an mbuf.
* bump kernel version to 7.99.9 for change to pr_bind() parameter type.

Patch posted to tech-net@
  http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html

The choice to use a new structure sockaddr_big has been retained since
changing sockaddr_storage size would lead to unnecessary ABI change. The
use of the new structure does not preclude future work that increases
the size of sockaddr_storage and at that time sockaddr_big may be
trivially replaced.

Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@

(rtr)

2015-04-03 18:03:05 UTC MAIN commitmail json YAML

Allow for choosing between 16 and 24bpp framebuffers. The default is now
16 instead of 24. Set 'fb.depth=16' or 'fb.depth=24' on kernel command-line
to explicitly select a colour depth.

(jmcneill)

2015-04-03 18:00:25 UTC MAIN commitmail json YAML

comment out DDB_COMMANDONENTER

(jmcneill)

2015-04-03 17:25:43 UTC MAIN commitmail json YAML

Use the same TRY_EMPTY_VM_SPACE as mips and vax for arm, which also
has VM_MAXUSER_ADDRESS set to 2GB. Fixes "fatal error: had to relocate PCH"
from g++ building wxGTK28 or wxGTK30.
For details see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58379

thanks to Martin Husemann for the hint.

(bouyer)

2015-04-03 16:46:39 UTC MAIN commitmail json YAML

2015-04-03 16:40:55 UTC MAIN commitmail json YAML

Use a different vmspace for rump kernel proc0 and local clients.
While the rump kernel and local clients are by definition in the same
host vmspace, there are subtle differences in how in-kernel code works
in case accessing the kernel vmspace or a user process vmspace.

Problem discovered by riastradh's "read(fd, NULL, 1)" test.

(pooka)

2015-04-03 16:37:02 UTC MAIN commitmail json YAML

Use vmspace of calling [rump kernel] process instead of sysspace.

(pooka)

2015-04-03 15:52:51 UTC MAIN commitmail json YAML

Fix spelling; time zone is two words not one.

(ginsbach)

2015-04-03 15:50:15 UTC MAIN commitmail json YAML

Fix cnmagic handling, now I can enter ddb from serial console.

(jmcneill)

2015-04-03 14:57:41 UTC MAIN commitmail json YAML

2015-04-03 14:02:06 UTC MAIN commitmail json YAML

Use a callback (with ugly lock dance from bcm2835_rng) instead of callout.
Make sure the ring oscillator is enabled as well.

(jmcneill)

2015-04-03 10:07:57 UTC MAIN commitmail json YAML

sun4v: There is no L-bit (Locked) in the sun4v tte

(palle)

2015-04-03 08:20:55 UTC MAIN commitmail json YAML

Use 1000ULL to prevent integer overflow (for IF_Gbps(10)). Same as OpenBSD.

(msaitoh)

2015-04-03 07:56:54 UTC MAIN commitmail json YAML

2015-04-03 07:55:18 UTC MAIN commitmail json YAML

Don't grab KERNEL_LOCK during if_output when NET_MPSAFE

The change makes L3 MP-safe work easy. At this point
we deal with only IP forwarding.

No functional change when NET_MPSAFE isn't enabled.

(ozaki-r)

2015-04-03 07:28:41 UTC MAIN commitmail json YAML

2015-04-03 05:44:14 UTC MAIN commitmail json YAML

Restructure rtcache_lookup2 to make it clear what it does

No functional change.

(ozaki-r)

2015-04-03 01:09:42 UTC MAIN commitmail json YAML

2015-04-03 01:06:05 UTC MAIN commitmail json YAML

2015-04-03 01:04:24 UTC MAIN commitmail json YAML

Implement pmap_pv(9) for x86 for P->V tracking of unmanaged pages.

Proposed on tech-kern with no objections:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html

(riastradh)

2015-04-03 01:03:42 UTC MAIN commitmail json YAML

Initialize P->V tracking for unmanaged device pages in uvm_init.

Conditional on __HAVE_PMAP_PV_TRACK until we add it to all pmaps.

MI part of pmap_pv(9) change proposed on tech-kern:

https://mail-index.netbsd.org/tech-kern/2015/03/26/msg018561.html

(riastradh)

2015-04-02 18:41:22 UTC MAIN commitmail json YAML

cosmetic change in man 8 service
use shell quoting in a safe way as suggested by Alan Barrett

(ast)

2015-04-02 18:07:21 UTC netbsd-6-1 commitmail json YAML

2015-04-02 18:04:19 UTC netbsd-6-1 commitmail json YAML

src/crypto/external/bsd/openssl/bin/Makefile@1.5.4.1.6.1 / diff / nxr@1.5.4.1.6.1
src/crypto/external/bsd/openssl/dist/CHANGES@1.1.1.4.4.1.6.6 / diff / nxr@1.1.1.4.4.1.6.6
src/crypto/external/bsd/openssl/dist/Configure@1.2.4.1.6.5 / diff / nxr@1.2.4.1.6.5
src/crypto/external/bsd/openssl/dist/MacOS/GetHTTPS.src/MacSocket.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/MacOS/Randomizer.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/MacOS/_MWERKS_GUSI_prefix.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/MacOS/_MWERKS_prefix.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/MacOS/buildinf.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/MacOS/opensslconf.h@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/Makefile@1.1.1.1.2.2.6.6 / diff / nxr@1.1.1.1.2.2.6.6
src/crypto/external/bsd/openssl/dist/NEWS@1.1.1.2.4.1.6.6 / diff / nxr@1.1.1.2.4.1.6.6
src/crypto/external/bsd/openssl/dist/README@1.1.1.3.4.1.6.6 / diff / nxr@1.1.1.3.4.1.6.6
src/crypto/external/bsd/openssl/dist/apps/app_rand.c@1.1.1.1.22.1 / diff / nxr@1.1.1.1.22.1
src/crypto/external/bsd/openssl/dist/apps/apps.c@1.1.1.4.4.1.6.3 / diff / nxr@1.1.1.4.4.1.6.3
src/crypto/external/bsd/openssl/dist/apps/apps.h@1.1.1.4.4.1.6.2 / diff / nxr@1.1.1.4.4.1.6.2
src/crypto/external/bsd/openssl/dist/apps/asn1pars.c@1.1.1.3.18.1 / diff / nxr@1.1.1.3.18.1
src/crypto/external/bsd/openssl/dist/apps/ca.c@1.4.8.1.6.4 / diff / nxr@1.4.8.1.6.4
src/crypto/external/bsd/openssl/dist/apps/ciphers.c@1.1.1.2.18.2 / diff / nxr@1.1.1.2.18.2
src/crypto/external/bsd/openssl/dist/apps/cms.c@1.1.1.4.4.1.6.2 / diff / nxr@1.1.1.4.4.1.6.2
src/crypto/external/bsd/openssl/dist/apps/crl.c@1.1.1.1.22.2 / diff / nxr@1.1.1.1.22.2
      :
(more 1509 files)
Apply patch (requested by spz in ticket #1284):
Update OpenSSL to 1.0.1m.

(snj)

2015-04-02 18:00:23 UTC netbsd-6-0 commitmail json YAML

2015-04-02 17:58:53 UTC netbsd-6-0 commitmail json YAML

src/crypto/external/bsd/openssl/bin/Makefile@1.5.4.1.4.1 / diff / nxr@1.5.4.1.4.1
src/crypto/external/bsd/openssl/dist/CHANGES@1.1.1.4.4.1.4.6 / diff / nxr@1.1.1.4.4.1.4.6
src/crypto/external/bsd/openssl/dist/Configure@1.2.4.1.4.5 / diff / nxr@1.2.4.1.4.5
src/crypto/external/bsd/openssl/dist/MacOS/GetHTTPS.src/MacSocket.h@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/MacOS/Randomizer.h@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/MacOS/_MWERKS_GUSI_prefix.h@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/MacOS/_MWERKS_prefix.h@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/MacOS/buildinf.h@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/MacOS/opensslconf.h@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/Makefile@1.1.1.1.2.2.4.6 / diff / nxr@1.1.1.1.2.2.4.6
src/crypto/external/bsd/openssl/dist/NEWS@1.1.1.2.4.1.4.6 / diff / nxr@1.1.1.2.4.1.4.6
src/crypto/external/bsd/openssl/dist/README@1.1.1.3.4.1.4.6 / diff / nxr@1.1.1.3.4.1.4.6
src/crypto/external/bsd/openssl/dist/apps/app_rand.c@1.1.1.1.14.1 / diff / nxr@1.1.1.1.14.1
src/crypto/external/bsd/openssl/dist/apps/apps.c@1.1.1.4.4.1.4.3 / diff / nxr@1.1.1.4.4.1.4.3
src/crypto/external/bsd/openssl/dist/apps/apps.h@1.1.1.4.4.1.4.2 / diff / nxr@1.1.1.4.4.1.4.2
src/crypto/external/bsd/openssl/dist/apps/asn1pars.c@1.1.1.3.10.1 / diff / nxr@1.1.1.3.10.1
src/crypto/external/bsd/openssl/dist/apps/ca.c@1.4.8.1.4.4 / diff / nxr@1.4.8.1.4.4
src/crypto/external/bsd/openssl/dist/apps/ciphers.c@1.1.1.2.10.2 / diff / nxr@1.1.1.2.10.2
src/crypto/external/bsd/openssl/dist/apps/cms.c@1.1.1.4.4.1.4.2 / diff / nxr@1.1.1.4.4.1.4.2
src/crypto/external/bsd/openssl/dist/apps/crl.c@1.1.1.1.14.2 / diff / nxr@1.1.1.1.14.2
      :
(more 1509 files)
Apply patch (requested by spz in ticket #1284):
Update OpenSSL to 1.0.1m.

(snj)

2015-04-02 17:50:33 UTC netbsd-6 commitmail json YAML

2015-04-02 17:47:55 UTC netbsd-6 commitmail json YAML

src/crypto/external/bsd/openssl/bin/Makefile@1.5.4.2 / diff / nxr@1.5.4.2
src/crypto/external/bsd/openssl/dist/CHANGES@1.1.1.4.4.7 / diff / nxr@1.1.1.4.4.7
src/crypto/external/bsd/openssl/dist/Configure@1.2.4.6 / diff / nxr@1.2.4.6
src/crypto/external/bsd/openssl/dist/MacOS/GetHTTPS.src/MacSocket.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/MacOS/Randomizer.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/MacOS/_MWERKS_GUSI_prefix.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/MacOS/_MWERKS_prefix.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/MacOS/buildinf.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/MacOS/opensslconf.h@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/Makefile@1.1.1.1.2.8 / diff / nxr@1.1.1.1.2.8
src/crypto/external/bsd/openssl/dist/NEWS@1.1.1.2.4.7 / diff / nxr@1.1.1.2.4.7
src/crypto/external/bsd/openssl/dist/README@1.1.1.3.4.7 / diff / nxr@1.1.1.3.4.7
src/crypto/external/bsd/openssl/dist/apps/app_rand.c@1.1.1.1.8.1 / diff / nxr@1.1.1.1.8.1
src/crypto/external/bsd/openssl/dist/apps/apps.c@1.1.1.4.4.4 / diff / nxr@1.1.1.4.4.4
src/crypto/external/bsd/openssl/dist/apps/apps.h@1.1.1.4.4.3 / diff / nxr@1.1.1.4.4.3
src/crypto/external/bsd/openssl/dist/apps/asn1pars.c@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
src/crypto/external/bsd/openssl/dist/apps/ca.c@1.4.8.5 / diff / nxr@1.4.8.5
src/crypto/external/bsd/openssl/dist/apps/ciphers.c@1.1.1.2.4.2 / diff / nxr@1.1.1.2.4.2
src/crypto/external/bsd/openssl/dist/apps/cms.c@1.1.1.4.4.3 / diff / nxr@1.1.1.4.4.3
src/crypto/external/bsd/openssl/dist/apps/crl.c@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
      :
(more 1509 files)
Apply patch (requested by spz in ticket #1284):
Update OpenSSL to 1.0.1m.

(snj)

2015-04-02 16:49:09 UTC MAIN commitmail json YAML

Make the small [U]INT_LEAST?_TYPE definitions match the 32 bit compiler

(dennis)

2015-04-02 15:48:38 UTC MAIN commitmail json YAML

2015-04-02 15:32:19 UTC MAIN commitmail json YAML

attach Mobile 5th Gen. Core SMBus

(tnn)

2015-04-02 15:10:49 UTC MAIN commitmail json YAML

2015-04-02 15:08:22 UTC MAIN commitmail json YAML

Mobile 5th Generation Intel Core devices, from intel doc #330837-004

(tnn)

2015-04-02 09:26:56 UTC MAIN commitmail json YAML

2015-04-02 06:23:04 UTC MAIN commitmail json YAML

#include <sys/lwp.h> for curlwp.

The locking should really be fixed.

(skrll)

2015-04-02 06:17:52 UTC MAIN commitmail json YAML

include <sys/evcnt.h>

(matt)

2015-04-02 06:15:40 UTC MAIN commitmail json YAML

need to include <sys/lwp.h>

(matt)

2015-04-02 03:22:51 UTC MAIN commitmail json YAML

Allow TPIDRPRW_IS_CURLWP to be used with MULTIPROCESSOR kernels

(matt)

2015-04-02 03:11:34 UTC MAIN commitmail json YAML

2015-04-02 03:11:21 UTC MAIN commitmail json YAML

#include <sys/percpu.h>

(matt)

2015-04-02 03:11:01 UTC MAIN commitmail json YAML

Don't include <machine/cpu.h>

(matt)

2015-04-02 00:12:58 UTC MAIN commitmail json YAML

Fix for PR kern/48109 (and its duplicate kern/49807)

As provided by Takahiro HAYASHI in PR kern/48109. Additional error
registration in ipf(8) by myself. Changes tested with GENERIC and
XEN3_DOM0. Thanks!

XXX pull-up netbsd-7

(khorben)

2015-04-01 23:31:37 UTC MAIN commitmail json YAML

forgot to commit this when I updated netbsd64 in gcc.
Remove LP64 specific change and use the same types
when possible for IPL32 and LP64.

(matt)

2015-04-01 22:51:33 UTC MAIN commitmail json YAML

Clarify what wapbl_jlock_assert and wapbl_junlock_assert mean.

(riastradh)

2015-04-01 21:59:01 UTC MAIN commitmail json YAML

Add two new relocs for compressed branches.

(matt)

2015-04-01 21:55:33 UTC MAIN commitmail json YAML

2015-04-01 21:55:03 UTC MAIN commitmail json YAML

_KMEMUSER only needs struct cpu_info

(matt)

2015-04-01 20:18:17 UTC MAIN commitmail json YAML

Strengthen prohibition against overlapping in strcpy(3).

(riastradh)

2015-04-01 20:03:11 UTC MAIN commitmail json YAML

Don't use dvp after vput(dvp).

Still don't understand why the fstrans_done must happen after the
vput, and that will cause trouble once we move responsibility for the
vrele and unlock outside the vop as it seems obvious we ought to do
-- it's the caller's reference, not the vop's.

(riastradh)

2015-04-01 19:46:19 UTC MAIN commitmail json YAML

2015-04-01 19:45:15 UTC MAIN commitmail json YAML

2015-04-01 18:38:30 UTC MAIN commitmail json YAML

2015-04-01 15:45:00 UTC MAIN commitmail json YAML

2015-04-01 15:23:15 UTC MAIN commitmail json YAML

Fix overlapping strcpy (Gerry Swislow)

(christos)

2015-04-01 15:20:58 UTC MAIN commitmail json YAML

clarify what happens when strings overlap.

(christos)

2015-04-01 07:44:18 UTC MAIN commitmail json YAML

Change tc_quality so that gtmr can be used for MULTIPROCESSOR now that
gtmr has been fixed.

(skrll)

2015-04-01 06:35:01 UTC MAIN commitmail json YAML

2015-04-01 06:08:39 UTC MAIN commitmail json YAML

Add missing ,
constify the arrays of string pointers.

(matt)

2015-04-01 05:39:52 UTC nick-nhusb commitmail json YAML

2015-04-01 02:49:44 UTC MAIN commitmail json YAML

Pull out ipsec routines from ip6_input

This change reduces symbol references from netinet6 to netipsec
and improves modularity of netipsec.

No functional change is intended.

(ozaki-r)

2015-04-01 01:44:56 UTC MAIN commitmail json YAML

Fix wrong comments

(ozaki-r)

2015-04-01 01:03:55 UTC MAIN commitmail json YAML

Close child's reference to meta file.

(sjg)

2015-03-31 22:00:53 UTC MAIN commitmail json YAML

2015-03-31 21:59:35 UTC MAIN commitmail json YAML

2015-03-31 21:42:16 UTC MAIN commitmail json YAML

update with new entries from libpcap-1.7.2

(christos)

2015-03-31 21:40:57 UTC MAIN commitmail json YAML

2015-03-31 21:39:43 UTC MAIN commitmail json YAML

2015-03-31 21:08:06 UTC MAIN commitmail json YAML

More details on what may sleep and what won't sleep when.

(riastradh)

2015-03-31 21:01:02 UTC MAIN commitmail json YAML

when resetting RTL8211F, make sure to disable manual MDI mode

(jmcneill)

2015-03-31 20:50:29 UTC MAIN commitmail json YAML

Nesting shared in lazy is OK.  Note nesting never blocks.

(riastradh)

2015-03-31 18:01:09 UTC MAIN commitmail json YAML

CID 1292550: Missing call to va_end().

(christos)

2015-03-31 17:58:30 UTC MAIN commitmail json YAML

2015-03-31 17:57:40 UTC MAIN commitmail json YAML

2015-03-31 17:37:47 UTC MAIN commitmail json YAML

2015-03-31 17:18:35 UTC MAIN commitmail json YAML

2015-03-31 16:15:07 UTC MAIN commitmail json YAML

More instructions. Lots left to do.

(skrll)

2015-03-31 15:49:45 UTC MAIN commitmail json YAML

Prohibit cross-mount transactions.

(riastradh)

2015-03-31 15:47:50 UTC MAIN commitmail json YAML

Revamp fstrans(9) man page.

- Fix example: fstrans_start never fails and returns void.
- Add fstrans_mount/fstrans_unmount.
- Explain intent, not just mechanism.
- Add internal cross-references and redundant information from
  different callers' perspectives.

(riastradh)

2015-03-31 11:59:41 UTC MAIN commitmail json YAML

Use lla instead doing the pcrel relocs ourselves.

(matt)

2015-03-31 11:53:14 UTC MAIN commitmail json YAML

Accept the one instruction penalty and just use PTR_LA instead of doing
the relocs ourselves.

(matt)

2015-03-31 11:48:10 UTC MAIN commitmail json YAML

Fix botch on putting user stack pointer into trapframe.

(matt)

2015-03-31 11:43:05 UTC MAIN commitmail json YAML

Amplify that even if we fixed it now the tentacles are still stuck.

(riastradh)

2015-03-31 09:26:45 UTC MAIN commitmail json YAML

fix typo: sdp_seq_seq->sdp_set_seq

(plunky)

2015-03-31 09:25:41 UTC MAIN commitmail json YAML

fix typo: sparce->sparse

(plunky)

2015-03-31 08:47:01 UTC MAIN commitmail json YAML

2015-03-31 08:44:43 UTC MAIN commitmail json YAML

Add missing ifdef IPSEC

(ozaki-r)

2015-03-31 07:57:57 UTC MAIN commitmail json YAML

2015-03-31 06:47:47 UTC MAIN commitmail json YAML

2015-03-31 01:36:27 UTC MAIN commitmail json YAML

We have _REG_SP so use it.

(matt)

2015-03-31 01:30:50 UTC MAIN commitmail json YAML

Since there is only "scratch" system register for use on exception, come
up with a new scheme for its use.  Use PTR_LA, INT_S/INT_L, etc.  Disable
interrupts when returning from exceptions.  Use L_CPU(tp) to get the curcpu
pointer.

When the cpu gets an exception from kernel mode, the sscratch register will be
0 and curlwp will be in the "tp" register.  When the cpu gets an exception from
user mode, the sscratch register will be a pointer to the current lwp.

When an exception happends, the sp is atomically swapped with the sscratch
register.

If the sp is zero, the exception was a kernel exception and the
kernel exception path is taken: sp and sscratch are swapped again
so sscratch is zero again and then a trapframe is allocated from
the kernel stack.  The t1 register is saved and then the pre-trapframe
sp is written to the trapframe.

If sp was non-zero, the exception was from user mode.  The tp register
is temporarily saved in L_MD_TP(sp) and sp is moved tp.  tp now
contains a pointer to the current lwp.  A pointer to the user
trapframe is loaded from L_MD_UTF(tp).  Then t1 is saved in the
trapframe so it can be used.  The old sp is fetched from sscratch
while sscratch is zeroed (indicated kernel mode).  The old sp is
saved in the trapframe.

Upon exiting the exception, if the exception is returning to user
mode, the contents of tp is written to sscratch.

(matt)

2015-03-31 01:15:26 UTC MAIN commitmail json YAML

Get curcpu() from L_CPU(tp)

(matt)

2015-03-31 01:14:57 UTC MAIN commitmail json YAML

Use sfence.vm instruction and change ptbr cse to sptbr csr

(matt)

2015-03-31 01:14:02 UTC MAIN commitmail json YAML

No more fatc (replaced by sfence.vm instruction).

(matt)

2015-03-31 01:12:47 UTC MAIN commitmail json YAML

2015-03-31 01:12:30 UTC MAIN commitmail json YAML

Add a md_tp member to mdlwp so that the exception handler can temporarily
store the user's thread pointer before saving it in the trapframe.

(matt)

2015-03-31 01:11:42 UTC MAIN commitmail json YAML

Define curcpu() as lwp_getcpu(curlwp) since curlwp is always in the "tp"
(thread pointer) register.

(matt)

2015-03-31 01:10:02 UTC MAIN commitmail json YAML

Provide struct cpu_info *lwp_getcpu(struct lwp *) inline for <machine/cpu.h>
<machine/cpu.h> is include by <sys/lwp.h> before struct lwp is defined so
it can't access members inside it.  This provides an accessor which is defined
after struct lwp is defined.

(matt)

2015-03-31 01:05:52 UTC MAIN commitmail json YAML

Use -mcmodel=medany to get PICish code.

(matt)

2015-03-31 00:22:50 UTC MAIN commitmail json YAML

Write an essay explaining why ffs_write is one huge WAPBL transaction.

(riastradh)

2015-03-31 00:03:58 UTC MAIN commitmail json YAML

Explain large write transaction bug in WAPBL.

(riastradh)

2015-03-30 16:57:41 UTC MAIN commitmail json YAML

An error was detected in a man page.

(dholland)

2015-03-30 14:09:04 UTC MAIN commitmail json YAML

2015-03-30 14:00:52 UTC MAIN commitmail json YAML

2015-03-30 13:58:28 UTC MAIN commitmail json YAML

Fix typo in example code.

(riastradh)

2015-03-30 13:58:03 UTC MAIN commitmail json YAML

Fix example code and emphasize it doesn't handle holes.

(riastradh)

2015-03-30 13:51:42 UTC MAIN commitmail json YAML

Add SIGNALS section to wizd(8).

(riastradh)

2015-03-30 13:40:01 UTC MAIN commitmail json YAML

Use Dv NULL, per SIGWIZD.

(riastradh)

2015-03-30 13:35:50 UTC MAIN commitmail json YAML

Be a little more consistent about nulls.

(riastradh)

2015-03-30 13:26:55 UTC MAIN commitmail json YAML

Use Fn to mark up a function call.

(riastradh)

2015-03-30 13:22:13 UTC MAIN commitmail json YAML

Nested I/O transfers are not `asynchronous'.

(riastradh)

2015-03-30 13:18:09 UTC MAIN commitmail json YAML

Consistently use `.Vt "struct buf"' to name the type.

(riastradh)

2015-03-30 13:17:14 UTC MAIN commitmail json YAML

Note reusing bufs requires clearing BO_DONE.

(riastradh)

2015-03-30 13:10:04 UTC MAIN commitmail json YAML

Correct documentation of asynchronous/callback buffer I/O.

Asynchronous is not the same as callback: asynchronous means there is
no completion notification, and can be used only with buffer-cached
buffers.

(riastradh)

2015-03-30 12:09:30 UTC nick-nhusb commitmail json YAML

Replace #ifdef DIAGNOTIC code with KASSERT{,MSG}

(skrll)

2015-03-30 12:07:03 UTC nick-nhusb commitmail json YAML

2015-03-30 11:57:13 UTC nick-nhusb commitmail json YAML

2015-03-30 11:56:42 UTC nick-nhusb commitmail json YAML

2015-03-30 11:56:18 UTC nick-nhusb commitmail json YAML

Replace an if () panic with KASSERT

(skrll)

2015-03-30 11:55:00 UTC MAIN commitmail json YAML

2015-03-30 11:54:43 UTC MAIN commitmail json YAML

Replace an if () panic with KASSERT

(skrll)

2015-03-30 11:01:53 UTC MAIN commitmail json YAML

Bump date for previous.
it's -> its

(wiz)

2015-03-30 10:58:37 UTC MAIN commitmail json YAML

Add resize_root boot operation. If resize_root=YES in rc.conf then
the system attempts to resize the root file system to fill it's
partition prior to mounting read-write. Useful for things like AMI
file system images. May eventually be used by arm images after
coming up with similar solution for increasing the parition size.

(chopps)

2015-03-30 05:43:55 UTC MAIN commitmail json YAML

2015-03-30 05:30:08 UTC MAIN commitmail json YAML

note change to workaround bug in clang's arm integrated assembler.

(matt)

2015-03-30 05:26:47 UTC MAIN commitmail json YAML

Add workaround/hack for clang integrated arm assembler bug.

(matt)

2015-03-30 04:25:26 UTC MAIN commitmail json YAML

2015-03-30 03:51:50 UTC MAIN commitmail json YAML

Tidy up opt_ipsec.h inclusions

Some inclusions of opt_ipsec.h were for IPSEC_NAT_T and are now unnecessary.
Add inclusions to some C files for IPSEC_DEBUG.

(ozaki-r)

2015-03-30 02:23:21 UTC MAIN commitmail json YAML

Include ip6.h for ip6_hdr

(ozaki-r)

2015-03-30 01:25:36 UTC MAIN commitmail json YAML

Remove obsolete cprng_strong_getflags/setflags(9) man page links.

XXX pullup-7

(riastradh)

2015-03-30 01:15:15 UTC MAIN commitmail json YAML

Hook bufferio(9) man page into the build.

Remove separate getiobuf(9) man page, subsumed by bufferio(9).

(riastradh)

2015-03-30 00:44:37 UTC MAIN commitmail json YAML

2015-03-29 23:35:08 UTC MAIN commitmail json YAML

No need to use -fno-integrated-assembler with clang

(matt)

2015-03-29 22:56:44 UTC MAIN commitmail json YAML

Use shared armv7_generic_space

(jmcneill)

2015-03-29 22:56:23 UTC MAIN commitmail json YAML

2015-03-29 22:49:44 UTC MAIN commitmail json YAML

2015-03-29 22:27:04 UTC MAIN commitmail json YAML

2015-03-29 22:26:18 UTC MAIN commitmail json YAML

Shared armv7 bus space implementation.

(jmcneill)

2015-03-29 21:11:17 UTC MAIN commitmail json YAML

hey there's a README here! add ALLWINNER_A80, BPI, CUBIEBOARD, CUBIETRUCK, HUMMINGBIRD_A31, JETSONTK1, ODROID-C1, ROCKCHIP configs

(jmcneill)

2015-03-29 21:08:36 UTC MAIN commitmail json YAML

2015-03-29 21:08:08 UTC MAIN commitmail json YAML

Remove \& from example code.  Cargo-culted from I forget where.

(riastradh)

2015-03-29 21:06:26 UTC MAIN commitmail json YAML

Use `Ap s' instead of `No 's', per signal from wizd.

(riastradh)

2015-03-29 21:05:21 UTC MAIN commitmail json YAML

Clarify that getiobuf must be paired with putiobuf, not brelse.

(riastradh)

2015-03-29 21:02:06 UTC MAIN commitmail json YAML

Cull some obsolete parts of buffercache(9) man page.

(riastradh)

2015-03-29 20:56:01 UTC MAIN commitmail json YAML

New man page bufferio(9) for I/O transfer view of struct buf.

Move biowait/biodone from buffercache(9) man page.

(riastradh)

2015-03-29 19:42:15 UTC MAIN commitmail json YAML

New sentence, new line. Sort option descriptions.

(wiz)

2015-03-29 19:37:02 UTC MAIN commitmail json YAML

2015-03-29 19:35:58 UTC MAIN commitmail json YAML

2015-03-29 19:33:55 UTC MAIN commitmail json YAML

- Add -c to check to see if grow/shrink is required
- Divide by DEV_BSIZE when returning size of file.
- Update manpage

(chopps)

2015-03-29 17:38:31 UTC MAIN commitmail json YAML

Back this out, per pooka's request.

(riastradh)

2015-03-29 15:08:04 UTC MAIN commitmail json YAML

Use #ifdef _RUMPKERNEL for now to prefer copyout over kcopy in tests.

Gross -- please fix me if you have a better approach.

(riastradh)

2015-03-29 15:05:34 UTC MAIN commitmail json YAML

Back out previous.

It appears to be causing anita install to fail.  Evidently
VM_SPACE_IS_KERNEL_P(vm) is not mutually exclusive with `vm ==
curproc->p_vmspace' -- in particular, proc0's VM space is kernel.

Making this work in rump for tests will require another approach.

(riastradh)

2015-03-29 14:39:41 UTC MAIN commitmail json YAML

WAPBL tx is always locked by ufs_bufrd caller, so never unlock it.

(riastradh)

2015-03-29 14:12:28 UTC MAIN commitmail json YAML

2015-03-29 13:30:43 UTC MAIN commitmail json YAML

Correct frame padding length

vlan pads a frame with zeros up to 68 bytes
(ETHER_MIN_LEN + ETHER_VLAN_ENCAP_LEN). It expects
that even if the frame is untagged, it keeps 64 bytes
at least. However, it lacks concern about CRC
(4 bytes). So a sending frame can be 72 (68 + 4) bytes.

PR 49788

(ozaki-r)

2015-03-29 12:00:02 UTC MAIN commitmail json YAML

2015-03-29 11:40:36 UTC nick-nhusb commitmail json YAML

2015-03-29 11:40:00 UTC nick-nhusb commitmail json YAML

2015-03-29 11:33:15 UTC nick-nhusb commitmail json YAML

DPRINTFN(1, ...) -> DPRINTF(...)

No functional change

(skrll)

2015-03-29 11:13:34 UTC nick-nhusb commitmail json YAML

Fix transfer buffer handling post the URQ_AUTO_BUFFER removal

(skrll)

2015-03-29 10:55:11 UTC MAIN commitmail json YAML

no need to set arm_cpu_max here, it is done in soc specific code

(jmcneill)

2015-03-29 10:44:54 UTC MAIN commitmail json YAML

2015-03-29 10:41:59 UTC MAIN commitmail json YAML

2015-03-29 09:49:54 UTC MAIN commitmail json YAML

If using TPIDRPRW_IS_CURLWP and !MP and ARMV7, use movw/movt to load address
of cpu_info_store

(matt)

2015-03-29 09:47:48 UTC MAIN commitmail json YAML

cache pmap in vmapbuf.

(matt)

2015-03-29 09:43:26 UTC MAIN commitmail json YAML

Use C11 atomic builtins instead of __asm.

(matt)

2015-03-29 09:09:50 UTC netbsd-7 commitmail json YAML

2015-03-29 09:07:55 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #650):
sys/compat/netbsd32/netbsd32_exec_elf32.c: revision 1.39
sys/kern/exec_elf.c: revision 1.71
sys/compat/linux32/common/linux32_exec_elf32.c: revision 1.18
sys/compat/linux/common/linux_exec_elf32.c: revision 1.92
sys/compat/svr4_32/svr4_32_exec_elf32.c: revision 1.24
Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, the
padding between a_v and a_type contains kernel garbage, therefore
exposed to userland.
Original report by uebayasi@

(martin)

2015-03-29 08:48:26 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #649):
sys/arch/sparc/sparc/openfirm.c: revision 1.20
sys/arch/sparc/include/openfirm.h: revision 1.8
sys/arch/sparc/stand/ofwboot/Locore.c: revision 1.14
Fix kernel loading failures from partitions started from over first
4GB of disks on sparc64.
Sync sparc64 kernel's OF_seek with ofwboot's one, but sparc version
is not changed.

(martin)

2015-03-29 08:08:01 UTC nick-nhusb commitmail json YAML

s/0/NULL/ for pointers

(skrll)

2015-03-29 07:46:22 UTC netbsd-7 commitmail json YAML

2015-03-29 07:44:46 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #652):
distrib/atari/floppies/common/Makefile.images: revision 1.9
Use "-Os -m68020-60" for DBG. It seems to generate smaller objects than -Os.
gcc48 with "-Os":
-rwxr-xr-x  1 tsutsui  wheel  1319596 Nov 16 20:50 obj.atari/instbin
gcc48 with "-Os -m68020-60"
-rwxr-xr-x  1 tsutsui  wheel  1314516 Nov 16 20:49 obj.atari/instbin
This allows ever growing sysinst.fs still fit into 1440KB even with gcc48.
Acually we need a real solution (ustarfs based floppies etc.) soon
but we can work around at least for NetBSD 7.0.
Should be pulled up to netbsd-7 (if NetBSD/m68k 7.0 will switch to gcc48).

(snj)

2015-03-29 07:42:53 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #651):
distrib/atari/floppies/common/list.images: revision 1.10
sys/arch/atari/stand/installboot/Makefile: revision 1.8
sys/arch/atari/stand/installboot/installboot.c: revision 1.34
Disable "OS bootversion check" on crunched binaries for installation media.
This oscheck() function seems implemented to check compatibility
between bootloaders and /netbsd kernel, but checking /netbsd using kvm(3)
doesn't make sense on installation or even future cross builds, and
probably we will never bump bootloader version without compatibility
per recent 14 years history.
This works around overflow of 1440KB 2HD sysinst.fs, and would also be
worth to pullup to netbsd-7.

(snj)

2015-03-29 05:52:59 UTC MAIN commitmail json YAML

2015-03-29 00:42:51 UTC MAIN commitmail json YAML

2015-03-29 00:38:36 UTC MAIN commitmail json YAML

2015-03-29 00:31:30 UTC MAIN commitmail json YAML

Add aarch64 support (mostly remapping I32_bit and F32_bit onto aarch64 bits).

(matt)

2015-03-28 19:29:16 UTC MAIN commitmail json YAML

7.99.8 (bread, breadn)

(maxv)

2015-03-28 19:24:06 UTC MAIN commitmail json YAML

2015-03-28 17:45:47 UTC MAIN commitmail json YAML

Let I/O errors override inode update errors in UFS.

Fixes tests/fs/vfs/t_io:read_fault for UFS.

(riastradh)

2015-03-28 17:35:59 UTC MAIN commitmail json YAML

Fix a but that wm_sgmii_writereg() function doesn't pass the "val" argument
to the I2CCMD register. Reported by Bernard Merindol in PR#49789.

(msaitoh)

2015-03-28 17:25:34 UTC MAIN commitmail json YAML

Use `!= -1' instead of `== 0' out of paranoia.

(riastradh)

2015-03-28 17:23:43 UTC MAIN commitmail json YAML

2015-03-28 17:22:46 UTC MAIN commitmail json YAML

Make get_dev_size work on regular files too.

(riastradh)

2015-03-28 17:08:53 UTC MAIN commitmail json YAML

Make some comments match better in ulfs_readwrite.

(riastradh)

2015-03-28 17:06:15 UTC MAIN commitmail json YAML