Searched hist:1.304 (Results 1 - 25 of 117) sorted by relevance

12345

/src/sys/dev/pci/
H A Dppbvar.h1.2 Tue Apr 18 05:21:34 GMT 2017 msaitoh branches: 1.2.2; 1.2.4; 1.2.12; 1.2.16; 1.2.32;
Enable PCIe's interrupt as much as possilbe in ppb(4) to detect and count
status change event. HotPlug function itself have not implemented yet.

- Interrupt and each event are counted by evcnt(9). Example:

ppb0 Interrupt 0 0 intr
ppb0 Attention Button Pressed 0 0 misc
ppb0 Power Fault Detected 0 0 misc
ppb0 MRL Sensor Changed 0 0 misc
ppb0 Presence Detect Changed 0 0 misc
ppb0 Command Completed 0 0 misc
ppb0 Data Link Layer State Changed 0 0 misc

- Print message if ppb_printevent is not zero. The default vaule is 0.
The output messages:

Attention Button Pressed
Power Fault Detected
MRL Sensor Changed
Presence Detect Changed
Command Completed
Data Link Layer State Changed

- Remove workaround code to disable interrupt (ppb.c rev. 1.35).

Tested with Dell Latitude 2120 without if_bge.c rev. 1.304's workaround.
dmesg when bge's device timeout occured:

ppb3: Presence Detect Changed
ppb3: Data Link Layer State Changed
ppb3: Presence Detect Changed

vmstat -e |grep ppb

ppb3 Interrupt 2 0 intr
ppb3 Presence Detect Changed 2 0 misc
ppb3 Data Link Layer State Changed 1 0 misc

H A Dppb.c1.57 Tue Apr 18 05:21:34 GMT 2017 msaitoh Enable PCIe's interrupt as much as possilbe in ppb(4) to detect and count
status change event. HotPlug function itself have not implemented yet.

- Interrupt and each event are counted by evcnt(9). Example:

ppb0 Interrupt 0 0 intr
ppb0 Attention Button Pressed 0 0 misc
ppb0 Power Fault Detected 0 0 misc
ppb0 MRL Sensor Changed 0 0 misc
ppb0 Presence Detect Changed 0 0 misc
ppb0 Command Completed 0 0 misc
ppb0 Data Link Layer State Changed 0 0 misc

- Print message if ppb_printevent is not zero. The default vaule is 0.
The output messages:

Attention Button Pressed
Power Fault Detected
MRL Sensor Changed
Presence Detect Changed
Command Completed
Data Link Layer State Changed

- Remove workaround code to disable interrupt (ppb.c rev. 1.35).

Tested with Dell Latitude 2120 without if_bge.c rev. 1.304's workaround.
dmesg when bge's device timeout occured:

ppb3: Presence Detect Changed
ppb3: Data Link Layer State Changed
ppb3: Presence Detect Changed

vmstat -e |grep ppb

ppb3 Interrupt 2 0 intr
ppb3 Presence Detect Changed 2 0 misc
ppb3 Data Link Layer State Changed 1 0 misc

H A Dfiles.pci1.304 Fri May 23 21:11:40 GMT 2008 jnemeth branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)

1.304 Fri May 23 21:11:40 GMT 2008 jnemeth branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)

1.304 Fri May 23 21:11:40 GMT 2008 jnemeth branches: 1.304.2; 1.304.4;
Import siisata(4) by Jonathan A. Kollasch.

The siisata driver supports the Silicon Image SteelVine family of SATA-II
controllers, interfacing the hardware with the ata(4) and atapi(4) sub-
systems.

The following controllers are supported by the siisata driver:

Silicon Image SiI3124 4-port PCI/PCI-X
Silicon Image SiI3132 2-port PCI-Express x1
Silicon Image SiI3531 1-port PCI-Express x1

SATA Native Command Queueing is not yet supported.
Device hot swapping is not yet supported.
Silicon Image's Software RAID is not yet supported by the
ataraid(4) driver.

Approved by: core (christos), releng (bouyer)

/src/sys/sys/
H A Dsyscall.h1.304 Sat Jan 06 16:41:24 GMT 2018 kamil branches: 1.304.2; 1.304.4;
Revert vadvise(2) removal

This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).

It used to instruct the kernel about paging policy (G/C aware, flush etc).

Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.

vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.

Requested by <mrg>
1.304 Sat Jan 06 16:41:24 GMT 2018 kamil branches: 1.304.2; 1.304.4;
Revert vadvise(2) removal

This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).

It used to instruct the kernel about paging policy (G/C aware, flush etc).

Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.

vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.

Requested by <mrg>
1.304 Sat Jan 06 16:41:24 GMT 2018 kamil branches: 1.304.2; 1.304.4;
Revert vadvise(2) removal

