CVS log for src/sys/arch/sparc64/dev/ldc.c
Up to [cvs.NetBSD.org] / src / sys / arch / sparc64 / dev
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Dec 20 05:33:58 2023 UTC (11 months, 3 weeks ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -2
lines
Remove unnecessary <sys/malloc.h>.
Revision 1.6.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 17 17:26:16 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +15 -8
lines
Sync with HEAD.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Apr 5 12:19:22 2021 UTC (3 years, 8 months ago) by palle
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-altq-separation-base,
thorpej-altq-separation,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +15 -8
lines
sun4v: Ignore spurious ldc CTRL/ACK/VERS messages (do not reset the connection anymore). Fixes occationals stalls when vdsk uses the ldc service. Observed on both T2000 and T5 host systems
Revision 1.3.16.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:08 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.3.16.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.16.1: +5 -20
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.6: download - view: text, markup, annotated - select for diffs
Tue Oct 15 00:13:52 2019 UTC (5 years, 2 months ago) by chs
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache
Branch point for: thorpej-cfargs
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -11
lines
convert more KM_NOSLEEP to KM_SLEEP and remove code to handle failures.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Oct 1 18:00:07 2019 UTC (5 years, 2 months ago) by chs
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -10
lines
in many device attach paths, allocate memory with KM_SLEEP instead of KM_NOSLEEP
and remove code to handle failures that can no longer happen.
Revision 1.3.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:47 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5
lines
Sync with HEAD
Revision 1.3.14.1: download - view: text, markup, annotated - select for diffs
Thu Sep 6 06:55:42 2018 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +5 -5
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:27 2018 UTC (6 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +5 -5
lines
Rename min/max -> uimin/uimax for better honesty.
These functions are defined on unsigned int. The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.
HOWEVER! Some subsystems have
#define min(a, b) ((a) < (b) ? (a) : (b))
#define max(a, b) ((a) > (b) ? (a) : (b))
even though our standard name for that is MIN/MAX. Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.
To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.
I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:
cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))
It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.
Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate. But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all. (Who knows, maybe in some cases integer
truncation is actually intended!)
Revision 1.3.12.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:44 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.3.12.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.12.1: +689 -0
lines
update from HEAD
Revision 1.2.4.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:53 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.4.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.4.2: +11 -1
lines
Sync with HEAD
Revision 1.2.6.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:37 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +11 -1
lines
Sync with HEAD
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:20 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2.2.2: preferred, colored; branchpoint 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.2: +11 -1
lines
Sync with HEAD
Revision 1.3.12.1
Fri Mar 3 21:09:25 2017 UTC (7 years, 9 months ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.3: +0 -689
lines
file ldc.c was added on branch tls-maxphys on 2017-12-03 11:36:44 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Mar 3 21:09:25 2017 UTC (7 years, 9 months ago) by palle
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-compat-base,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1
Branch point for: tls-maxphys,
phil-wifi,
pgoyette-compat
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -1
lines
sun4v: Fixed PR 51554 - Avoid unsafe allocation in ldc/vdsk
Revision 1.2.4.2: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:36 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.2.4.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.4.1: +679 -0
lines
Sync with HEAD
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Wed Sep 14 03:04:17 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.2.2.1: preferred, colored; branchpoint 1.2: preferred, colored
Changes since revision 1.2.2.1: +679 -0
lines
Sync with HEAD
Revision 1.2.4.1
Sat Aug 20 18:21:18 2016 UTC (8 years, 3 months ago) by skrll
Branches: nick-nhusb
FILE REMOVED
Changes since revision 1.2: +0 -679
lines
file ldc.c was added on branch nick-nhusb on 2016-10-05 20:55:36 +0000
Revision 1.2.2.1
Sat Aug 20 18:21:18 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.2: +0 -679
lines
file ldc.c was added on branch pgoyette-localcount on 2016-09-14 03:04:17 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Aug 20 18:21:18 2016 UTC (8 years, 3 months ago) by nakayama
Branches: MAIN
CVS tags: pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
localcount-20160914,
bouyer-socketcan-base
Branch point for: pgoyette-localcount,
nick-nhusb,
bouyer-socketcan
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +7 -7
lines
Avoid "cast to pointer from integer of different size" warning on
32-bit kernels.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Aug 19 19:02:07 2016 UTC (8 years, 3 months ago) by palle
Branches: MAIN
sun4v: vdsk and ldc drivers - from OpenBSD, but heavily adapted to NetBSD scsipi - access to a virtual disk served from a ldom primary domain now works
CVSweb <webmaster@jp.NetBSD.org>