This system call was used in legacy Lisp code, that was inherited to modern
age and still compiled against supported compat layers (e.g. in clisp,
oaklisp, Franz Lisp).

It used to instruct the kernel about paging policy (G/C aware, flush etc).

Newly compiled code (assuming that it will detect vadvise()) will use the
libc stub for vadvise(). The headers for this interface are gone.

vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix,
sunos or aout68k ABI, don't bother with this.

Requested by <mrg>
H A Dvnode.h1.304 Wed Oct 26 23:40:30 GMT 2022 riastradh branches: 1.304.8;
sys/vnode.h: New home for extern vfs_op_descs.

(Maybe this should be in a more kern-private header file -- it's used
only by vnode_if.c and vfs_init.c -- but this'll do for now.)

1.304 Wed Oct 26 23:40:30 GMT 2022 riastradh branches: 1.304.8;
sys/vnode.h: New home for extern vfs_op_descs.

(Maybe this should be in a more kern-private header file -- it's used
only by vnode_if.c and vfs_init.c -- but this'll do for now.)

H A Dsyscallargs.h1.304 Sun Sep 19 15:52:05 GMT 2021 thorpej Regen for eventfd(2) and timerfd(2).

H A Dsystm.h1.304 Sat Sep 09 00:15:09 GMT 2023 riastradh Revert "once(9): Assert sleepable in RUN_ONCE, unconditionally."

This would be nice but it'll break too many things for the moment.

/src/sys/kern/
H A Dsyscalls.c1.304 Fri Jan 13 06:20:31 GMT 2017 christos branches: 1.304.6;
regen

1.304 Fri Jan 13 06:20:31 GMT 2017 christos branches: 1.304.6;
regen

H A Dinit_sysent.c1.304 Tue Dec 01 00:27:17 GMT 2015 pgoyette Regen

H A Dkern_sig.c1.304 Wed Mar 03 00:47:31 GMT 2010 yamt branches: 1.304.2;
remove redundant checks of PK_MARKER.

1.304 Wed Mar 03 00:47:31 GMT 2010 yamt branches: 1.304.2;
remove redundant checks of PK_MARKER.

H A Dsyscalls.master1.304 Sun Apr 26 19:15:55 GMT 2020 thorpej Due to a collision with another upcoming change, relocate the futex calls
to the 3 free slots at 166-168.

H A Dtty.c1.304 Thu Oct 06 19:58:41 GMT 2022 riastradh constty(4): Make MP-safe.

Access to the global constty variable is coordinated as follows:

1. Setting constty to nonnull, with atomic_store_release, is allowed
only under the new adaptive constty_lock in thread context. This
serializes TIOCCONS operations and ensures unlocked readers can
safely use a constty pointer read with atomic_load_consume.

2. Changing constty from nonnull to null, with atomic_cas_ptr, is
allowed in any context -- printf(9) uses this to disable a broken
constty.

3. Reading constty under constty_lock is allowed with
atomic_load_relaxed, because while constty_lock is held, it can
only be made null by some other thread/CPU, never made nonnull.

4. Reading constty outside constty_lock is allowed with
atomic_load_consume in a pserialize read section -- constty is
only ever made nonnull with atomic_store_release, in (1).
ttyclose will wait for all these pserialize read sections to
complete before flushing the tty.

5. To continue to use a struct tty pointer in (4) after the
pserialize read section has completed, caller must use tty_acquire
during the pserialize read section and then tty_release when done.
ttyclose will wait for all these references to drain before
returning.

These access rules allow us to serialize TIOCCONS, and safely destroy
ttys, without putting any locks on the access paths like printf(9)
that use constty. Once we set D_MPSAFE, operations on /dev/console
will contend only with other users of the same tty as constty, which
will be an improvement over contending with all other kernel lock
users in the system.

Changes second time around:
- Fix initialization of ok in cons.c cn_redirect.
- Fix reversed sense of conditional in subr_prf.c putone.

H A Dvfs_bio.c1.304 Sat Dec 07 02:11:42 GMT 2024 riastradh vfs(9): Sprinkle KNF.

No functional change intended.

/src/
H A Dbuild.sh1.304 Sun Nov 16 06:08:13 GMT 2014 uebayasi build.sh mkernels: Build all kernels in modular build

/src/sys/dev/scsipi/
H A Dscsiconf.c1.304 Sat Jun 22 10:10:07 GMT 2024 palle branches: 1.304.2;
Add quirk for sparc64/sun4v ldom virtual cd devices

1.304 Sat Jun 22 10:10:07 GMT 2024 palle branches: 1.304.2;
Add quirk for sparc64/sun4v ldom virtual cd devices

H A Dcd.c1.304 Fri Nov 25 00:39:55 GMT 2011 joerg branches: 1.304.2;
Replace memset with incorrect size argument with M_ZERO.

1.304 Fri Nov 25 00:39:55 GMT 2011 joerg branches: 1.304.2;
Replace memset with incorrect size argument with M_ZERO.

/src/sys/dev/usb/
H A Duhci.c1.304 Tue Jul 07 10:02:17 GMT 2020 skrll branches: 1.304.2;
KASSERT polling or holding sc_lock in a few more places.

kern/52569: Entering ddb using USB keyboard panics with "locking against myself"

1.304 Tue Jul 07 10:02:17 GMT 2020 skrll branches: 1.304.2;
KASSERT polling or holding sc_lock in a few more places.

kern/52569: Entering ddb using USB keyboard panics with "locking against myself"

/src/sys/nfs/
H A Dnfs_vnops.c1.304 Fri Feb 07 15:29:22 GMT 2014 hannken branches: 1.304.2;
Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

1.304 Fri Feb 07 15:29:22 GMT 2014 hannken branches: 1.304.2;
Change vnode operation lookup to return the resulting vnode *vpp unlocked.
Change cache_lookup() to return an unlocked vnode.

Discussed on tech-kern@

Welcome to 6.99.31

/src/share/misc/
H A Dacronyms1.304 Sat Jun 13 14:31:49 GMT 2020 sevan BAU

/src/sys/ufs/lfs/
H A Dlfs_vnops.c1.304 Wed Jul 13 16:26:26 GMT 2016 maya branches: 1.304.2; 1.304.4;
Fix a deadlock

ok dholland@

1.304 Wed Jul 13 16:26:26 GMT 2016 maya branches: 1.304.2; 1.304.4;
Fix a deadlock

ok dholland@

1.304 Wed Jul 13 16:26:26 GMT 2016 maya branches: 1.304.2; 1.304.4;
Fix a deadlock

ok dholland@

/src/doc/
H A DBRANCHES1.304 Thu Jan 20 11:46:19 GMT 2011 bouyer Add bouyer-quota2 branch
/src/sys/net/
H A Dif.h1.304 Fri Nov 25 08:39:32 GMT 2022 knakahara branches: 1.304.2;
Support explicit unnumbered interface.

Currently, NetBSD supports implicit unnumbered interface by setting
the same IP address to two interfaces. However, such interface is not
treated as unnumbered when one of the interfaces is being changed and
has been changed IP address. That behavior can be harmful for some
routing daemons.

1.304 Fri Nov 25 08:39:32 GMT 2022 knakahara branches: 1.304.2;
Support explicit unnumbered interface.

Currently, NetBSD supports implicit unnumbered interface by setting
the same IP address to two interfaces. However, such interface is not
treated as unnumbered when one of the interfaces is being changed and
has been changed IP address. That behavior can be harmful for some
routing daemons.

/src/sys/dev/ic/
H A Dcom.c1.304 Thu Feb 02 19:43:02 GMT 2012 tls branches: 1.304.2;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.

1.304 Thu Feb 02 19:43:02 GMT 2012 tls branches: 1.304.2;
Entropy-pool implementation move and cleanup.

1) Move core entropy-pool code and source/sink/sample management code
to sys/kern from sys/dev.

2) Remove use of NRND as test for presence of entropy-pool code throughout
source tree.

3) Remove use of RND_ENABLED in device drivers as microoptimization to
avoid expensive operations on disabled entropy sources; make the
rnd_add calls do this directly so all callers benefit.

4) Fix bug in recent rnd_add_data()/rnd_add_uint32() changes that might
have lead to slight entropy overestimation for some sources.

5) Add new source types for environmental sensors, power sensors, VM
system events, and skew between clocks, with a sample implementation
for each.

ok releng to go in before the branch due to the difficulty of later
pullup (widespread #ifdef removal and moved files). Tested with release
builds on amd64 and evbarm and live testing on amd64.

/src/sys/arch/alpha/alpha/
H A Dmachdep.c1.304 Thu Apr 24 18:39:20 GMT 2008 ad branches: 1.304.2;
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

1.304 Thu Apr 24 18:39:20 GMT 2008 ad branches: 1.304.2;
Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

/src/sys/dev/raidframe/
H A Drf_netbsdkintf.c1.304 Wed May 29 00:47:49 GMT 2013 christos branches: 1.304.2;
phase 1 of disk geometry cleanup:
- centralize the geometry -> plist code so that we don't have
n useless copies of it.

1.304 Wed May 29 00:47:49 GMT 2013 christos branches: 1.304.2;
phase 1 of disk geometry cleanup:
- centralize the geometry -> plist code so that we don't have
n useless copies of it.

Completed in 320 milliseconds

12345