head	1.233;
access;
symbols
	netbsd-11-0-RC4:1.226.2.2
	netbsd-11-0-RC3:1.226.2.1
	netbsd-11-0-RC2:1.226.2.1
	netbsd-11-0-RC1:1.226.2.1
	perseant-exfatfs-base-20250801:1.226
	netbsd-11:1.226.0.2
	netbsd-11-base:1.226
	netbsd-10-1-RELEASE:1.206.2.5
	perseant-exfatfs-base-20240630:1.217
	perseant-exfatfs:1.216.0.2
	perseant-exfatfs-base:1.216
	netbsd-9-4-RELEASE:1.103.2.13
	netbsd-10-0-RELEASE:1.206.2.3
	netbsd-10-0-RC6:1.206.2.3
	netbsd-10-0-RC5:1.206.2.3
	netbsd-10-0-RC4:1.206.2.3
	netbsd-10-0-RC3:1.206.2.3
	netbsd-10-0-RC2:1.206.2.3
	thorpej-ifq:1.214.0.4
	thorpej-ifq-base:1.214
	thorpej-altq-separation:1.214.0.2
	thorpej-altq-separation-base:1.214
	netbsd-10-0-RC1:1.206.2.3
	netbsd-10:1.206.0.2
	netbsd-10-base:1.206
	bouyer-sunxi-drm:1.205.0.2
	bouyer-sunxi-drm-base:1.205
	netbsd-9-3-RELEASE:1.103.2.13
	thorpej-i2c-spi-conf2:1.179.0.6
	thorpej-i2c-spi-conf2-base:1.179
	thorpej-futex2:1.179.0.4
	thorpej-futex2-base:1.179
	thorpej-cfargs2:1.179.0.2
	thorpej-cfargs2-base:1.179
	cjep_sun2x-base1:1.177
	cjep_sun2x:1.177.0.8
	cjep_sun2x-base:1.177
	cjep_staticlib_x-base1:1.177
	netbsd-9-2-RELEASE:1.103.2.13
	cjep_staticlib_x:1.177.0.6
	cjep_staticlib_x-base:1.177
	thorpej-i2c-spi-conf:1.177.0.4
	thorpej-i2c-spi-conf-base:1.179
	thorpej-cfargs:1.177.0.2
	thorpej-cfargs-base:1.177
	thorpej-futex:1.165.0.2
	thorpej-futex-base:1.177
	netbsd-9-1-RELEASE:1.103.2.13
	bouyer-xenpvh-base2:1.154
	phil-wifi-20200421:1.154
	bouyer-xenpvh-base1:1.154
	phil-wifi-20200411:1.149
	bouyer-xenpvh:1.149.0.2
	bouyer-xenpvh-base:1.149
	is-mlppp:1.140.0.2
	is-mlppp-base:1.140
	phil-wifi-20200406:1.149
	ad-namecache-base3:1.140
	netbsd-9-0-RELEASE:1.103.2.8
	netbsd-9-0-RC2:1.103.2.8
	ad-namecache-base2:1.134
	ad-namecache-base1:1.133
	ad-namecache:1.130.0.2
	ad-namecache-base:1.130
	netbsd-9-0-RC1:1.103.2.6
	phil-wifi-20191119:1.115
	netbsd-9:1.103.0.2
	netbsd-9-base:1.103
	phil-wifi-20190609:1.96
	isaki-audio2:1.87.0.2
	isaki-audio2-base:1.87
	pgoyette-compat-merge-20190127:1.1.2.13
	pgoyette-compat-20190127:1.75
	pgoyette-compat-20190118:1.73
	pgoyette-compat-1226:1.70
	pgoyette-compat-1126:1.66
	pgoyette-compat-1020:1.52
	pgoyette-compat-0930:1.39
	pgoyette-compat-0906:1.34
	pgoyette-compat-0728:1.29
	phil-wifi:1.19.0.2
	phil-wifi-base:1.19
	pgoyette-compat-0625:1.18
	pgoyette-compat-0521:1.15
	pgoyette-compat-0502:1.6
	pgoyette-compat-0422:1.1
	pgoyette-compat-0415:1.1
	pgoyette-compat:1.1.0.2
	pgoyette-compat-0407:1.1;
locks; strict;
comment	@# @;


1.233
date	2026.05.13.05.43.04;	author skrll;	state Exp;
branches;
next	1.232;
commitid	5XhpedDD5EmzbCFG;

1.232
date	2026.04.16.07.12.59;	author skrll;	state Exp;
branches;
next	1.231;
commitid	mtjJJt0anDOoy9CG;

1.231
date	2026.03.02.14.05.49;	author skrll;	state Exp;
branches;
next	1.230;
commitid	rDWMbClu0bNLgpwG;

1.230
date	2026.01.31.12.12.58;	author nia;	state Exp;
branches;
next	1.229;
commitid	ihsNE1AIffujCxsG;

1.229
date	2025.10.09.06.15.17;	author skrll;	state Exp;
branches;
next	1.228;
commitid	UBhRwKIcmMVPhRdG;

1.228
date	2025.08.05.15.44.10;	author skrll;	state Exp;
branches;
next	1.227;
commitid	emjzYwsobtMXxy5G;

1.227
date	2025.08.04.20.03.12;	author skrll;	state Exp;
branches;
next	1.226;
commitid	gI972IlMS3s80s5G;

1.226
date	2025.07.04.06.42.01;	author andvar;	state Exp;
branches
	1.226.2.1;
next	1.225;
commitid	rhykKCI6G8uhzo1G;

1.225
date	2025.06.03.19.31.46;	author rjs;	state Exp;
branches;
next	1.224;
commitid	evVoAZXq0z0nPtXF;

1.224
date	2025.03.27.12.23.19;	author riastradh;	state Exp;
branches;
next	1.223;
commitid	Nj1eFolbdCBeEHOF;

1.223
date	2025.03.27.12.22.43;	author riastradh;	state Exp;
branches;
next	1.222;
commitid	E7rF9ahYVUe0EHOF;

1.222
date	2024.12.30.12.31.09;	author jmcneill;	state Exp;
branches;
next	1.221;
commitid	xEjTqVPGFVnyqwDF;

1.221
date	2024.12.09.22.17.31;	author jmcneill;	state Exp;
branches;
next	1.220;
commitid	9gSIrSyNORFjpSAF;

1.220
date	2024.12.08.20.52.32;	author jmcneill;	state Exp;
branches;
next	1.219;
commitid	3aVyTOAas1k2YJAF;

1.219
date	2024.08.27.00.56.16;	author riastradh;	state Exp;
branches;
next	1.218;
commitid	Gl1nzFEJYuv1FonF;

1.218
date	2024.07.16.12.01.19;	author riastradh;	state Exp;
branches;
next	1.217;
commitid	X0tqcGme39NRG3iF;

1.217
date	2024.06.30.09.39.05;	author jmcneill;	state Exp;
branches;
next	1.216;
commitid	A7sU10r7G1lZpZfF;

1.216
date	2024.05.17.10.25.43;	author nia;	state Exp;
branches
	1.216.2.1;
next	1.215;
commitid	l07QNa7rdqqC5laF;

1.215
date	2024.05.09.12.09.59;	author pho;	state Exp;
branches;
next	1.214;
commitid	0Nn0GG02XjbnVj9F;

1.214
date	2023.10.11.07.49.29;	author rin;	state Exp;
branches;
next	1.213;
commitid	tzuFWHXzkLTsfbIE;

1.213
date	2023.10.04.07.48.55;	author rin;	state Exp;
branches;
next	1.212;
commitid	v40uEQD2SIf9thHE;

1.212
date	2023.07.15.22.30.19;	author riastradh;	state Exp;
branches;
next	1.211;
commitid	FEXuZRs3Y5V3YWwE;

1.211
date	2023.04.16.16.55.01;	author jmcneill;	state Exp;
branches;
next	1.210;
commitid	CAl10kRikOuj0mlE;

1.210
date	2023.02.25.08.19.35;	author skrll;	state Exp;
branches;
next	1.209;
commitid	vepJEZVxg4CvKSeE;

1.209
date	2023.02.11.07.01.32;	author mrg;	state Exp;
branches;
next	1.208;
commitid	E9LqqHVPgKihM4dE;

1.208
date	2023.02.09.14.09.48;	author abs;	state Exp;
branches;
next	1.207;
commitid	TaTOPEdyZJGxcRcE;

1.207
date	2022.12.24.15.46.50;	author nia;	state Exp;
branches;
next	1.206;
commitid	DfOCkrvCXvv4gP6E;

1.206
date	2022.10.29.13.59.57;	author jmcneill;	state Exp;
branches
	1.206.2.1;
next	1.205;
commitid	jeQDiR7pANj2tCZD;

1.205
date	2022.08.23.05.40.46;	author ryo;	state Exp;
branches;
next	1.204;
commitid	5GX3gcDa4YUpRXQD;

1.204
date	2022.08.23.05.39.06;	author ryo;	state Exp;
branches;
next	1.203;
commitid	Y44TlDP9AKsPQXQD;

1.203
date	2022.08.20.15.12.27;	author martin;	state Exp;
branches;
next	1.202;
commitid	36nCRKystFh37DQD;

1.202
date	2022.08.13.16.55.10;	author jmcneill;	state Exp;
branches;
next	1.201;
commitid	MErgcdAas7BCUJPD;

1.201
date	2022.05.10.08.09.57;	author skrll;	state Exp;
branches;
next	1.200;
commitid	B8CW1WcHt0iP2uDD;

1.200
date	2022.05.10.08.05.32;	author skrll;	state Exp;
branches;
next	1.199;
commitid	yxrmLipd1f0b2uDD;

1.199
date	2022.05.07.08.20.04;	author skrll;	state Exp;
branches;
next	1.198;
commitid	GWAZfDc5QN67d6DD;

1.198
date	2022.04.27.08.06.20;	author skrll;	state Exp;
branches;
next	1.197;
commitid	NpL4Akv4hA8RrOBD;

1.197
date	2022.04.27.07.59.18;	author skrll;	state Exp;
branches;
next	1.196;
commitid	PVpbpa5S260TpOBD;

1.196
date	2022.04.27.07.55.42;	author skrll;	state Exp;
branches;
next	1.195;
commitid	8w13xHdYjXuEoOBD;

1.195
date	2022.03.21.09.20.04;	author jmcneill;	state Exp;
branches;
next	1.194;
commitid	7GQHtwViI3Dv34xD;

1.194
date	2022.01.31.09.16.09;	author ryo;	state Exp;
branches;
next	1.193;
commitid	JbBwbKyTJrWQBLqD;

1.193
date	2022.01.28.16.38.56;	author jakllsch;	state Exp;
branches;
next	1.192;
commitid	aHDdD3AXLUDJ9qqD;

1.192
date	2022.01.27.14.39.49;	author jakllsch;	state Exp;
branches;
next	1.191;
commitid	9JHGNUWBSbaGwhqD;

1.191
date	2022.01.09.15.05.16;	author jmcneill;	state Exp;
branches;
next	1.190;
commitid	oo0lasCYXh8nfYnD;

1.190
date	2022.01.03.17.19.41;	author jmcneill;	state Exp;
branches;
next	1.189;
commitid	wteSKQbWGt2sbdnD;

1.189
date	2021.12.24.00.24.49;	author jmcneill;	state Exp;
branches;
next	1.188;
commitid	nDlSNaFSuJM7TPlD;

1.188
date	2021.11.27.19.55.20;	author ryo;	state Exp;
branches;
next	1.187;
commitid	ZZh1R8WnuPlGetiD;

1.187
date	2021.10.10.13.03.09;	author jmcneill;	state Exp;
branches;
next	1.186;
commitid	Tn9O3sAAmUaZsgcD;

1.186
date	2021.09.23.06.56.27;	author ryo;	state Exp;
branches;
next	1.185;
commitid	iJ5Xnn765YDY03aD;

1.185
date	2021.09.13.23.31.23;	author jmcneill;	state Exp;
branches;
next	1.184;
commitid	FV9EKo30ULQbQQ8D;

1.184
date	2021.09.07.10.09.34;	author msaitoh;	state Exp;
branches;
next	1.183;
commitid	h7sg01nwWJ48B08D;

1.183
date	2021.08.30.23.26.26;	author jmcneill;	state Exp;
branches;
next	1.182;
commitid	z9BcpRSYCYuRf37D;

1.182
date	2021.08.26.17.08.34;	author thorpej;	state Exp;
branches;
next	1.181;
commitid	BJvlQE8N0cVKiv6D;

1.181
date	2021.08.19.02.05.34;	author msaitoh;	state Exp;
branches;
next	1.180;
commitid	0Fh0HRF7oXYWww5D;

1.180
date	2021.08.18.09.18.09;	author msaitoh;	state Exp;
branches;
next	1.179;
commitid	h0OkxO4VzylhXq5D;

1.179
date	2021.06.26.09.29.14;	author nia;	state Exp;
branches;
next	1.178;
commitid	gZYRDrD2Fq4NICYC;

1.178
date	2021.06.26.09.05.24;	author nia;	state Exp;
branches;
next	1.177;
commitid	ZJer8YiLr3GzACYC;

1.177
date	2021.03.01.18.12.58;	author jakllsch;	state Exp;
branches
	1.177.4.1;
next	1.176;
commitid	MqI36ftos3qDnDJC;

1.176
date	2021.01.27.15.52.46;	author skrll;	state Exp;
branches;
next	1.175;
commitid	SJE94MZEX6x9FnFC;

1.175
date	2021.01.24.18.02.51;	author jmcneill;	state Exp;
branches;
next	1.174;
commitid	Sfbu2WeNtPgSt0FC;

1.174
date	2021.01.21.17.46.28;	author nia;	state Exp;
branches;
next	1.173;
commitid	GAgJvPW6yew7uCEC;

1.173
date	2021.01.21.06.57.26;	author nia;	state Exp;
branches;
next	1.172;
commitid	d5XAbiOOBPlzTyEC;

1.172
date	2021.01.21.06.51.54;	author nia;	state Exp;
branches;
next	1.171;
commitid	3cU8FmkCubAfPyEC;

1.171
date	2021.01.10.19.20.16;	author jmcneill;	state Exp;
branches;
next	1.170;
commitid	K5EowAjasiWdmdDC;

1.170
date	2021.01.01.07.21.58;	author ryo;	state Exp;
branches;
next	1.169;
commitid	FQYcLwUmmzDSFZBC;

1.169
date	2020.12.29.01.48.22;	author thorpej;	state Exp;
branches;
next	1.168;
commitid	IZj3T4JUaO7oVzBC;

1.168
date	2020.12.23.04.09.32;	author thorpej;	state Exp;
branches;
next	1.167;
commitid	1p2wlgV1BHnsTOAC;

1.167
date	2020.12.13.20.40.38;	author jmcneill;	state Exp;
branches;
next	1.166;
commitid	nXWIXDyJpC3oHCzC;

1.166
date	2020.12.07.10.57.41;	author jmcneill;	state Exp;
branches;
next	1.165;
commitid	OPplaK8ri0iuFNyC;

1.165
date	2020.10.28.07.36.17;	author rin;	state Exp;
branches
	1.165.2.1;
next	1.164;
commitid	tvEq1RiAi9xeQDtC;

1.164
date	2020.10.27.08.57.10;	author ryo;	state Exp;
branches;
next	1.163;
commitid	qz2xPhwVJtD4kwtC;

1.163
date	2020.10.15.04.39.24;	author ryo;	state Exp;
branches;
next	1.162;
commitid	R4dpVYFuWz1zhXrC;

1.162
date	2020.09.29.19.58.50;	author jmcneill;	state Exp;
branches;
next	1.161;
commitid	mHlbrdCG5hVISYpC;

1.161
date	2020.08.02.06.58.16;	author maxv;	state Exp;
branches;
next	1.160;
commitid	KGF5DhZD6IDFpsiC;

1.160
date	2020.07.16.11.36.35;	author skrll;	state Exp;
branches;
next	1.159;
commitid	uWwC412V6PjyvigC;

1.159
date	2020.05.18.21.19.35;	author jmcneill;	state Exp;
branches;
next	1.158;
commitid	LEg8TRe3NPw0DL8C;

1.158
date	2020.05.17.19.57.25;	author riastradh;	state Exp;
branches;
next	1.157;
commitid	pyytm70SnAbgdD8C;

1.157
date	2020.05.13.11.41.35;	author jmcneill;	state Exp;
branches;
next	1.156;
commitid	184yDA8f8AwiB48C;

1.156
date	2020.04.25.22.08.49;	author jmcneill;	state Exp;
branches;
next	1.155;
commitid	nYM2mDaMh4olEO5C;

1.155
date	2020.04.25.22.08.04;	author jmcneill;	state Exp;
branches;
next	1.154;
commitid	MGsoWuIbWvD5EO5C;

1.154
date	2020.04.18.11.00.38;	author skrll;	state Exp;
branches;
next	1.153;
commitid	2zaZE9PO9gJXaR4C;

1.153
date	2020.04.18.10.55.44;	author skrll;	state Exp;
branches;
next	1.152;
commitid	vaxOwKNlNc5h9R4C;

1.152
date	2020.04.13.11.44.20;	author maxv;	state Exp;
branches;
next	1.151;
commitid	GmMG8NI8vp8Zzd4C;

1.151
date	2020.04.13.05.40.26;	author maxv;	state Exp;
branches;
next	1.150;
commitid	3yo5wfaETZJByb4C;

1.150
date	2020.04.12.07.49.58;	author maxv;	state Exp;
branches;
next	1.149;
commitid	C3R28CfakLTui44C;

1.149
date	2020.03.31.12.23.17;	author jmcneill;	state Exp;
branches
	1.149.2.1;
next	1.148;
commitid	bKxxKy8bHq07dy2C;

1.148
date	2020.03.28.08.35.36;	author isaki;	state Exp;
branches;
next	1.147;
commitid	fULttaXt8dDZ292C;

1.147
date	2020.03.27.01.43.58;	author thorpej;	state Exp;
branches;
next	1.146;
commitid	dCUNGWe0fO9MNY1C;

1.146
date	2020.03.18.10.56.38;	author jmcneill;	state Exp;
branches;
next	1.145;
commitid	xIhuzUI0qjCt9S0C;

1.145
date	2020.03.18.04.02.20;	author nisimura;	state Exp;
branches;
next	1.144;
commitid	awqfVv5cH8akRP0C;

1.144
date	2020.03.18.03.26.14;	author nisimura;	state Exp;
branches;
next	1.143;
commitid	UIwpUjWjUpOXEP0C;

1.143
date	2020.03.18.02.21.24;	author nisimura;	state Exp;
branches;
next	1.142;
commitid	NZmfYMuJuUhHiP0C;

1.142
date	2020.03.16.08.48.05;	author nisimura;	state Exp;
branches;
next	1.141;
commitid	UOkJ3XrjPikmvB0C;

1.141
date	2020.03.16.08.17.57;	author nisimura;	state Exp;
branches;
next	1.140;
commitid	eLB7Kv9woxG1lB0C;

1.140
date	2020.02.22.18.57.50;	author jmcneill;	state Exp;
branches;
next	1.139;
commitid	sl7ZD8yAMErnCHXB;

1.139
date	2020.02.22.02.28.06;	author jmcneill;	state Exp;
branches;
next	1.138;
commitid	4cFjLraZogLI8CXB;

1.138
date	2020.02.22.00.28.35;	author jmcneill;	state Exp;
branches;
next	1.137;
commitid	0HtCrRjn6QSvtBXB;

1.137
date	2020.02.20.01.36.37;	author jmcneill;	state Exp;
branches;
next	1.136;
commitid	P20nCIBMaXnaVlXB;

1.136
date	2020.02.06.01.37.46;	author mrg;	state Exp;
branches;
next	1.135;
commitid	LJmkJs0xbAbgnyVB;

1.135
date	2020.01.26.06.51.06;	author mrg;	state Exp;
branches;
next	1.134;
commitid	SEfM2i1jGgQDsaUB;

1.134
date	2020.01.25.12.26.58;	author jmcneill;	state Exp;
branches;
next	1.133;
commitid	6xjYNjRa7CE5m4UB;

1.133
date	2020.01.15.11.36.48;	author jmcneill;	state Exp;
branches;
next	1.132;
commitid	4ED27mxuPYgOoMSB;

1.132
date	2020.01.15.01.09.57;	author jmcneill;	state Exp;
branches;
next	1.131;
commitid	wZwM4NQWkdHIVISB;

1.131
date	2020.01.12.21.52.36;	author riastradh;	state Exp;
branches;
next	1.130;
commitid	7BunFqCBtln1UrSB;

1.130
date	2020.01.04.14.18.28;	author skrll;	state Exp;
branches
	1.130.2.1;
next	1.129;
commitid	ac8NpRDUBSI3EnRB;

1.129
date	2020.01.04.14.14.35;	author skrll;	state Exp;
branches;
next	1.128;
commitid	0XEaISinCpFICnRB;

1.128
date	2020.01.04.12.21.55;	author jmcneill;	state Exp;
branches;
next	1.127;
commitid	a7EEHFQrMIUa0nRB;

1.127
date	2020.01.04.09.50.20;	author skrll;	state Exp;
branches;
next	1.126;
commitid	OaZaS3eWGq0bamRB;

1.126
date	2020.01.03.18.00.20;	author jmcneill;	state Exp;
branches;
next	1.125;
commitid	wzfHVHhdqDxiUgRB;

1.125
date	2020.01.02.23.01.54;	author ryo;	state Exp;
branches;
next	1.124;
commitid	vwqoYF6spSvKBaRB;

1.124
date	2020.01.02.22.07.21;	author jmcneill;	state Exp;
branches;
next	1.123;
commitid	8jIi8lSqIK82jaRB;

1.123
date	2020.01.01.11.18.13;	author jmcneill;	state Exp;
branches;
next	1.122;
commitid	f6QERhYowFSkKYQB;

1.122
date	2020.01.01.11.17.45;	author jmcneill;	state Exp;
branches;
next	1.121;
commitid	W4TLwn3y4ASaKYQB;

1.121
date	2019.12.30.18.53.54;	author jmcneill;	state Exp;
branches;
next	1.120;
commitid	bvT4k9Uv8SeEkLQB;

1.120
date	2019.12.29.12.49.03;	author jmcneill;	state Exp;
branches;
next	1.119;
commitid	yNmAhxDAJ4CtlBQB;

1.119
date	2019.12.25.10.51.20;	author skrll;	state Exp;
branches;
next	1.118;
commitid	K13gKO2Uvkv1P4QB;

1.118
date	2019.12.19.00.36.26;	author jakllsch;	state Exp;
branches;
next	1.117;
commitid	dICzdyQiYp2YBfPB;

1.117
date	2019.12.19.00.28.34;	author jakllsch;	state Exp;
branches;
next	1.116;
commitid	rgxPHgVfhoIhzfPB;

1.116
date	2019.12.09.04.51.04;	author riastradh;	state Exp;
branches;
next	1.115;
commitid	NLU8LaMKwEcllZNB;

1.115
date	2019.11.17.19.51.35;	author jmcneill;	state Exp;
branches;
next	1.114;
commitid	e7J6fShQsjZ72fLB;

1.114
date	2019.11.17.19.30.59;	author jmcneill;	state Exp;
branches;
next	1.113;
commitid	HxCMn6tEtzg4VeLB;

1.113
date	2019.11.16.13.24.40;	author jmcneill;	state Exp;
branches;
next	1.112;
commitid	tfFYC8XqLbgoV4LB;

1.112
date	2019.11.14.20.40.25;	author jmcneill;	state Exp;
branches;
next	1.111;
commitid	OjJdd5FdMlMRoRKB;

1.111
date	2019.11.10.09.55.29;	author mrg;	state Exp;
branches;
next	1.110;
commitid	n7J1FDSiZ83pXhKB;

1.110
date	2019.11.09.23.30.54;	author jmcneill;	state Exp;
branches;
next	1.109;
commitid	s84v3yhaoFCjveKB;

1.109
date	2019.10.19.13.09.57;	author tnn;	state Exp;
branches;
next	1.108;
commitid	gmQ1wSVlsRN3KtHB;

1.108
date	2019.10.01.10.08.05;	author jmcneill;	state Exp;
branches;
next	1.107;
commitid	uDTOGx8okNXqj9FB;

1.107
date	2019.09.21.14.04.12;	author jmcneill;	state Exp;
branches;
next	1.106;
commitid	qx8YWmIcpX8uWSDB;

1.106
date	2019.09.02.06.08.04;	author skrll;	state Exp;
branches;
next	1.105;
commitid	zguWec5eP8V0VoBB;

1.105
date	2019.08.13.17.21.01;	author tnn;	state Exp;
branches;
next	1.104;
commitid	5XQfQW6AuWsLgTyB;

1.104
date	2019.08.05.15.30.37;	author tnn;	state Exp;
branches;
next	1.103;
commitid	6JQ0f9uU55WLVQxB;

1.103
date	2019.07.25.00.30.45;	author jmcneill;	state Exp;
branches
	1.103.2.1;
next	1.102;
commitid	N342ey0y0k1LimwB;

1.102
date	2019.07.16.09.47.41;	author jmcneill;	state Exp;
branches;
next	1.101;
commitid	lOW1JCB2n4S4GfvB;

1.101
date	2019.07.12.19.28.20;	author skrll;	state Exp;
branches;
next	1.100;
commitid	vhpIprdJzKu41NuB;

1.100
date	2019.06.22.07.58.55;	author skrll;	state Exp;
branches;
next	1.99;
commitid	FZxd3w1Co1iqQ9sB;

1.99
date	2019.06.15.06.40.34;	author maxv;	state Exp;
branches;
next	1.98;
commitid	wTQvhE2NIm9ADfrB;

1.98
date	2019.06.13.13.35.41;	author jmcneill;	state Exp;
branches;
next	1.97;
commitid	bEpUgvANMOY302rB;

1.97
date	2019.06.12.10.14.05;	author jmcneill;	state Exp;
branches;
next	1.96;
commitid	c2OS9ZH51l6TUSqB;

1.96
date	2019.06.06.22.41.02;	author jmcneill;	state Exp;
branches;
next	1.95;
commitid	9fqxZgOs4Ws3fbqB;

1.95
date	2019.05.31.14.52.17;	author jmcneill;	state Exp;
branches;
next	1.94;
commitid	6usPQZivaWufQmpB;

1.94
date	2019.05.26.14.12.34;	author jmcneill;	state Exp;
branches;
next	1.93;
commitid	0pvC0X5R27BAMIoB;

1.93
date	2019.05.25.12.14.28;	author jmcneill;	state Exp;
branches;
next	1.92;
commitid	UusoRkhGf8kT9AoB;

1.92
date	2019.05.01.10.41.54;	author jmcneill;	state Exp;
branches;
next	1.91;
commitid	QdceFDVE4Tu8qulB;

1.91
date	2019.04.26.08.28.11;	author mrg;	state Exp;
branches;
next	1.90;
commitid	v86AoLBiSM6TOPkB;

1.90
date	2019.04.21.14.14.14;	author jmcneill;	state Exp;
branches;
next	1.89;
commitid	nDTckndJyupUUdkB;

1.89
date	2019.04.21.13.51.04;	author jmcneill;	state Exp;
branches;
next	1.88;
commitid	hS5nvirjgFDRMdkB;

1.88
date	2019.04.21.11.02.33;	author jmcneill;	state Exp;
branches;
next	1.87;
commitid	nGfW7hC56xG5RckB;

1.87
date	2019.04.19.19.36.26;	author jmcneill;	state Exp;
branches;
next	1.86;
commitid	RWOkgBiPmRHqLZjB;

1.86
date	2019.04.19.19.07.55;	author jmcneill;	state Exp;
branches;
next	1.85;
commitid	8CsZrdqQnsvrBZjB;

1.85
date	2019.04.07.13.50.29;	author jmcneill;	state Exp;
branches;
next	1.84;
commitid	MvuNni1dmO2FeqiB;

1.84
date	2019.03.17.08.17.56;	author skrll;	state Exp;
branches;
next	1.83;
commitid	MKT27mCWl8Un4HfB;

1.83
date	2019.03.10.11.10.21;	author jmcneill;	state Exp;
branches;
next	1.82;
commitid	FdVe9sJYS1HtfOeB;

1.82
date	2019.03.06.19.36.59;	author jakllsch;	state Exp;
branches;
next	1.81;
commitid	i4eAhfUsWmsdbleB;

1.81
date	2019.03.05.11.44.22;	author jmcneill;	state Exp;
branches;
next	1.80;
commitid	SRtf3EI6fJfaBaeB;

1.80
date	2019.02.25.19.30.17;	author jmcneill;	state Exp;
branches;
next	1.79;
commitid	Yq333jKV0KjMqbdB;

1.79
date	2019.02.08.00.19.57;	author macallan;	state Exp;
branches;
next	1.78;
commitid	o4nM994EoS8QBTaB;

1.78
date	2019.02.03.13.18.52;	author jmcneill;	state Exp;
branches;
next	1.77;
commitid	3VYR5oSbvVOm5kaB;

1.77
date	2019.01.30.11.25.40;	author jmcneill;	state Exp;
branches;
next	1.76;
commitid	SaxVA2OFG6bvAN9B;

1.76
date	2019.01.30.01.26.18;	author jmcneill;	state Exp;
branches;
next	1.75;
commitid	KzJM6dQ0DZTSgK9B;

1.75
date	2019.01.22.20.17.36;	author jmcneill;	state Exp;
branches;
next	1.74;
commitid	S6B9X86X9RtQMO8B;

1.74
date	2019.01.22.16.36.07;	author jmcneill;	state Exp;
branches;
next	1.73;
commitid	rJcvnQHiPA5XyN8B;

1.73
date	2019.01.03.10.44.04;	author jmcneill;	state Exp;
branches;
next	1.72;
commitid	MrcC8Eb8aNz2ek6B;

1.72
date	2018.12.30.16.25.15;	author skrll;	state Exp;
branches;
next	1.71;
commitid	ftEGosWuIRZ0fQ5B;

1.71
date	2018.12.28.06.45.53;	author mrg;	state Exp;
branches;
next	1.70;
commitid	ibM4KelQusd76x5B;

1.70
date	2018.12.21.14.52.12;	author jmcneill;	state Exp;
branches;
next	1.69;
commitid	SKylAnyQnsK41G4B;

1.69
date	2018.11.30.16.28.43;	author jmcneill;	state Exp;
branches;
next	1.68;
commitid	ZNF51vF5nOs2eZ1B;

1.68
date	2018.11.30.16.28.07;	author jmcneill;	state Exp;
branches;
next	1.67;
commitid	BnjQio6Xo0BPdZ1B;

1.67
date	2018.11.29.11.23.49;	author jmcneill;	state Exp;
branches;
next	1.66;
commitid	uzDGbopJlXvqzP1B;

1.66
date	2018.11.23.12.15.14;	author skrll;	state Exp;
branches;
next	1.65;
commitid	NdSICnUMTPcZ241B;

1.65
date	2018.11.18.20.23.18;	author jmcneill;	state Exp;
branches;
next	1.64;
commitid	h1yREky5DMJqUs0B;

1.64
date	2018.11.18.15.52.04;	author skrll;	state Exp;
branches;
next	1.63;
commitid	c6F9NAWUhggbpr0B;

1.63
date	2018.11.18.15.50.26;	author skrll;	state Exp;
branches;
next	1.62;
commitid	qKNUamCOyECMor0B;

1.62
date	2018.11.01.20.34.50;	author maxv;	state Exp;
branches;
next	1.61;
commitid	Q8v4v7QEfsM8whYA;

1.61
date	2018.10.28.10.21.42;	author jmcneill;	state Exp;
branches;
next	1.60;
commitid	kvkKkvrUZ9QGfIXA;

1.60
date	2018.10.26.23.34.05;	author jmcneill;	state Exp;
branches;
next	1.59;
commitid	XUOgGJL32sEGHwXA;

1.59
date	2018.10.26.10.46.49;	author jmcneill;	state Exp;
branches;
next	1.58;
commitid	u2JmqXGpbwMussXA;

1.58
date	2018.10.24.11.02.13;	author jmcneill;	state Exp;
branches;
next	1.57;
commitid	6ewVk7neMTiLBcXA;

1.57
date	2018.10.22.22.36.41;	author jmcneill;	state Exp;
branches;
next	1.56;
commitid	S1hUubcvfRxYv0XA;

1.56
date	2018.10.21.21.18.59;	author jmcneill;	state Exp;
branches;
next	1.55;
commitid	gcXiMvfVAkNk7SWA;

1.55
date	2018.10.21.18.32.23;	author jmcneill;	state Exp;
branches;
next	1.54;
commitid	KHBKLzrYs2dbcRWA;

1.54
date	2018.10.21.12.26.59;	author jmcneill;	state Exp;
branches;
next	1.53;
commitid	4uR7jEMzOu2PaPWA;

1.53
date	2018.10.21.12.07.47;	author jmcneill;	state Exp;
branches;
next	1.52;
commitid	8R3T9eptmoFe4PWA;

1.52
date	2018.10.19.21.09.09;	author jakllsch;	state Exp;
branches;
next	1.51;
commitid	OPMFumICgHen7CWA;

1.51
date	2018.10.17.00.04.06;	author jmcneill;	state Exp;
branches;
next	1.50;
commitid	5FI1MNqvVgkWbfWA;

1.50
date	2018.10.16.06.05.38;	author skrll;	state Exp;
branches;
next	1.49;
commitid	fvl3VjMQjEAtd9WA;

1.49
date	2018.10.15.23.59.36;	author jmcneill;	state Exp;
branches;
next	1.48;
commitid	cHmNHHZ8RYroc7WA;

1.48
date	2018.10.15.23.50.48;	author jmcneill;	state Exp;
branches;
next	1.47;
commitid	rIWUgoZ3z7ab97WA;

1.47
date	2018.10.15.11.35.42;	author jmcneill;	state Exp;
branches;
next	1.46;
commitid	LdNjYhWgLEKb53WA;

1.46
date	2018.10.12.23.26.41;	author jmcneill;	state Exp;
branches;
next	1.45;
commitid	1w2mqWTxetO47JVA;

1.45
date	2018.10.12.22.22.21;	author jmcneill;	state Exp;
branches;
next	1.44;
commitid	LV9fjjWnRXE0LIVA;

1.44
date	2018.10.12.01.28.58;	author ryo;	state Exp;
branches;
next	1.43;
commitid	c8pQhl5so5A0PBVA;

1.43
date	2018.10.03.06.02.33;	author skrll;	state Exp;
branches;
next	1.42;
commitid	lEaj2ppbxfLLCtUA;

1.42
date	2018.10.03.05.45.49;	author skrll;	state Exp;
branches;
next	1.41;
commitid	o87eEhzEUTy2xtUA;

1.41
date	2018.09.30.16.06.02;	author jmcneill;	state Exp;
branches;
next	1.40;
commitid	IKbp0I5wdaLO39UA;

1.40
date	2018.09.30.15.31.05;	author jmcneill;	state Exp;
branches;
next	1.39;
commitid	jvet11yAx8zPR8UA;

1.39
date	2018.09.29.16.02.09;	author jmcneill;	state Exp;
branches;
next	1.38;
commitid	qH0A3mZt9xvt41UA;

1.38
date	2018.09.26.20.25.51;	author jakllsch;	state Exp;
branches;
next	1.37;
commitid	0bgYP3nF3twrCETA;

1.37
date	2018.09.15.16.22.20;	author jmcneill;	state Exp;
branches;
next	1.36;
commitid	qDqwPiJOvn2jDdSA;

1.36
date	2018.09.15.16.21.36;	author jmcneill;	state Exp;
branches;
next	1.35;
commitid	9WrIOcyjOZw3DdSA;

1.35
date	2018.09.08.00.42.01;	author jmcneill;	state Exp;
branches;
next	1.34;
commitid	x4Qdsz4f64AFEeRA;

1.34
date	2018.09.02.01.17.23;	author jmcneill;	state Exp;
branches;
next	1.33;
commitid	BoRVxt5otcwL2tQA;

1.33
date	2018.08.29.01.58.54;	author jmcneill;	state Exp;
branches;
next	1.32;
commitid	1KC3hzabhkFYoXPA;

1.32
date	2018.08.29.01.58.17;	author jmcneill;	state Exp;
branches;
next	1.31;
commitid	WnznjXIreYsLoXPA;

1.31
date	2018.08.12.18.01.22;	author jmcneill;	state Exp;
branches;
next	1.30;
commitid	CY6Mvan1NbE2hRNA;

1.30
date	2018.08.12.16.49.25;	author jmcneill;	state Exp;
branches;
next	1.29;
commitid	2cgRHh8mckamSQNA;

1.29
date	2018.07.15.18.00.14;	author jmcneill;	state Exp;
branches;
next	1.28;
commitid	Ms6L6VXp5sbsagKA;

1.28
date	2018.07.15.16.09.05;	author jmcneill;	state Exp;
branches;
next	1.27;
commitid	53gcfcSIcUTjyfKA;

1.27
date	2018.07.14.15.09.41;	author maxv;	state Exp;
branches;
next	1.26;
commitid	pS1Vmgc7z1Iwf7KA;

1.26
date	2018.07.09.09.13.50;	author jmcneill;	state Exp;
branches;
next	1.25;
commitid	fenUiob6PL6PrrJA;

1.25
date	2018.07.01.18.18.18;	author jmcneill;	state Exp;
branches;
next	1.24;
commitid	V1iDQxiV7C1yIsIA;

1.24
date	2018.07.01.15.33.29;	author skrll;	state Exp;
branches;
next	1.23;
commitid	GejikHE6RAcQNrIA;

1.23
date	2018.06.30.16.48.49;	author jmcneill;	state Exp;
branches;
next	1.22;
commitid	8dF5QXVERLHQfkIA;

1.22
date	2018.06.30.16.30.35;	author jmcneill;	state Exp;
branches;
next	1.21;
commitid	h7VSwO8FlLGy9kIA;

1.21
date	2018.06.30.16.22.56;	author jmcneill;	state Exp;
branches;
next	1.20;
commitid	ruX9AQ5f0zUF6kIA;

1.20
date	2018.06.30.12.42.42;	author jmcneill;	state Exp;
branches;
next	1.19;
commitid	SIFL8aFTuQCpTiIA;

1.19
date	2018.06.27.16.38.40;	author jmcneill;	state Exp;
branches
	1.19.2.1;
next	1.18;
commitid	Vjrffwf1mFlliWHA;

1.18
date	2018.06.16.14.41.25;	author jmcneill;	state Exp;
branches;
next	1.17;
commitid	cWXaitxK5m920wGA;

1.17
date	2018.06.16.00.19.04;	author jmcneill;	state Exp;
branches;
next	1.16;
commitid	ooYqrPc5v9S5erGA;

1.16
date	2018.06.14.10.56.39;	author jmcneill;	state Exp;
branches;
next	1.15;
commitid	Va0UTFGfPhvwOeGA;

1.15
date	2018.05.10.00.05.22;	author jmcneill;	state Exp;
branches;
next	1.14;
commitid	V6lMlFcJOM2flGBA;

1.14
date	2018.05.10.00.02.10;	author jmcneill;	state Exp;
branches;
next	1.13;
commitid	Xdr75V5XhAY8kGBA;

1.13
date	2018.05.06.10.36.06;	author jmcneill;	state Exp;
branches;
next	1.12;
commitid	aN9bCxMuPgwAXdBA;

1.12
date	2018.05.05.09.55.38;	author jmcneill;	state Exp;
branches;
next	1.11;
commitid	pJuU9VbBkqlHL5BA;

1.11
date	2018.05.04.21.09.55;	author jmcneill;	state Exp;
branches;
next	1.10;
commitid	rAin5kVOjZ9Pw1BA;

1.10
date	2018.05.03.01.17.04;	author jmcneill;	state Exp;
branches;
next	1.9;
commitid	TYrrTnc7hfCMXMAA;

1.9
date	2018.05.02.21.20.58;	author jmcneill;	state Exp;
branches;
next	1.8;
commitid	41Iobf9HUbjNELAA;

1.8
date	2018.05.02.11.02.42;	author jmcneill;	state Exp;
branches;
next	1.7;
commitid	g4V4EmCimWVGeIAA;

1.7
date	2018.05.02.10.09.15;	author jmcneill;	state Exp;
branches;
next	1.6;
commitid	nRBY8CoBHOWlWHAA;

1.6
date	2018.05.02.00.02.15;	author jmcneill;	state Exp;
branches;
next	1.5;
commitid	EPgkc4F5JMa7AEAA;

1.5
date	2018.05.01.20.06.13;	author jmcneill;	state Exp;
branches;
next	1.4;
commitid	fwz4PX8nUmE8hDAA;

1.4
date	2018.04.28.20.35.05;	author jmcneill;	state Exp;
branches;
next	1.3;
commitid	60qqdZcw3Ey1xfAA;

1.3
date	2018.04.28.20.30.50;	author jmcneill;	state Exp;
branches;
next	1.2;
commitid	5BKESGVKlYWyvfAA;

1.2
date	2018.04.28.18.42.20;	author jmcneill;	state Exp;
branches;
next	1.1;
commitid	COTat6m9gM8lUeAA;

1.1
date	2018.04.01.04.35.04;	author ryo;	state Exp;
branches
	1.1.2.1;
next	;
commitid	Rbo0y8tEIcKr5HwA;

1.226.2.1
date	2025.08.08.14.19.54;	author martin;	state Exp;
branches;
next	1.226.2.2;
commitid	d9Nzyzx4FbybZV5G;

1.226.2.2
date	2026.05.07.13.46.47;	author martin;	state Exp;
branches;
next	;
commitid	KO0ntTVhqDQK3TEG;

1.216.2.1
date	2024.07.01.01.01.13;	author perseant;	state Exp;
branches;
next	1.216.2.2;
commitid	NkoYLLCQWWw9v4gF;

1.216.2.2
date	2025.08.02.05.55.33;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.206.2.1
date	2022.12.26.11.20.59;	author martin;	state Exp;
branches;
next	1.206.2.2;
commitid	kOs7MXURUtr1J37E;

1.206.2.2
date	2023.10.08.13.19.33;	author martin;	state Exp;
branches;
next	1.206.2.3;
commitid	nNcwz6IqmDAIbPHE;

1.206.2.3
date	2023.10.14.06.43.06;	author martin;	state Exp;
branches;
next	1.206.2.4;
commitid	tcq22IiSzKIKNyIE;

1.206.2.4
date	2024.06.17.17.55.34;	author martin;	state Exp;
branches;
next	1.206.2.5;
commitid	H4n5TpFu9kadAmeF;

1.206.2.5
date	2024.10.09.13.25.12;	author martin;	state Exp;
branches;
next	1.206.2.6;
commitid	tFVNF0IZFD0fqZsF;

1.206.2.6
date	2025.08.08.14.21.39;	author martin;	state Exp;
branches;
next	1.206.2.7;
commitid	GBowz1yxCkPMZV5G;

1.206.2.7
date	2026.05.07.13.55.44;	author martin;	state Exp;
branches;
next	;
commitid	csxbehcY0npP6TEG;

1.177.4.1
date	2021.08.01.22.42.07;	author thorpej;	state Exp;
branches;
next	;
commitid	NihqK3haIgTUWj3D;

1.165.2.1
date	2020.12.14.14.37.51;	author thorpej;	state Exp;
branches;
next	1.165.2.2;
commitid	S4HwP6n7zzL3FIzC;

1.165.2.2
date	2021.01.03.16.34.53;	author thorpej;	state Exp;
branches;
next	1.165.2.3;
commitid	hSJGvbJZNH5wFiCC;

1.165.2.3
date	2021.04.03.22.28.22;	author thorpej;	state Exp;
branches;
next	;
commitid	1gqS07EfPjskJTNC;

1.149.2.1
date	2020.04.20.11.28.54;	author bouyer;	state Exp;
branches;
next	;
commitid	4WLfIgNPymVsg75C;

1.130.2.1
date	2020.01.17.21.47.25;	author ad;	state Exp;
branches;
next	1.130.2.2;
commitid	T9pwLWote7xbI5TB;

1.130.2.2
date	2020.01.25.22.38.39;	author ad;	state Exp;
branches;
next	1.130.2.3;
commitid	ethRERRmx7bMJ7UB;

1.130.2.3
date	2020.02.29.20.18.22;	author ad;	state Exp;
branches;
next	;
commitid	3HPOJ2wqM6gUPBYB;

1.103.2.1
date	2019.09.23.07.04.40;	author martin;	state Exp;
branches;
next	1.103.2.2;
commitid	qiHYLzK2Ob7Dy6EB;

1.103.2.2
date	2019.10.03.17.14.47;	author martin;	state Exp;
branches;
next	1.103.2.3;
commitid	DlUCB37A5061CrFB;

1.103.2.3
date	2019.11.16.16.48.25;	author martin;	state Exp;
branches;
next	1.103.2.4;
commitid	Y2IhGDRNnw3h36LB;

1.103.2.4
date	2019.11.18.19.33.10;	author martin;	state Exp;
branches;
next	1.103.2.5;
commitid	7ZQKgED54pvOTmLB;

1.103.2.5
date	2019.11.18.19.36.03;	author martin;	state Exp;
branches;
next	1.103.2.6;
commitid	pAwJ5lMhfc3OUmLB;

1.103.2.6
date	2019.11.20.16.49.58;	author martin;	state Exp;
branches;
next	1.103.2.7;
commitid	DIYApatS7fcQVBLB;

1.103.2.7
date	2020.01.21.10.39.58;	author martin;	state Exp;
branches;
next	1.103.2.8;
commitid	OMO1MJHdXErlTxTB;

1.103.2.8
date	2020.01.27.07.06.02;	author martin;	state Exp;
branches;
next	1.103.2.9;
commitid	IpAHbm7AY0h0wiUB;

1.103.2.9
date	2020.04.02.19.20.07;	author martin;	state Exp;
branches;
next	1.103.2.10;
commitid	ISxLyjEGER3jsQ2C;

1.103.2.10
date	2020.05.18.18.12.25;	author martin;	state Exp;
branches;
next	1.103.2.11;
commitid	EGmd1DV3bIIoBK8C;

1.103.2.11
date	2020.05.18.18.45.40;	author martin;	state Exp;
branches;
next	1.103.2.12;
commitid	pgiHRc35tytOMK8C;

1.103.2.12
date	2020.05.18.18.54.30;	author martin;	state Exp;
branches;
next	1.103.2.13;
commitid	lR3WPBt8ULqQPK8C;

1.103.2.13
date	2020.07.07.10.29.06;	author martin;	state Exp;
branches;
next	;
commitid	Ga1ZbzTMoHzNq8fC;

1.19.2.1
date	2019.06.10.22.06.04;	author christos;	state Exp;
branches;
next	1.19.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.19.2.2
date	2020.04.13.08.03.42;	author martin;	state Exp;
branches;
next	1.19.2.3;
commitid	X01YhRUPVUDaec4C;

1.19.2.3
date	2020.04.21.18.42.05;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.1.2.1
date	2018.04.01.04.35.04;	author pgoyette;	state dead;
branches;
next	1.1.2.2;
commitid	ZMkKSYuBapz7LsxA;

1.1.2.2
date	2018.04.07.04.12.12;	author pgoyette;	state Exp;
branches;
next	1.1.2.3;
commitid	ZMkKSYuBapz7LsxA;

1.1.2.3
date	2018.05.02.07.20.04;	author pgoyette;	state Exp;
branches;
next	1.1.2.4;
commitid	o3kRuNRzl9360HAA;

1.1.2.4
date	2018.05.21.04.36.00;	author pgoyette;	state Exp;
branches;
next	1.1.2.5;
commitid	X5L8kSrBWQcDt7DA;

1.1.2.5
date	2018.06.25.07.25.40;	author pgoyette;	state Exp;
branches;
next	1.1.2.6;
commitid	8PtAu9af7VvhiDHA;

1.1.2.6
date	2018.07.28.04.37.31;	author pgoyette;	state Exp;
branches;
next	1.1.2.7;
commitid	1UP1xAIUxv1ZgRLA;

1.1.2.7
date	2018.09.06.06.55.30;	author pgoyette;	state Exp;
branches;
next	1.1.2.8;
commitid	HCi1bXD317XIK0RA;

1.1.2.8
date	2018.09.30.01.45.40;	author pgoyette;	state Exp;
branches;
next	1.1.2.9;
commitid	SQ44grEPCeKPh4UA;

1.1.2.9
date	2018.10.20.06.58.27;	author pgoyette;	state Exp;
branches;
next	1.1.2.10;
commitid	mTSoqZEZ4arHnFWA;

1.1.2.10
date	2018.11.26.01.52.21;	author pgoyette;	state Exp;
branches;
next	1.1.2.11;
commitid	Zj4q5SspGdKXto1B;

1.1.2.11
date	2018.12.26.14.01.35;	author pgoyette;	state Exp;
branches;
next	1.1.2.12;
commitid	xUhK8IAeBM1azj5B;

1.1.2.12
date	2019.01.18.08.50.16;	author pgoyette;	state Exp;
branches;
next	1.1.2.13;
commitid	Lmlzg3OVT2cd6f8B;

1.1.2.13
date	2019.01.26.22.00.02;	author pgoyette;	state Exp;
branches;
next	;
commitid	JKpcmvSjdT25dl9B;


desc
@@


1.233
log
@aarch64: add pmap_test_mod_ref support

Currently fails for non-ARMV81_HAFDBS kernels
@
text
@#
#	$NetBSD: GENERIC64,v 1.232 2026/04/16 07:12:59 skrll Exp $
#
#	GENERIC ARM (aarch64) kernel
#

include	"arch/evbarm/conf/std.generic64"
include "arch/evbarm/conf/files.generic64"
include	"arch/evbarm/conf/GENERIC.common"

maxusers	64

options 	CPU_CORTEX
options 	CPU_THUNDERX
options 	SOC_APPLE
options 	SOC_BCM2837
options 	SOC_MESONG12
options 	SOC_MESONGXBB
options 	SOC_MESONGXL
options 	SOC_RK3328
options 	SOC_RK3399
options 	SOC_RK3588
options 	SOC_SUN50I_A64
options 	SOC_SUN50I_H5
options 	SOC_SUN50I_H6
options 	SOC_TEGRA210
options 	MULTIPROCESSOR

pseudo-device 	openfirm	# /dev/openfirm

#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	LOCKDEBUG
#options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
#options 	PMAP_DEBUG

# Heartbeat checks
options 	HEARTBEAT
options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15

# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
#options 	EARLYCONS=bcm2837, CONSADDR=0x3f215040
#options 	EARLYCONS=bcm2711, CONSADDR=0xfe215040
#options 	EARLYCONS=meson, CONSADDR=0xc81004c0
#options 	EARLYCONS=rk3328, CONSADDR=0xff130000
#options 	EARLYCONS=rk3399, CONSADDR=0xff1a0000
#options 	EARLYCONS=rk3588, CONSADDR=0xfeb50000
#options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
#options 	EARLYCONS=tegra, CONSADDR=0x70006000
#options 	EARLYCONS=thunderx, CONSADDR=0x87e024000000

# The QEMU virt machine
#options 	EARLYCONS=plcom, CONSADDR=0x09000000
# Ampere Altra/Altra Max
#options 	EARLYCONS=plcom, CONSADDR=0x100002600000

# Hardware management of the Access flag and dirty state (HAFDBS).
options 	ARMV81_HAFDBS

# Privileged Access Never (PAN).
options 	ARMV81_PAN

# Pointer Authentication (PAC).
#makeoptions 	ARMV83_PAC=1
#options 	ARMV83_PAC

# Branch Target Identification (BTI).
#makeoptions 	ARMV85_BTI=1
#options 	ARMV85_BTI

# Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL
# if you want panics instead of warnings.
#options 	KUBSAN			# mandatory
#options 	UBSAN_ALWAYS_FATAL	# optional

# Kernel Address Sanitizer (kASan). The quarantine is optional and can
# help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics
# instead of warnings.
#makeoptions 	KASAN=1		# mandatory
#options 	KASAN		# mandatory
#options 	POOL_QUARANTINE	# optional
#options 	KASAN_PANIC	# optional

# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	ACPIVERBOSE	# verbose ACPI configuration messages
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
#options 	SCSIVERBOSE	# human readable SCSI error messages
#options 	USBVERBOSE	# verbose USB device autoconfig messages

makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

config		netbsd		root on ? type ?

#options 	COMPAT_NETBSD32	# already defined in GENERIC.common (there
options 	EXEC_ELF32	# for a.out, but here we need it for elf32)

#options 	COMPAT_LINUX	# binary compatibility with Linux
#options 	COMPAT_LINUX32	# binary compatibility with Linux 32-bit
#options 	COMPAT_50	# COMPAT_LINUX depends on
#options 	COMPAT_OSSAUDIO # binary compatibility with Linux

# EFI runtime support
options 	EFI_RUNTIME
pseudo-device	efi		# /dev/efi

# Device tree support
armfdt0 	at root
simplebus*	at fdt? pass 0

# ACPI support
acpifdt*	at fdt? pass 1
acpi*		at acpifdt?
acpiacad*	at acpi?
acpibat*	at acpi?
acpibut*	at acpi?
acpicppc*	at acpi?
acpipcd*	at acpi?
acpipcc*	at acpi?
acpifan*	at acpi?
acpiged*	at acpi?
acpilid*	at acpi?
acpitz* 	at acpi?
acpivmgenid*	at acpi?

# CPUs
cpus*		at fdt? pass 0
cpu*		at fdt? pass 0
cpu*		at acpi?

vmt0		at cpu0			# VMware Tools

# Performance monitors
armpmu* 	at fdt?
pseudo-device	tprof
pseudo-device	lockstat		# lock profiling

# CPU frequency scaling
cpufreqdt*	at cpu?

# Power State Coordination Interface (PSCI)
psci*		at fdt? pass 0

fclock* 	at fdt? pass 1
ffclock*	at fdt? pass 1
fregulator*	at fdt? pass 4
gregulator*	at fdt? pass 4
pregulator*	at fdt? pass 4
gpiokeys*	at fdt?
wskbd*		at gpiokeys? console ? mux 1
gpioleds*	at fdt?

# System Controller
syscon* 	at fdt? pass 1		# Generic System Controller
sunxisramc*	at fdt? pass 1		# Allwinner System Control
qcomipcc*	at acpi?		# Qualcomm IPCC
qcompas*	at acpi?		# Qualcomm ADSP PAS
qcompep*	at acpi?		# Qualcomm PEP / AOSS
qcomscm*	at acpi?		# Qualcomm Secure Channel Manager
qcomsmem*	at acpi?		# Qualcomm Shared Memory
qcomsmptp*	at acpi?		# Qualcomm Shared Memory P2P
qcomspmi*	at acpi?		# Qualcomm SPMI

# Timer
gtmr*		at fdt? pass 2		# ARM Generic Timer
gtmr*		at acpi?
armgtmr0	at gtmr?
tegratimer*	at fdt?			# Timers

# Watchdog
applewdog*	at fdt?			# Apple watchdog
bcmpmwdog*	at fdt?			# Broadcom BCM283x watchdog
dwcwdt* 	at fdt?			# DesignWare watchdog
dwcwdt*		at acpi?
mesongxwdt*	at fdt?			# Amlogic Meson GX watchdog
sbsawdt*	at acpi?		# ARM SBSA-compliant watchdog
sunxiwdt*	at fdt?			# Allwinner watchdog

# Interrupt controller
appleintc*	at fdt? pass 1		# Apple AIC
bcmicu* 	at fdt? pass 1		# Broadcom BCM283x ICU
tegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
gic*		at fdt? pass 1		# ARM GICv2
gic*		at acpi?
armgic0 	at gic?
gicvthree*	at fdt? pass 1		# ARM GICv3
gicvthree*	at acpi?
imx7gpc*	at fdt? pass 2		# IMX GPCv2
sunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC

# IOMMU
appledart*	at fdt? pass 3		# Apple DART

# Memory controller
tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC

# Firmware devices
applesmc*	at fdt? pass 3		# Apple RTKIT based SMC
bcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
bcmmbox*	at acpi?
vcmbox* 	at bcmmbox?
qemufwcfg*	at fdt?			# QEMU Firmware Configuration device
qemufwcfg*	at acpi?

# DMA controller
bcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
sun6idma*	at fdt?	pass 4		# Allwinner DMA controller (sun6i)
tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA

# FUSE controller
sunxisid*	at fdt? pass 4		# Allwinner SID
tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE

# Power management controller
tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC

# Mailbox controller
applembox*	at fdt? pass 2		# Apple Mailbox

# Clock and Reset controller
bcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
bcmaux* 	at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
g12aoclkc*	at fdt? pass 2		# Amlogic Meson G12 AO clock controller
g12clkc*	at fdt? pass 2		# Amlogic Meson G12 EE clock controller
gxbbaoclkc*	at fdt? pass 2		# Amlogic Meson GXBB AO clock controller
gxbbclkc*	at fdt? pass 2		# Amlogic Meson GXBB/GXL EE clock controller
imx8mqccm*	at fdt? pass 2		# NXP iMX8MQ CCM
mesonresets*	at fdt? pass 2		# Amlogic Meson misc. clock resets
rkcru*		at fdt? pass 2		# Rockchip RK3328 CRU
sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
sun50ia64rccu*	at fdt? pass 2		# Allwinner A64 CCU (PRCM)
sun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
sun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
sunxide2ccu*	at fdt? pass 3		# Allwinner DE2 clock controller
sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
sunxigates*	at fdt? pass 1		# Allwinner misc. gates
sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)

# GPIO controller
applepinctrl*	at fdt?			# Apple GPIO
bcmgpio*	at fdt? pass 3		# Broadcom BCM283x GPIO
imxgpio*	at fdt? pass 3		# IMX GPIO
mesonpinctrl*	at fdt? pass 2		# Amlogic Meson GPIO
plgpio* 	at fdt?			# ARM PrimeCell PL061 GPIO
plgpio* 	at acpi?
qcomgpio*	at acpi?		# Qualcomm GPIO
rkgpio* 	at rkiomux?		# Rockchip GPIO
sunxigpio*	at fdt? pass 3		# Allwinner GPIO
tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
gpio*		at gpiobus?

# PWM controller
mesonpwm*	at fdt? pass 3		# Amlogic PWM
rkpwm*		at fdt? pass 3		# Rockchip PWM
sunxipwm*	at fdt? pass 3		# Allwinner PWM

# MPIO / Pinmux
imxiomux*	at fdt? pass 2		# IMX IOMUX
rkiomux*	at fdt?	pass 3		# Rockchip IOMUX
tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO

# XUSB PADCTL
tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
tegra210xphy*	at tegra210xpad?

# PCIE
applepcie*	at fdt?			# Apple PCIe
pcihost*	at fdt?			# Generic PCI host controller
acpipchb*	at acpi?		# ACPI PCIe host bridge
rkpcie* 	at fdt?			# Rockchip AXI PCIE
rkpciephy*	at fdt? pass 9		# Rockchip AXI PCIE PHY
tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
pci*		at pcibus?
ppb*		at pci? dev ? function ?
pci*		at ppb?

# Ethernet
awge*		at fdt?				# DesignWare Gigabit Ethernet
emac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
enet*		at fdt?				# IMX FEC
eqos*		at acpi?			# DesignWare Ethernet QoS
eqos*		at fdt?
genet*		at acpi?			# Broadcom GENET v5
genet*		at fdt?
#scx*		at acpi?			# Socionext Gigabit Ethernet
#scx*		at fdt?
aq*		at pci? dev ? function ?	# Aquantia AQC 10 gigabit
bge*		at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
ena*		at pci? dev ? function ?	# Amazon.com Elastic Network Adapter
igc*		at pci? dev ? function ?	# Intel 22x 2.5 gigabit
ixg* 		at pci? dev ? function ?	# Intel 8259x 10 gigabit
ixl* 		at pci? dev ? function ?	# Intel Ethernet 700 series
ixv* 		at pci? dev ? function ?	# Intel 8259x 10G virtual function
mcx*		at pci? dev ? function ?	# Mellanox 5th generation Ethernet
mskc*		at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
msk*		at mskc?
re*		at pci? dev ? function ?	# Realtek RTL8111GS
rge*		at pci? dev ? function ?	# Realtek 8125
vmx*		at pci? dev ? function ?	# VMware VMXNET3
wm*		at pci? dev ? function ?	# Intel Gigabit Ethernet

# MII/PHY support
atphy*		at mii? phy ?		# Attansic/Atheros PHYs
brgphy* 	at mii? phy ?		# Broadcom BCM5400-family PHYs
exphy* 		at mii? phy ?		# 3Com internal PHYs
gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
gxlphy* 	at mii? phy ?		# Amlogic Meson GX internal PHY
icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS189x
igphy*		at mii? phy ?		# Intel IGP01E1000
ihphy*		at mii? phy ?		# Intel 82577 PHYs
ikphy*		at mii? phy ?		# Intel 82563 PHYs
inphy*		at mii? phy ?		# Intel 82555 PHYs
iophy*		at mii? phy ?		# Intel 82553 PHYs
lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
mcommphy*	at mii? phy ?		# Motorcomm YT8511C/YT8511H PHYs
micphy* 	at mii? phy ?		# Micrel KSZ[89]xxx PHYs
nsphy*		at mii? phy ?		# NS83840 PHYs
nsphyter*	at mii? phy ? 		# NS83843 PHYs
pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
rdcphy* 	at mii? phy ?		# RDC R6040 10/100 PHY
rgephy* 	at mii? phy ?		# Realtek 8169S/8110S internal PHYs
rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
smscphy*	at mii? phy ?		# SMSC LAN87xx PHYs
sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
tlphy*		at mii? phy ?		# ThunderLAN PHYs
tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
urlphy* 	at mii? phy ?		# Realtek RTL8150L internal PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

# Mini-PCIe Wireless
#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11

# UART
com*		at fdt?	pass 4			# UART
com*		at acpi?
exuart*		at fdt? pass 4			# SSCOM UART
imxuart*	at fdt? pass 4			# IMX UART
options 	IMXUARTCONSOLE
mesonuart*	at fdt? pass 4			# Amlogic Meson UART
plcom*		at fdt?	pass 4			# ARM PL011 UART
plcom*		at acpi?
puc*		at pci? dev ? function ?	# PCI "universal" comm. cards
com*		at puc? port ?

# I2C controllers
options 	I2C_MAX_ADDR=0xfff
appleiic*	at fdt?			# Apple I2C
bsciic* 	at fdt?			# Broadcom BCM283x Serial Control
bsciic* 	at acpi?
dwiic*		at fdt?			# Designware I2C
dwiic*		at acpi?
imxi2c* 	at fdt? pass 4		# IMX I2C
mesoniic* 	at fdt?			# Amlogic Meson I2C
nxpiic* 	at acpi?		# NXP Layerscape I2C
qcomiic*	at acpi?		# Qualcomm I2C
rkiic*		at fdt? pass 4		# Rockchip I2C
sunxirsb*	at fdt?	pass 4		# Allwinner RSB
sunxitwi*	at fdt?			# Allwinner TWI
tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
#sniiic*	at fdt?			# Socionext SC2A11 I2C
#sniiic*	at acpi?
iicmux* 	at fdt? pass 5		# I2C mux virtual controllers
iic*		at i2cbus?

# I2C devices
titemp* 	at iic?
seeprom*	at iic?
spdmem* 	at iic?			# memory module SPD EEPROM decoder
as3722pmic*	at iic?
as3722reg*	at as3722pmic?
axppmic*	at iic?			# X-Powers AXP Power Management IC
axpreg* 	at axppmic?
cwfg*		at iic?			# CellWise CW2015 Fuel Gauge IC
dsrtc*		at iic?			# Dallas Semiconductor RTCs
es8316ac*	at iic?			# Everest Semi ES8316 Audio CODEC
fan53555reg*	at iic?			# FAN53555 / SY82x regulator
#fusbtc* 	at iic?			# USB-C power controller
max77620pmic*	at iic?
pcaiicmux*	at iic?			# PCA954x / PCA984x I2C switch / mux
pcf8563rtc*	at iic?			# PCF8563 RTC
rkpmic* 	at iic?			# Rockchip Power Management IC
rkreg*		at rkpmic?
tcagpio*	at iic?

# I2C HID devices
ihidev*		at iic?
ims*		at ihidev? reportid ?
wsmouse*	at ims? mux 0
ikbd*		at ihidev? reportid ?
wskbd*		at ikbd? mux 1

# Power Domain controllers
applepmgr* 	at fdt? pass 0

# Random number generators and security devices
amdccp* 	at fdt?			# AMD Cryptographic Coprocessor RNG
amdccp* 	at acpi?
bcmrng* 	at fdt?			# Broadcom BCM283x RNG
mesonrng*	at fdt?			# Amlogic Meson RNG
rkv1crypto* 	at fdt?			# Rockchip Crypto v1
sun8icrypto* 	at fdt?			# Allwinner Crypto Engine
tpm*		at acpi?		# Trusted Platform Module

# RTC
plrtc*		at fdt?			# ARM PrimeCell RTC
sunxirtc*	at fdt? pass 4		# Allwinner RTC
tegrartc*	at fdt?			# NVIDIA Tegra RTC

# SDMMC
bcmsdhost*	at fdt?			# Broadcom BCM283x SD Host Interface
dwcmmc*		at acpi?		# DesignWare SD/MMC
dwcmmc* 	at fdt?
mesongxmmc*	at fdt?			# Amlogic Meson GX eMMC/SD/SDIO controller
mmcpwrseq*	at fdt? pass 5		# Simple MMC power sequence provider
rkemmcphy*	at fdt?			# Rockchip eMMC PHY
sdhc*		at fdt?			# SD Host Controller Interface
sdhc*		at acpi?
sunximmc*	at fdt?			# Allwinner SD/MMC
#sniemmc*	at fdt?			# Socionext SC2A11 eMMC
#sniemmc*	at acpi?
sdmmc*		at sdmmcbus?
ld0		at sdmmc0
ld1		at sdmmc1
ld2		at sdmmc2
ld3		at sdmmc3
ld*		at sdmmc?
bwfm*		at sdmmc?		# Broadcom BCM43xxx WiFi Interface

# SATA
ahcisata*	at fdt?			# AHCI SATA
ahcisata*	at acpi?
ahcisata*	at pci? dev ? function ?
siisata*	at pci? dev ? function ?
atabus* 	at ata?
atapibus*	at atapi?
wd*		at atabus? drive ?
cd*		at atapibus? drive ?

# NVMe
nvme*		at fdt?			# Apple M1
nvme*		at pci? dev ? function ?
ld*		at nvme? nsid ?

# SPI controllers
bcmspi* 	at fdt?			# Broadcom BCM283x SPI
rkspi*		at fdt?			# Rockchip SPI
sun6ispi*	at fdt?			# Allwinner SPI
spi*		at spibus?
m25p*		at spi?
spiflash*	at spiflashbus?

# Broadcom VCHIQ, etc
vchiq*		at fdt?
vchiq*		at acpi?
vcaudio0 	at vchiq?

# Audio support
hdaudio*	at fdt?			# Intel HDA
hdaudio*	at pci? dev ? function ?
auich*		at pci? dev ? function ?	# Intel AC'97 Audio (QEMU)
eap*		at pci? dev ? function ?	# Ensoniq AudioPCI (QEMU)
hdafg*		at hdaudiobus?
options 	HDAUDIOVERBOSE
ausoc*		at fdt?			# Simple SoC audio card
simpleamp*	at fdt?			# Simple amplifier
spdiftx*	at fdt?			# SPDIF transmitter
rki2s*		at fdt?			# Rockchip I2S/PCM
sunxicodec*	at fdt?			# Allwinner audio codec
sun8icodec*	at fdt?			# Allwinner audio codec (sun8i/sun50i)
h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
a64acodec*	at fdt?			# Allwinner A64 audio codec (analog part)
sunxii2s*	at fdt?			# Allwinner I2S/PCM
audio*		at audiobus?

spkr*		at audio?		# PC speaker (synthesized)

# HDMI CEC
tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
hdmicec*	at hdmicecbus?

# Display
anxdp*		at fdt?			# Analogix-based (e)DP
anxedp* 	at iic?			# Analogix eDP TX
bochsfb*	at pci? dev ? function ?	# Bochs framebuffer (QEMU)
dispcon*	at fdt?			# Display connector devices
panel*		at fdt?			# Display panels
dwhdmi* 	at fdt?			# Designware HDMI TX
rkdrm*		at fdt? pass 5		# Rockchip DRM master
rkfb*		at rkdrm?		# Rockchip DRM framebuffer
rkvop*		at fdt?			# Rockchip Visual Output Processor
sunxide2bus*	at fdt? pass 4		# Allwinner DE2 bus
sunxidrm*	at fdt?	pass 5		# Allwinner Display Pipeline
sunxifb*	at sunxidrm?		# Allwinner DRM framebuffer
sunxihdmiphy*	at fdt? pass 9		# Allwinner HDMI TX PHY
sunxilcdc*	at fdt?			# Allwinner DE2 timing controller
sunximixer*	at fdt?			# Allwinner DE2 mixer
#tegradrm*	at fdt?			# NVIDIA Tegra Display
#tegrafb*	at tegrafbbus?
genfb*		at fdt?			# Simple Framebuffer
wsdisplay*	at wsemuldisplaydev?
options 	VCONS_DRAW_INTR
options 	WSEMUL_VT100
options 	WSDISPLAY_CUSTOM_OUTPUT
options 	WS_DEFAULT_FG=WSCOL_WHITE
options 	WS_DEFAULT_BG=WSCOL_BLACK
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_BLACK
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_COMPAT_RAWKBD
options 	WSDISPLAY_DEFAULTSCREENS=4
options 	WSDISPLAY_MULTICONS
options 	WSDISPLAY_SCROLLSUPPORT
pseudo-device	wsmux
pseudo-device	wsfont
options 	FONT_BOLD8x16
options 	FONT_BOLD16x32

# GPU
#nouveau*	at fdt?			# NVIDIA GPU
#nouveau*	at pci? dev ? function ?
#nouveaufb*	at nouveaufbbus?
radeon* 	at pci? dev ? function ? # AMD Radeon
radeondrmkmsfb*	at radeonfbbus?

# Backlight
pwmbacklight*	at fdt?			# PWM Backlight controls

# Fan
pwmfan* 	at fdt?			# PWM Fan controls

# Thermal throttling controller
mesonthermal*	at fdt?			# Amlogic thermal sensor controller
sunxithermal*	at fdt?			# Allwinner thermal sensor controller
tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
rktsadc*	at fdt?			# RockChip TSASC

# USB
imx8mqusbphy*	at fdt? pass 9		# IMX USB PHY
mesonusbctrl*	at fdt?			# Amlogic Meson USB-Glue (dwc2 and dwc3)
mesonusbphy*	at fdt? pass 9		# Amlogic Meson USB2 PHY
mesong12u2phy*	at fdt? pass 9		# Amlogic Meson G12 USB2 PHY
mesong12u3pphy*	at fdt? pass 9		# Amlogic Meson G12 USB3/PCIe PHY
mesongxlu2phy*	at fdt? pass 9		# Amlogic Meson GXL USB2 PHY
mesongxlu3phy*	at fdt? pass 9		# Amlogic Meson GXL USB3 PHY
rkusb*		at fdt? pass 9		# Rockchip USB PHY
rkusbphy*	at rkusb?
#rktypec* 	at fdt?			# Rockchip USB-C PHY
#rktcphy* 	at rktypec?
sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
sunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
dwctwo* 	at fdt?			# Designware USB DRD
ehci*		at fdt?			# EHCI
ehci*		at pci?			# EHCI
ehci*		at acpi?		# EHCI
motg*		at fdt?			# Mentor Graphics USB OTG
ohci*		at fdt?			# OHCI
ohci*		at pci?			# OHCI
ohci*		at acpi?		# OHCI
xhci*		at fdt?			# XHCI
xhci*		at pci?			# XHCI
xhci*		at acpi?		# XHCI
usb*		at usbus?

include "dev/usb/usbdevices.config"
midi*		at midibus?
pseudo-device	sequencer			# MIDI sequencer

# Virtio devices
virtio* 	at fdt?			# Virtio MMIO device
virtio* 	at acpi?
virtio* 	at pci? dev ? function ?

include "dev/virtio/virtio.config"
no viomb* 	at virtio?		# XXX ?

# VMWare devices
pvscsi* 	at pci? dev ? function?	# PV SCSI device

# SCSI controllers
mpt*		at pci? dev ? function ?

# SCSI bus support
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?	# SCSI disk drives

# Pull in optional local configuration - always at end
cinclude	"arch/evbarm/conf/GENERIC64.local"
@


1.232
log
@Add micphy for Micrel KSZ[89]xxx PHY support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.231 2026/03/02 14:05:49 skrll Exp $
d38 1
@


1.231
log
@Default INCLUDE_CONFIG_FILE to on for GENERIC{,64,_V5}
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.230 2026/01/31 12:12:58 nia Exp $
d327 1
@


1.230
log
@Import Jiaxun Yang's bochsfb(4) driver.

This is useful for getting graphics on qemu-system-aarch64 without
firmware runtime video support (e.g. using the -kernel option). At the
moment it is only wired up for -device VGA and -device secondary-vga
so that it doesn't conflict with viogpu.

PR kern/59410
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.229 2025/10/09 06:15:17 skrll Exp $
a34 1
options 	INCLUDE_CONFIG_FILE
@


1.229
log
@Add the beginnings of a GENERIC_V5 kernel that targets armv5 boards and
uses FDT.

In this first iteration some support is added for OLinuXino boards.

Thanks to Yuri Honegger for doing the vast majority of the work.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.228 2025/08/05 15:44:10 skrll Exp $
d497 1
@


1.228
log
@Add Amlogic Meson I2C.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.227 2025/08/04 20:03:12 skrll Exp $
d142 1
@


1.227
log
@Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.

Tested on ESXi/Arm such that an installation from ISO succeeds and boots.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.226 2025/07/04 06:42:01 andvar Exp $
d365 1
@


1.226
log
@s/Cryptograhic/Cryptographic/ in comment.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.225 2025/06/03 19:31:46 rjs Exp $
d589 3
@


1.226.2.1
log
@Pull up following revision(s) (requested by skrll in ticket #6):

	sys/arch/evbarm/conf/GENERIC64: revision 1.227
	sys/dev/pci/files.pci: revision 1.451
	sys/dev/pci/pvscsi.c: revision 1.1
	sys/dev/pci/pvscsi.c: revision 1.2
	sys/dev/pci/pvscsi.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.617

Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.

Tested on ESXi/Arm such that an installation from ISO succeeds and boots.

Add the barrier that a comment describes.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.226 2025/07/04 06:42:01 andvar Exp $
a588 3
# VMWare devices
pvscsi* 	at pci? dev ? function?	# PV SCSI device

@


1.226.2.2
log
@Pull up following revision(s) (requested by nia in ticket #260):

	sys/arch/evbarm/conf/GENERIC64: revision 1.232
	sys/dev/mii/micphy.c: revision 1.16
	sys/dev/mii/micphy.c: revision 1.17

Add micphy for Micrel KSZ[89]xxx PHY support
micphy: Apply errata workaround for KSZ9031

This fixes ethernet on an olimex a64 board.
Thanks jmcneill for pointing out the problem.

PR port-arm/60193: olimex a64 - no carrier with emac0 ethernet
micphy: Fill out mii_mpd_model in the sc struct.

The rest of the code expects this to be filled in and the driver
seems stable with this change (at least on my machine).
"ship it!" jmcneill@@
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.226.2.1 2025/08/08 14:19:54 martin Exp $
a326 1
micphy* 	at mii? phy ?		# Micrel KSZ[89]xxx PHYs
@


1.225
log
@Add disabled entries for USB-C on RK3399.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.224 2025/03/27 12:23:19 riastradh Exp $
d407 1
a407 1
amdccp* 	at fdt?			# AMD Cryptograhic Coprocessor RNG
@


1.224
log
@evbarm/GENERIC64: Enable vio9p(4).

Tested under qemu.

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.223 2025/03/27 12:22:43 riastradh Exp $
d388 1
d559 2
@


1.223
log
@virtio(4): Consolidate kernel configs.

No functional change intended.

Leave `# XXX ?' comments where I don't know why the driver in
question is excluded.  (Typical reason is that PAGE_SIZE is not 4096
but I didn't investigate -- if you do investigate, please either
update the comment if you determine a reason, or enable the driver if
you don't.)

PR kern/59211: vio9p(4): missing from various GENERICs and MAKEDEVs
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.222 2024/12/30 12:31:09 jmcneill Exp $
a583 1
no vio9p* 	at virtio?		# XXX ?
@


1.222
log
@arm64: Add support for Snapdragon X1E battery and charger sensors.

This is a port of a set of drivers from OpenBSD, adapted to use ACPI
instead of FDT bindings. These drivers are required to boot firmware on
the application DSP which is required to read sensors. This is an impressive
collection of work on the OpenBSD side -- big thank you to Patrick for writing
this code and his help with this porting effort.

Firmware is signed and as a result may be board specific. The qcompas(4)
driver looks for firmware files in qcompas/<subsystem> where <subsystem> is
the string returned by the _SUB method on the ADSP device node. For example,
on Lenovo ThinkPad T14s Gen 6 the subsystem ID is "233817AA".

The files "qcadsp8380.mbn" and "adsp_dtbs.elf" must be placed in
this directory to read sensor data. These files can be obtained by
downloading the appropriate OEM drivers for Windows.

When everything is online, the sensors are reported by sysmon_envsys and
the charger creates a sysmon_pswitch of type PSWITCH_TYPE_ACADAPTER. The
goal is to match the acpiacad(4) and acpibat(4) behaviour as much as possible.

XXX Firmware loading sometimes fails, still looking into this. When this
    happens, sensors are not registered.

[battery]
    design voltage:     0.000                                         V
           voltage:    12.980                                         V
        design cap:    58.000                                        Wh
     last full cap:    59.810                                        Wh
            charge:    59.740                      2.000%   8.998%   Wh (99.88%)
       charge rate:       N/A
    discharge rate:       N/A
          charging:     FALSE
      charge state:    NORMAL
  discharge cycles:         4        0        0        0        0 none
       temperature:    30.230                                      degC
[charger]
         connected:      TRUE
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.221 2024/12/09 22:17:31 jmcneill Exp $
d582 4
a585 6
#viomb*		at virtio?		# Virtio memory balloon device
ld*		at virtio?		# Virtio disk device
viocon*		at virtio?		# Virtio serial device
vioif*		at virtio?		# Virtio network device
viornd* 	at virtio?		# Virtio entropy device
vioscsi*	at virtio?		# Virtio SCSI device
@


1.221
log
@enable ikbd(4)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.220 2024/12/08 20:52:32 jmcneill Exp $
d161 7
@


1.220
log
@arm64: Add qcomiic, qcomgpio, ihidev, ims
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.219 2024/08/27 00:56:16 riastradh Exp $
d392 2
@


1.219
log
@amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.

PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.218 2024/07/16 12:01:19 riastradh Exp $
d247 2
a250 1
rkgpio* 	at rkiomux?		# Rockchip GPIO
d359 1
d388 5
@


1.218
log
@viocon(4): Add to various kernel configs.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.217 2024/06/30 09:39:05 jmcneill Exp $
d130 1
@


1.217
log
@Add example EARLYCONS entry for Ampere Altra/Altra Max
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.216 2024/05/17 10:25:43 nia Exp $
d567 1
@


1.216
log
@Add some "simpler" PCI audio devices to aarch64's GENERIC64

These serve as alternatives to hdaudio.  Tested in QEMU.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.215 2024/05/09 12:09:59 pho Exp $
d57 2
@


1.216.2.1
log
@Sync with HEAD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.217 2024/06/30 09:39:05 jmcneill Exp $
a56 2
# Ampere Altra/Altra Max
#options 	EARLYCONS=plcom, CONSADDR=0x100002600000
@


1.216.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.226 2025/07/04 06:42:01 andvar Exp $
a129 1
acpivmgenid*	at acpi?
a159 7
qcomipcc*	at acpi?		# Qualcomm IPCC
qcompas*	at acpi?		# Qualcomm ADSP PAS
qcompep*	at acpi?		# Qualcomm PEP / AOSS
qcomscm*	at acpi?		# Qualcomm Secure Channel Manager
qcomsmem*	at acpi?		# Qualcomm Shared Memory
qcomsmptp*	at acpi?		# Qualcomm Shared Memory P2P
qcomspmi*	at acpi?		# Qualcomm SPMI
a245 2
qcomgpio*	at acpi?		# Qualcomm GPIO
rkgpio* 	at rkiomux?		# Rockchip GPIO
d248 1
a356 1
qcomiic*	at acpi?		# Qualcomm I2C
a377 1
#fusbtc* 	at iic?			# USB-C power controller
a384 7
# I2C HID devices
ihidev*		at iic?
ims*		at ihidev? reportid ?
wsmouse*	at ims? mux 0
ikbd*		at ihidev? reportid ?
wskbd*		at ikbd? mux 1

d389 1
a389 1
amdccp* 	at fdt?			# AMD Cryptographic Coprocessor RNG
a540 2
#rktypec* 	at fdt?			# Rockchip USB-C PHY
#rktcphy* 	at rktypec?
d565 5
a569 3

include "dev/virtio/virtio.config"
no viomb* 	at virtio?		# XXX ?
@


1.215
log
@port-arm/58194: Resurrect vmt(4) from bitrot

On this architecture vmt(4) used to search for a node "/hypervisor" in the
FDT and probed the VMware hypervisor call only when the node was
found. However, things appear to have changed and VMware no longer provides
the FDT node.

Since vmt(4) doesn't actually need to read anything from FDT, and the
hypervisor call logically resides in virtual CPUs themselves, it would be
better to attach it directly to cpu, just like how it's probed on x86.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.214 2023/10/11 07:49:29 rin Exp $
d451 2
@


1.214
log
@aarch64/GENERIC64: Add ixl(4)

Works just fine for little-endian on LX2K with UEFI firmware.

Not tested for big-endian yet; attach fails on ROCKPro64 due to
host controller problem.

OK yamaguchi@@
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.213 2023/10/04 07:48:55 rin Exp $
d134 1
a134 1
vmt*		at fdt?			# VMware Tools
@


1.213
log
@igc(4): Added to kernel config files for tested platforms

I.e., aarch64, amd64, and evbppc/DHT, at the moment.

Please feel free to add to other config files, and report us back
if you find problems :)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.212 2023/07/15 22:30:19 riastradh Exp $
d289 1
@


1.212
log
@evbarm: Enable HEARTBEAT option in GENERIC and GENERIC64 kernels.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.211 2023/04/16 16:55:01 jmcneill Exp $
d287 1
@


1.211
log
@DesignWare watchdog ACPI attach glue
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.210 2023/02/25 08:19:35 skrll Exp $
d40 4
@


1.210
log
@Restore the ability to have EARLYCONS work for the QEMU virt after
SOC_VIRT got removed.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.209 2023/02/11 07:01:32 mrg Exp $
d165 1
@


1.209
log
@add siisata(4).  been running for ages on a rockpro64.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.208 2023/02/09 14:09:48 abs Exp $
d50 3
a52 1
#options 	EARLYCONS=virt, CONSADDR=0x09000000
@


1.208
log
@Adjust _all_ cinclude of *.local files

- Ensure always at end
- Use tab rather than spaces
- Add consistent comment
  "Pull in optional local configuration - always at end"

The only functional change is that a local file which tried to
override an existing setting (eg with "no foo") would have failed
in some cases before, but now will work
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.207 2022/12/24 15:46:50 nia Exp $
d415 1
@


1.207
log
@PR port-arm/57044 allow vcaudio on RPI 4 to attach when booting with EFI
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206 2022/10/29 13:59:57 jmcneill Exp $
d564 2
a565 1
cinclude "arch/evbarm/conf/GENERIC64.local"
@


1.206
log
@No need for SOC_VIRT, the default arm platform will take care of things.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.205 2022/08/23 05:40:46 ryo Exp $
d434 3
a436 2
vchiq0		at fdt?
vcaudio0 	at vchiq0
@


1.206.2.1
log
@Pull up following revision(s) (requested by nia in ticket #23):

	sys/arch/evbarm/conf/GENERIC64: revision 1.207

PR port-arm/57044 allow vcaudio on RPI 4 to attach when booting with EFI
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206 2022/10/29 13:59:57 jmcneill Exp $
d434 2
a435 3
vchiq*		at fdt?
vchiq*		at acpi?
vcaudio0 	at vchiq?
@


1.206.2.2
log
@Pull up following revision(s) (requested by rin in ticket #393):

	sys/dev/pci/igc/if_igc.c                        up to 1.3
	sys/dev/pci/igc/if_igc.h                        up to 1.2
	sys/dev/pci/igc/igc_api.c                       up to 1.2
	sys/dev/pci/igc/igc_api.h                       up to 1.2
	sys/dev/pci/igc/igc_base.c                      up to 1.2
	sys/dev/pci/igc/igc_base.h                      up to 1.2
	sys/dev/pci/igc/igc_defines.h                   up to 1.2
	sys/dev/pci/igc/igc_evcnt.h                     up to 1.1
	sys/dev/pci/igc/igc_hw.h                        up to 1.2
	sys/dev/pci/igc/igc_i225.c                      up to 1.2
	sys/dev/pci/igc/igc_i225.h                      up to 1.2
	sys/dev/pci/igc/igc_mac.c                       up to 1.2
	sys/dev/pci/igc/igc_mac.h                       up to 1.2
	sys/dev/pci/igc/igc_nvm.c                       up to 1.2
	sys/dev/pci/igc/igc_nvm.h                       up to 1.2
	sys/dev/pci/igc/igc_phy.c                       up to 1.2
	sys/dev/pci/igc/igc_phy.h                       up to 1.2
	sys/dev/pci/igc/igc_regs.h                      up to 1.2
	distrib/sets/lists/man/mi: revision 1.1766
	sys/arch/amd64/conf/GENERIC: revision 1.606
	sys/arch/evbppc/conf/DHT: revision 1.5
	sys/arch/evbarm/conf/GENERIC64: revision 1.213
	share/man/man4/Makefile: revision 1.733
	sys/arch/amd64/conf/ALL: revision 1.181
	share/man/man4/igc.4: revision 1.1
	sys/dev/pci/files.pci: revision 1.447
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.200
	doc/CHANGES (apply patch)

Add igc(4) for Intel I225/I226 series ethernet devices
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206.2.1 2022/12/26 11:20:59 martin Exp $
a279 1
igc*		at pci? dev ? function ?	# Intel 22x 2.5 gigabit
@


1.206.2.3
log
@Pull up following revision(s) (requested by yamaguchi in ticket #409):

	sys/dev/pci/if_ixl.c: revision 1.90
	sys/dev/pci/if_ixl.c: revision 1.91
	sys/dev/pci/if_ixl.c: revision 1.92
	sys/dev/pci/if_ixl.c: revision 1.93
	sys/arch/evbarm/conf/GENERIC64: revision 1.214

ixl(4): skip getting link status if the last command is running

ixl(4): use cv_broadcast to wakeup ioctl and workqueue context.
Commands may be issued at the same time from the both context.

ixl(4): update link status in workqueue

ixl(4): Print device info on attach
Without PCIVERBOSE option:
ixl0 at pci1 dev 0 function 0: vendor 8086 product 1572 (rev. 0x01)
With PCIVERBOSE option:
ixl0 at pci1 dev 0 function 0: Intel XL710 SFP+ Ethernet (SFI) (rev. 0x01)
OK yamaguchi@@

aarch64/GENERIC64: Add ixl(4)
Works just fine for little-endian on LX2K with UEFI firmware.
Not tested for big-endian yet; attach fails on ROCKPro64 due to
host controller problem.
OK yamaguchi@@
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206.2.2 2023/10/08 13:19:33 martin Exp $
a281 1
ixl* 		at pci? dev ? function ?	# Intel Ethernet 700 series
@


1.206.2.4
log
@Pull up following revision(s) (requested by nia in ticket #698):

	sys/arch/evbarm/conf/GENERIC64: revision 1.216

Add some "simpler" PCI audio devices to aarch64's GENERIC64

These serve as alternatives to hdaudio.  Tested in QEMU.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206.2.3 2023/10/14 06:43:06 martin Exp $
a442 2
auich*		at pci? dev ? function ?	# Intel AC'97 Audio (QEMU)
eap*		at pci? dev ? function ?	# Ensoniq AudioPCI (QEMU)
@


1.206.2.5
log
@Pull up following revision(s) (requested by riastradh in ticket #939):

	distrib/sets/lists/debug/module.md.amd64: revision 1.18
	sys/modules/Makefile: revision 1.292
	lib/libc/gen/arc4random.c: revision 1.34
	lib/libc/gen/arc4random.c: revision 1.35
	lib/libc/gen/arc4random.c: revision 1.36
	lib/libc/gen/arc4random.c: revision 1.37
	sys/kern/kern_entropy.c: revision 1.70
	lib/libc/gen/arc4random.c: revision 1.38
	sys/kern/kern_entropy.c: revision 1.71
	lib/libc/gen/getentropy.3: revision 1.8
	distrib/sets/lists/modules/md.amd64: revision 1.103
	share/man/man4/rnd.4: revision 1.42
	share/man/man4/rnd.4: revision 1.44
	lib/libc/include/arc4random.h: revision 1.1
	distrib/sets/lists/man/mi: revision 1.1786
	sys/arch/i386/conf/GENERIC: revision 1.1258
	sys/modules/acpivmgenid/acpivmgenid.ioconf: revision 1.1
	sys/arch/amd64/conf/ALL: revision 1.190
	distrib/sets/lists/debug/mi: revision 1.446
	sys/arch/i386/conf/ALL: revision 1.521
	lib/libc/gen/Makefile.inc: revision 1.219
	distrib/sets/lists/debug/module.md.i386: revision 1.12
	sys/dev/acpi/acpi_vmgenid.c: revision 1.1
	sys/dev/acpi/acpi_vmgenid.c: revision 1.2
	lib/libc/include/reentrant.h: revision 1.22
	sys/arch/evbarm/conf/GENERIC64: revision 1.219
	share/man/man4/Makefile: revision 1.735
	distrib/sets/lists/modules/md.i386: revision 1.100
	distrib/sets/lists/tests/mi: revision 1.1334
	lib/libc/gen/arc4random.3: revision 1.22
	sys/dev/acpi/files.acpi: revision 1.133
	lib/libc/gen/arc4random.3: revision 1.23
	tests/lib/libc/gen/t_arc4random.c: revision 1.1
	sys/sys/entropy.h: revision 1.6
	sys/arch/amd64/conf/GENERIC: revision 1.614
	sys/modules/acpivmgenid/Makefile: revision 1.1
	share/man/man4/acpivmgenid.4: revision 1.1
	lib/libc/gen/Makefile.inc: revision 1.220
	tests/lib/libc/gen/Makefile: revision 1.56
	share/man/man4/acpivmgenid.4: revision 1.2
	share/man/man4/acpivmgenid.4: revision 1.3

	(all via patch)

Catch up with all the lint warnings since exit on warning was disabled.

Disable 'missing header declaration' and 'nested extern' warnings for now.
acpivmgenid(4): New driver for virtual machine generation ID.

Added to amd64/ALL and i386/ALL kernel configurations, and made
available as a loadable module acpivmgenid.kmod on x86, for now.
TBD: Add to all ACPI-supporting GENERIC kernels.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Factor out subroutines to reset and gather entropy.
`Reset' means we keep the data in the pool, but assume it had zero
entropy.  `Gather' means we request samples from all on-demand
sources and wait for the synchronous ones to complete.

No functional change intended, other than to expose new symbols --
just preparation to expose these to acpivmgenid(4), so it can use
these when the VM host notifies us that we, the guest, have been
cloned.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Reset and gather entropy on VM clone notification.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Reseed if system entropy epoch changes.
This can happen, for example, if the system is a VM instance, and the
VM is cloned.

This incurs the cost of a system call on every arc4random call, which
is unfortunate, but
1. we don't currently have a (machine-independent) mechanism for
   exposing a read-only page to userland shared by the kernel to
   enable a cheaper access path to the entropy epoch; and
2. the algorithm here -- a simple application of ChaCha -- is likely
   also a bottleneck and could be much cheaper by
   (a) using sys/crypto/chacha for machine-dependent vectorized
       ChaCha code, and
   (b) filling a buffer (somewhere between a cipher block and a page)
       in a batch at a time, instead of running ChaCha to generate
       only 32 bytes at a time.
So although this might be a performance hit, the security benefit is
worthwhile and we have a clear path to do better than reversing the
performance hit later.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

acpivmgenid(4): Nix BUGS that have been squashed.
Reference kern.entropy.epoch for the remaining bug (which is a
performance issue, not a security issue).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

entropy(9): Allow unprivileged reads of sysctl kern.entropy.epoch.

Applications need this in order to know when to reseed.  (We should
also expose it through a page shared read-only with userland for
cheaper access, but until we do, let's let applications get at it
through sysctl.)
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random.c: Fix test program.

This isn't wired up anywhere, but let's reduce the bitrot.  It was
helpful in reminding me that kern.entropy.epoch was, for reasons I
can't remember, restricted to privileged access.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

amd64, evbarm, i386: Add acpivmgenid(4) to GENERIC.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

rnd(4): Document kern.entropy.epoch is unprivileged and elaborate.
Cross-reference acpivmgenid(4).
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Note that arc4random respects kern.entropy.epoch.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork
Add debug info for new acpivmgenid module

arc4random(3): Add automatic tests.

This verifies that:
- arc4random zeroes its state and reseeds itself on fork
- arc4random reseeds itself on entropy consolidation (e.g., VM clone)
- arc4random falls back to global state if it can't allocate local
  state because address space limits cause mmap to fail

NOTE: This adds a new libc symbol __arc4random_global, but it's in
the reserved namespace and only used by t_arc4random, so no libc
minor bump.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

getentropy(3): Note intent to reseed on VM clone, and caveats.

Tidy markup and pacify some mandoc -Tlint complaints while here.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

Bump dates on man pages recently updated to mention VM clones.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random(3): Pacify some of lint's complaints.
PR kern/58632: getentropy(2) and arc4random(3) do not reseed on VM
fork

arc4random: suppress another lint warning
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206.2.4 2024/06/17 17:55:34 martin Exp $
a121 1
acpivmgenid*	at acpi?
@


1.206.2.6
log
@Pull up following revision(s) (requested by skrll in ticket #1148):

	sys/arch/evbarm/conf/GENERIC64: revision 1.227
	sys/dev/pci/files.pci: revision 1.451
	sys/dev/pci/pvscsi.c: revision 1.1
	sys/dev/pci/pvscsi.c: revision 1.2
	sys/dev/pci/pvscsi.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.617

Add a port of the FreeBSD driver for the VMware PV SCSI controller found
in VMware's ESXi product.

Tested on ESXi/Arm such that an installation from ISO succeeds and boots.

Add the barrier that a comment describes.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206.2.5 2024/10/09 13:25:12 martin Exp $
a561 3
# VMWare devices
pvscsi* 	at pci? dev ? function?	# PV SCSI device

@


1.206.2.7
log
@Pull up following revision(s) (requested by nia in ticket #1257):

	sys/arch/evbarm/conf/GENERIC64: revision 1.232
	sys/dev/mii/micphy.c: revision 1.16
	sys/dev/mii/micphy.c: revision 1.17

Add micphy for Micrel KSZ[89]xxx PHY support
micphy: Apply errata workaround for KSZ9031

This fixes ethernet on an olimex a64 board.
Thanks jmcneill for pointing out the problem.

PR port-arm/60193: olimex a64 - no carrier with emac0 ethernet
micphy: Fill out mii_mpd_model in the sc struct.

The rest of the code expects this to be filled in and the driver
seems stable with this change (at least on my machine).
"ship it!" jmcneill@@
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.206.2.6 2025/08/08 14:21:39 martin Exp $
a309 1
micphy* 	at mii? phy ?		# Micrel KSZ[89]xxx PHYs
@


1.205
log
@add eqos(4) for RK3588
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.204 2022/08/23 05:39:06 ryo Exp $
a26 1
options 	SOC_VIRT
@


1.204
log
@Add initial support for RK3588 SoC (CRU and IOMUX)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.203 2022/08/20 15:12:27 martin Exp $
d273 1
@


1.203
log
@config cosmetics (avoid a warning from config(1):
no need to repeat COMPAT_NETBSD32, we get that from GENERIC.common
already (where it is used for aout support, but here it means elf32
support). Add a comment explaining what goes on.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.202 2022/08/13 16:55:10 jmcneill Exp $
d22 1
d47 1
@


1.202
log
@aarch64: Add tpm driver to GENERIC64 kernel.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.201 2022/05/10 08:09:57 skrll Exp $
d92 2
a93 2
options 	COMPAT_NETBSD32
options 	EXEC_ELF32
@


1.201
log
@Add a driver for the Apple RTKit based System Management Controller
found on M1 SoCs.  From OpenBSD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.200 2022/05/10 08:05:32 skrll Exp $
d375 1
a375 1
# Random number generators
d380 1
d382 1
a382 1
rkv1crypto* 	at fdt?			# Rockchip Crypto v1
@


1.200
log
@Add a driver for the Apple M1 I2C controller.  From OpenBSD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.199 2022/05/07 08:20:04 skrll Exp $
d185 1
@


1.199
log
@Add support for Apple silicon NVME.  Ported from OpenBSD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.198 2022/04/27 08:06:20 skrll Exp $
d336 1
@


1.198
log
@Add support for the mailbox that provides a communications channel with
additional cores integrated in Apple Silicon.

Also, add an implementation for the protocol to communicate with
coprocessors running firmware based Apple's RTKit OS.

From OpenBSD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.197 2022/04/27 07:59:18 skrll Exp $
d416 1
@


1.197
log
@Add a driver for the Apple GPIO controller found in Apple silicon.

Derived from the OpenBSD driver.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.196 2022/04/27 07:55:42 skrll Exp $
d203 3
@


1.196
log
@Add support for the power domain controller found in Apple silicon
machines.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.195 2022/03/21 09:20:04 jmcneill Exp $
d226 1
@


1.195
log
@hdaudio: Obsolete HDAUDIO_ENABLE_DISPLAYPORT and HDAUDIO_ENABLE_HDMI

Enable display port and HDMI devices by default rather than making this
a compile time option.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.194 2022/01/31 09:16:09 ryo Exp $
d366 3
@


1.194
log
@add support Hardware updates to Access flag and Dirty state (FEAT_HAFDBS)

- The DBM bit of the PTE is now used to determine if it is writable, and
  the AF bit is treated entirely as a reference bit. A valid PTE is always
  treated as readable. There can be no valid PTE that is not readable.
- LX_BLKPAG_OS_{READ,WRITE} are used only for debugging purposes,
  and has been superseded by LX_BLKPAG_AF and LX_BLKPAG_DBM.
- Improve comment

The need for reference/modify emulation has been eliminated,
and access/permission faults have been reduced, however,
there has been little change in overall performance.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.193 2022/01/28 16:38:56 jakllsch Exp $
a428 2
options 	HDAUDIO_ENABLE_HDMI
options 	HDAUDIO_ENABLE_DISPLAYPORT
@


1.193
log
@drop WSDISPLAY_CUSTOM_BORDER, it's currently only used by vga(4) which isn't used on evbarm
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.192 2022/01/27 14:39:49 jakllsch Exp $
d51 3
@


1.192
log
@enable WSDISPLAY_CUSTOM_BORDER and WSDISPLAY_CUSTOM_OUTPUT to match i386 GENERIC
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.191 2022/01/09 15:05:16 jmcneill Exp $
a470 1
options 	WSDISPLAY_CUSTOM_BORDER
@


1.191
log
@dwcmmc: Add ACPI attach support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.190 2022/01/03 17:19:41 jmcneill Exp $
d466 1
d471 1
@


1.190
log
@Add driver for DesignWare Ethernet Quality-of-Service controller.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.189 2021/12/24 00:24:49 jmcneill Exp $
d378 2
a379 1
dwcmmc* 	at fdt?			# Designware SD/MMC
@


1.189
log
@Add ohci at acpi bindings. No known PNP IDs for this, so match using _CLS
and the PCI class/subclass/interface codes. Maybe this will take off.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.188 2021/11/27 19:55:20 ryo Exp $
d262 1
d296 1
@


1.188
log
@add options COMPAT_LINUX32 (commented out)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.187 2021/10/10 13:03:09 jmcneill Exp $
d518 1
@


1.187
log
@efi: Add /dev/efi character device

Introduce a /dev/efi character device that provides a means for accessing
UEFI RT variable services from userland. Compatible with the FreeBSD ioctl
interface for ease of porting their libefivar and associated tools.

The ioctl interface is defined in sys/efiio.h.

To enable support for this on an arch, the kernel needs `pseudo-device efi`
and the MD EFI implementation needs to register its backend by calling
efi_ops_register(). This commit includes an implementation for Arm.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.186 2021/09/23 06:56:27 ryo Exp $
d93 1
@


1.186
log
@add support COMPAT_LINUX for aarch64
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.185 2021/09/13 23:31:23 jmcneill Exp $
d98 1
@


1.185
log
@Add support for Apple M1 debug UART.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.184 2021/09/07 10:09:34 msaitoh Exp $
d92 4
@


1.184
log
@space+tab
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.183 2021/08/30 23:26:26 jmcneill Exp $
d310 1
@


1.183
log
@Add initial support for Apple M1.

Currently supported devices:
 - Interrupt controller
 - IOMMU
 - PCIe (USB3 and ethernet)
 - Reboot via watchdog
 - Framebuffer console
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.182 2021/08/26 17:08:34 thorpej Exp $
d96 1
a96 1
armfdt0		at root
d111 1
a111 1
acpitz*		at acpi?
d121 1
a121 1
armpmu*		at fdt?
d130 1
a130 1
fclock*		at fdt? pass 1
d140 1
a140 1
syscon*		at fdt? pass 1		# Generic System Controller
d159 1
a159 1
bcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
d163 1
a163 1
armgic0		at gic?
d178 1
a178 1
vcmbox*		at bcmmbox?
d196 1
a196 1
bcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
d220 2
a221 2
plgpio*		at fdt?			# ARM PrimeCell PL061 GPIO
plgpio*		at acpi?
d224 1
a224 1
rkgpio*		at rkiomux?		# Rockchip GPIO
d245 1
a245 1
rkpcie*		at fdt?			# Rockchip AXI PCIE
d275 1
a275 1
brgphy*		at mii? phy ?		# Broadcom BCM5400-family PHYs
d280 2
a281 2
gxlphy*		at mii? phy ?		# Amlogic Meson GX internal PHY
icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
d287 2
a288 2
lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
d291 3
a293 3
pnaphy*		at mii? phy ?		# generic HomePNA PHYs
rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
d299 1
a299 1
urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
d320 2
a321 2
bsciic*		at fdt?			# Broadcom BCM283x Serial Control
bsciic*		at acpi?
d324 2
a325 2
imxi2c*		at fdt? pass 4		# IMX I2C
nxpiic*		at acpi?		# NXP Layerscape I2C
d332 1
a332 1
iicmux*		at fdt? pass 5		# I2C mux virtual controllers
d336 1
a336 1
titemp*		at iic?
d338 1
a338 1
spdmem*		at iic?			# memory module SPD EEPROM decoder
d342 1
a342 1
axpreg*		at axppmic?
d350 1
a350 1
rkpmic*		at iic?			# Rockchip Power Management IC
d355 3
a357 3
amdccp*		at fdt?			# AMD Cryptograhic Coprocessor RNG
amdccp*		at acpi?
bcmrng*		at fdt?			# Broadcom BCM283x RNG
d369 1
a369 1
dwcmmc*		at fdt?			# Designware SD/MMC
d390 1
a390 1
atabus*		at ata?
d400 1
a400 1
bcmspi*		at fdt?			# Broadcom BCM283x SPI
d408 1
a408 1
vchiq0 		at fdt?
d437 1
a437 1
anxedp*		at iic?			# Analogix eDP TX
d476 1
a476 1
radeon*		at pci? dev ? function ? # AMD Radeon
d483 1
a483 1
pwmfan*		at fdt?			# PWM Fan controls
d504 1
a504 1
dwctwo*		at fdt?			# Designware USB DRD
d521 3
a523 3
virtio*		at fdt?			# Virtio MMIO device
virtio*		at acpi?
virtio*		at pci? dev ? function ?
d527 1
a527 1
viornd*		at virtio?		# Virtio entropy device
@


1.182
log
@Add dsrtc* at iic?
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.181 2021/08/19 02:05:34 msaitoh Exp $
d15 1
d144 1
a144 1
gtmr*		at fdt? pass 1		# ARM Generic Timer
d150 1
d158 1
d169 3
d242 1
d261 1
@


1.181
log
@Indent.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.180 2021/08/18 09:18:09 msaitoh Exp $
d336 1
@


1.180
log
@ It's time to add ixg(4) and ixv(4).
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.179 2021/06/26 09:29:14 nia Exp $
d255 2
a256 2
ixg*	at pci? dev ? function ?	# Intel 8259x 10 gigabit
ixv*	at pci? dev ? function ?	# Intel 8259x 10G virtual function
@


1.179
log
@move pad to GENERIC.common
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.178 2021/06/26 09:05:24 nia Exp $
d255 2
@


1.178
log
@Add pad(4) to arm kernels
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.177 2021/03/01 18:12:58 jakllsch Exp $
a419 2
pseudo-device	pad			# Pseudo audio device

@


1.177
log
@enable rge(4) on x86 and evbarm64
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.176 2021/01/27 15:52:46 skrll Exp $
d420 2
@


1.177.4.1
log
@Sync with HEAD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.179 2021/06/26 09:29:14 nia Exp $
@


1.176
log
@Add verbose output options commented out.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.175 2021/01/24 18:02:51 jmcneill Exp $
d259 1
@


1.175
log
@Add support for NXP Layerscape I2C controllers.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.174 2021/01/21 17:46:28 nia Exp $
d37 1
d74 9
@


1.174
log
@add vcaudio (intentionally this time)

gives working audio output on rpi3 without needing to run a 32-bit image.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.173 2021/01/21 06:57:26 nia Exp $
d304 1
@


1.173
log
@remove accidental additions
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.172 2021/01/21 06:51:54 nia Exp $
d384 4
@


1.172
log
@add a commented out compat_ossaudio wherever there's compat_linux

requested by mrg
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.171 2021/01/10 19:20:16 jmcneill Exp $
a383 4
# BCM2835 VCHIQ, etc
vchiq0 		at fdt?
vcaudio0 	at vchiq0

@


1.171
log
@Disable nouveau for now. It can cause long pauses at boot and sometimes
fails to initialize the display at all.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.170 2021/01/01 07:21:58 ryo Exp $
d384 4
@


1.170
log
@Add support for Amlogic S922X(meson-g12b) SoCs
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.169 2020/12/29 01:48:22 thorpej Exp $
d447 2
a448 2
nouveau*	at pci? dev ? function ?
nouveaufb*	at nouveaufbbus?
@


1.169
log
@Add pcaiicmux.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.168 2020/12/23 04:09:32 thorpej Exp $
d16 1
d123 1
d181 2
d212 1
d459 1
d466 1
d468 2
@


1.168
log
@Add support for i2c-mux-gpio and i2c-mux-pinctrl I2C mux virtual
controllers.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.167 2020/12/13 20:40:38 jmcneill Exp $
d320 1
@


1.167
log
@SBBR says that the CPPC interface should be used on AArch64 instead of
P-states and T-states. Enable acpipcc and acpicppc, and disable acpicpu.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.166 2020/12/07 10:57:41 jmcneill Exp $
d305 1
@


1.166
log
@acpicpu: Add support for ACPI P-states and T-states on Arm.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.165 2020/10/28 07:36:17 rin Exp $
d93 1
d95 1
a95 1
acpicpu*	at acpi?
@


1.165
log
@Add smscphy(4) found on some RPI models.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.164 2020/10/27 08:57:10 ryo Exp $
d93 2
@


1.165.2.1
log
@Sync w/ HEAD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.167 2020/12/13 20:40:38 jmcneill Exp $
a92 3
acpicppc*	at acpi?
acpipcd*	at acpi?
acpipcc*	at acpi?
@


1.165.2.2
log
@Sync w/ HEAD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.165.2.1 2020/12/14 14:37:51 thorpej Exp $
a15 1
options 	SOC_MESONG12
a121 1
pregulator*	at fdt? pass 4
a178 2
g12aoclkc*	at fdt? pass 2		# Amlogic Meson G12 AO clock controller
g12clkc*	at fdt? pass 2		# Amlogic Meson G12 EE clock controller
a207 1
mesonpwm*	at fdt? pass 3		# Amlogic PWM
a304 1
iicmux*		at fdt? pass 5		# I2C mux virtual controllers
a318 1
pcaiicmux*	at iic?			# PCA954x / PCA984x I2C switch / mux
a451 1
mesonthermal*	at fdt?			# Amlogic thermal sensor controller
a457 1
mesonusbctrl*	at fdt?			# Amlogic Meson USB-Glue (dwc2 and dwc3)
a458 2
mesong12u2phy*	at fdt? pass 9		# Amlogic Meson G12 USB2 PHY
mesong12u3pphy*	at fdt? pass 9		# Amlogic Meson G12 USB3/PCIe PHY
@


1.165.2.3
log
@Sync with HEAD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.165.2.2 2021/01/03 16:34:53 thorpej Exp $
a36 1
#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
a72 9
# These options enable verbose messages for several subsystems.
# Warning, these may compile large string tables into the kernel!
#options 	ACPIVERBOSE	# verbose ACPI configuration messages
#options 	MIIVERBOSE	# verbose PHY autoconfig messages
#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
#options 	SCSIVERBOSE	# human readable SCSI error messages
#options 	USBVERBOSE	# verbose USB device autoconfig messages

a248 1
rge*		at pci? dev ? function ?	# Realtek 8125
a303 1
nxpiic*		at acpi?		# NXP Layerscape I2C
a383 4
# Broadcom VCHIQ, etc
vchiq0 		at fdt?
vcaudio0 	at vchiq0

d447 2
a448 2
#nouveau*	at pci? dev ? function ?
#nouveaufb*	at nouveaufbbus?
@


1.164
log
@move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.163 2020/10/15 04:39:24 ryo Exp $
d266 1
@


1.163
log
@add vmx(4) driver. tested on ESXi-Arm
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.162 2020/09/29 19:58:50 jmcneill Exp $
d103 2
@


1.162
log
@Collapse all CPU_CORTEXA<n> options into CPU_CORTEX and do runtime
detection instead of ifdefs where required.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.161 2020/08/02 06:58:16 maxv Exp $
d239 1
@


1.161
log
@Add support for Privileged Access Never (ARMv8.1-PAN).

PAN provides the same functionality as SMAP on x86: it forbids kernel
access to userland pages when PSTATE.PAN=1, and allows such accesses when
PSTATE.PAN=0.

We clear SCTLR_SPAN, to guarantee that PAN=1 each time the kernel is
entered. We catch PAN faults and panic right away without further
processing. In copyin, copyout, etc, we temporarily authorize access to
userland pages.

PAN is a very useful exploit mitigation. Reviewed by ryo@@, thanks. Tested
on Qemu. Enabled by default.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.160 2020/07/16 11:36:35 skrll Exp $
d13 1
a13 2
options 	CPU_CORTEXA53
options 	CPU_CORTEXA57
@


1.160
log
@pmapboot_enter simplication
- bootpage_alloc in asm becomes pmapboot_pagealloc in C
- PMAPBOOT_ENTER_NOBLOCK is removed as it's not used
- PMAPBOOT_ENTER_NOOVERWRITE is removed as it's now always on
- physpage_allocator argument is removed as it's always
  pmapboot_pagealloc
- Support for EARLYCONS without CONSADDR is removed so that the identity
  map for CONSADDR is always known.

For the assembly files:
 2 files changed, 40 insertions(+), 89 deletions(-)

LGTM ryo
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.159 2020/05/18 21:19:35 jmcneill Exp $
d49 3
@


1.159
log
@Separate devicetree .dts -> .dtb building from kernel builds. They are now
part of a separate set, "dtb.tgz", and only built when MKDTB=yes. This
defaults to yes for earmv[67]* and aarch64, and no everywhere else.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.158 2020/05/17 19:57:25 riastradh Exp $
d39 2
a40 2
#options 	EARLYCONS=bcm2837
#options 	EARLYCONS=bcm2711
d47 1
a47 1
#options 	EARLYCONS=virt
@


1.158
log
@Rockchip crypto engine RNG driver.

As found on the rk3288 and rk3399.  This driver only supports the
TRNG, not the rest of the crypto engine, although it uses the AES unit
to do a self-test at attach time to verify that the engine works.

There seem to be two versions of the Rockchip crypto engine, v1 and
v2; this one is for v1.  Can't name a driver `rkcryptov1' so we'll
clumsily call it `rkv1crypto' instead to leave room for `rkv2crypto'
later on.

The crypto binding derived from the Rockchip BSP Linux kernel, in the
location it appears on the rk3399, is in rk3399-crypto.dtsi, since
there doesn't seem to be a better place to put it at the moment among
this twisty maze of inclusions, all different.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.157 2020/05/13 11:41:35 jmcneill Exp $
a12 117
#
# FDT files supported by this kernel - add to DTSSUBDIR and DTS as
# appropriate
#
makeoptions 	DTSARCH="arm aarch64"
makeoptions	DTSGNUARCH="arm arm64"
makeoptions	DTSSUBDIR="allwinner amlogic broadcom freescale nvidia rockchip"
makeoptions	DTS="
	bcm2711-rpi-4-b.dts
	bcm2837-rpi-3-a-plus.dts
	bcm2837-rpi-3-b-plus.dts
	bcm2837-rpi-3-b.dts
	bcm2837-rpi-cm3-io3.dts

	imx8mq-evk.dts
	imx8mq-hummingboard-pulse.dts
	imx8mq-librem5-devkit.dts
	imx8mq-nitrogen.dts
	imx8mq-pico-pi.dts
	imx8mq-zii-ultra-rmb3.dts
	imx8mq-zii-ultra-zest.dts

	meson-gxbb-nanopi-k2.dts
	meson-gxbb-nexbox-a95x.dts
	meson-gxbb-odroidc2.dts
	meson-gxbb-p200.dts
	meson-gxbb-p201.dts
	meson-gxbb-vega-s95-meta.dts
	meson-gxbb-vega-s95-pro.dts
	meson-gxbb-vega-s95-telos.dts
	meson-gxbb-wetek-hub.dts
	meson-gxbb-wetek-play2.dts

	meson-gxl-s805x-libretech-ac.dts
	meson-gxl-s805x-p241.dts
	meson-gxl-s905d-p230.dts
	meson-gxl-s905d-p231.dts
	meson-gxl-s905d-phicomm-n1.dts
	meson-gxl-s905w-p281.dts
	meson-gxl-s905w-tx3-mini.dts
	meson-gxl-s905x-hwacom-amazetv.dts
	meson-gxl-s905x-khadas-vim.dts
	meson-gxl-s905x-libretech-cc.dts
	meson-gxl-s905x-nexbox-a95x.dts
	meson-gxl-s905x-p212.dts

	rk3328-a1.dts
	rk3328-evb.dts
	rk3328-roc-cc.dts
	rk3328-rock64.dts

	rk3399-evb.dts
	rk3399-ficus.dts
	rk3399-firefly.dts
	rk3399-gru-bob.dts
	rk3399-gru-kevin.dts
	rk3399-gru-scarlet-inx.dts
	rk3399-gru-scarlet-kd.dts
	rk3399-hugsun-x99.dts
	rk3399-khadas-edge-captain.dts
	rk3399-khadas-edge-v.dts
	rk3399-khadas-edge.dts
	rk3399-leez-p710.dts
	rk3399-nanopc-t4.dts
	rk3399-nanopi-m4.dts
	rk3399-nanopi-neo4.dts
	rk3399-orangepi.dts
	rk3399-pinebook-pro.dts
	rk3399-puma-haikou.dts
	rk3399-roc-pc-mezzanine.dts
	rk3399-roc-pc.dts
	rk3399-rock-pi-4.dts
	rk3399-rock960.dts
	rk3399-rockpro64.dts
	rk3399-sapphire-excavator.dts
	rk3399-sapphire.dts

	sun50i-a64-amarula-relic.dts
	sun50i-a64-bananapi-m64.dts
	sun50i-a64-nanopi-a64.dts
	sun50i-a64-oceanic-5205-5inmfd.dts
	sun50i-a64-olinuxino-emmc.dts
	sun50i-a64-olinuxino.dts
	sun50i-a64-orangepi-win.dts
	sun50i-a64-pine64-lts.dts
	sun50i-a64-pine64-plus.dts
	sun50i-a64-pine64.dts
	sun50i-a64-pinebook.dts
	sun50i-a64-sopine-baseboard.dts
	sun50i-a64-teres-i.dts

	sun50i-h5-bananapi-m2-plus-v1.2.dts
	sun50i-h5-bananapi-m2-plus.dts
	sun50i-h5-emlid-neutis-n5-devboard.dts
	sun50i-h5-libretech-all-h3-cc.dts
	sun50i-h5-nanopi-neo-plus2.dts
	sun50i-h5-nanopi-neo2.dts
	sun50i-h5-orangepi-pc2.dts
	sun50i-h5-orangepi-prime.dts
	sun50i-h5-orangepi-zero-plus.dts
	sun50i-h5-orangepi-zero-plus2.dts

	sun50i-h6-beelink-gs1.dts
	sun50i-h6-orangepi-3.dts
	sun50i-h6-orangepi-lite2.dts
	sun50i-h6-orangepi-one-plus.dts
	sun50i-h6-pine-h64.dts
	sun50i-h6-tanix-tx6.dts

	tegra210-p2371-0000.dts
	tegra210-p2371-2180.dts
	tegra210-p2571.dts
	tegra210-p2894-0050-a08.dts
	tegra210-p3450-0000.dts
	tegra210-smaug.dts
"

@


1.157
log
@Enable nouveaufb
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.156 2020/04/25 22:08:49 jmcneill Exp $
d438 1
@


1.156
log
@Add (commented out) nouveaufb
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.155 2020/04/25 22:08:04 jmcneill Exp $
d547 2
a548 2
#nouveau*	at pci? dev ? function ?
#nouveaufb*	at nouveaufbbus?
@


1.155
log
@Add acpiacad, acpibat, acpifan, acpitz
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.154 2020/04/18 11:00:38 skrll Exp $
d547 2
a548 1
#nouveau*	at pci?
@


1.154
log
@PMAP_DEBUG has been deleted on arm
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.153 2020/04/18 10:55:44 skrll Exp $
d205 2
d208 1
d211 1
@


1.153
log
@Trailing whitespace
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.152 2020/04/13 11:44:20 maxv Exp $
a149 1
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
d152 1
a152 1
#options 	UVMHIST
@


1.152
log
@Add KUBSAN.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.151 2020/04/13 05:40:26 maxv Exp $
d344 1
a344 1
#scx*		at fdt?	
@


1.151
log
@Add support for Branch Target Identification (BTI).

On the executable pages that have the GP (Guarded Page) bit, the semantic
of the "br" and "blr" instructions is changed: the CPU expects the first
instruction of the jump/call target to be "bti", and faults if it isn't.

We add the GP bit on the kernel .text pages (and incidentally the .rodata
pages, but we don't care). The compiler adds a "bti c" instruction at the
beginning of each C function. We modify the ENTRY() macros to manually add
"bti c" in the asm functions.

cpuswitch.S needs a specific change: with "br x27" the CPU expects "bti j",
which is bad because the functions begin with "bti c"; switch to "br x16",
for the CPU to accept "bti c".

BTI helps defend against JOP/COP. Tested on Qemu.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.150 2020/04/12 07:49:58 maxv Exp $
d175 5
@


1.150
log
@Add support for Pointer Authentication (PAC).

We use the "pac-ret" option, to sign the return instruction pointer on
function entry, and authenticate it on function exit. This acts as a
mitigation against ROP.

The authentication uses a per-lwp (secret) I-A key stored in the 128bit
APIAKey register and part of the lwp context. During lwp creation, the
kernel generates a random key, and during context switches, it installs
the key of the target lwp on the CPU.

Userland cannot read the APIAKey register directly. However, it can sign
its pointers with it, because the register is architecturally shared
between userland and the kernel. Although part of the CPU design, it is
a bit of an undesired behavior, because it allows to forge valid kernel
pointers from userland. To avoid that, we don't share the key with
userland, and rather switch it in EL0<->EL1 transitions. This means that
when userland executes, a different key is loaded in APIAKey than the one
the kernel uses. For now the userland key is a fixed 128bit zero value.

The DDB stack unwinder is changed to strip the authentication code from
the pointers in lr.

Two problems are known:

 * Currently the idlelwps' keys are not really secret. This is because
   the RNG is not yet available when we spawn these lwps. Not overly
   important, but would be nice to fix with UEFI RNG.
 * The key switching in EL0<->EL1 transitions is not the most optimized
   code on the planet. Instead of checking aarch64_pac_enabled, it would
   be better to hot-patch the code at boot time, but there currently is
   no hot-patch support on aarch64.

Tested on Qemu.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.149 2020/03/31 12:23:17 jmcneill Exp $
d171 4
@


1.149
log
@Add ACPI support.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.148 2020/03/28 08:35:36 isaki Exp $
d167 4
@


1.149.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.154 2020/04/18 11:00:38 skrll Exp $
d150 1
d153 1
a153 1
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
a166 13
# Pointer Authentication (PAC).
#makeoptions 	ARMV83_PAC=1
#options 	ARMV83_PAC

# Branch Target Identification (BTI).
#makeoptions 	ARMV85_BTI=1
#options 	ARMV85_BTI

# Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL
# if you want panics instead of warnings.
#options 	KUBSAN			# mandatory
#options 	UBSAN_ALWAYS_FATAL	# optional

d331 1
a331 1
#scx*		at fdt?
@


1.148
log
@Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k
(m68k uses 40msec default as before).  And remove the option from GENERIC.
- It's not good idea to set such parameter in individual GENERICs.
- 4msec is (probably no problem for most modern real hardware but)
  too aggressive to be default.
- 10msec is too severe for antique machines but it's hard to draw a line.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.147 2020/03/27 01:43:58 thorpej Exp $
d387 1
@


1.147
log
@Attach sunxirtc in pass4; it's required by mmcpwrseq on some boards.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.146 2020/03/18 10:56:38 jmcneill Exp $
a483 1
options 	AUDIO_BLK_MS=4
@


1.146
log
@Add radeon, radeondrmkmsfb
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.145 2020/03/18 04:02:20 nisimura Exp $
d424 1
a424 1
sunxirtc*	at fdt?			# Allwinner RTC
@


1.145
log
@sort Ethernet devices for ease to read
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.144 2020/03/18 03:26:14 nisimura Exp $
d532 2
@


1.144
log
@add SC2A11 sniemmc and sniiic devices
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.143 2020/03/18 02:21:24 nisimura Exp $
d328 4
a331 2
#scx*		at fdt?				# Socionext Gigabit Ethernet
#scx*		at acpi?
a333 2
genet*		at acpi?			# Broadcom GENET v5
genet*		at fdt?
@


1.143
log
@add ACPI attachment glue
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.142 2020/03/16 08:48:05 nisimura Exp $
d328 1
a328 1
#scx*		at fdt?				# SocioNext Gigabit Ethernet
d394 2
d436 2
@


1.142
log
@redo the commit correctly
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.141 2020/03/16 08:17:57 nisimura Exp $
d329 1
d527 1
@


1.141
log
@include files.sociox for generic64
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.140 2020/02/22 18:57:50 jmcneill Exp $
d328 1
a328 1
scx*		at fdt?				# SocioNext Gigabit Ethernet
d525 1
a525 1
nouveau*	at fdt?			# NVIDIA GPU
@


1.140
log
@Add brgphy
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.139 2020/02/22 02:28:06 jmcneill Exp $
d328 1
d525 1
a525 1
#nouveau*	at fdt?			# NVIDIA GPU
@


1.139
log
@Add ACPI glue for Broadcom GENETv5
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.138 2020/02/22 00:28:35 jmcneill Exp $
d340 1
@


1.138
log
@Add support for Broadcom GENET v5 ethernet controller as found on the
Raspberry Pi 4 (BCM2711).
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.137 2020/02/20 01:36:37 jmcneill Exp $
d330 2
a331 1
genet*		at fdt?				# Broadcom GENET v5
@


1.137
log
@Attach bcmgpio before devices that may need it
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.136 2020/02/06 01:37:46 mrg Exp $
d330 1
@


1.136
log
@add MIDI sequencer device.  now midiplay works on usb midi devices.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.135 2020/01/26 06:51:06 mrg Exp $
d291 1
a291 1
bcmgpio*	at fdt?			# Broadcom BCM283x GPIO
@


1.135
log
@enable bwfm at sdio.

known to now work on pinebook pro and banana pi m2 zero.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.134 2020/01/25 12:26:58 jmcneill Exp $
d558 1
@


1.134
log
@Follow amd64 and set AUDIO_BLK_MS=4 by default
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.133 2020/01/15 11:36:48 jmcneill Exp $
d435 1
@


1.133
log
@Add imxi2c
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.132 2020/01/15 01:09:57 jmcneill Exp $
d474 1
@


1.132
log
@Add support for NXP i.MX 8M Dual/8M QuadLite/8M Quad family SoCs.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.131 2020/01/12 21:52:36 riastradh Exp $
d384 1
@


1.131
log
@Enable sun8icrypto in GENERIC64.

But set its entropy estimate to zero until we have a better idea of
how it works.  Can't really hurt this way unless sun8icrypto is
maliciously dependent on all other inputs to the entropy pool, which
seems unlikely.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.130 2020/01/04 14:18:28 skrll Exp $
d19 1
a19 1
makeoptions	DTSSUBDIR="allwinner amlogic broadcom nvidia rockchip"
d27 8
d245 1
d275 1
d292 1
d306 1
d327 1
d337 1
d371 2
d532 1
@


1.130
log
@Add DTS files for new boards for the SOCs we support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.129 2020/01/04 14:14:35 skrll Exp $
d396 1
a396 1
#sun8icrypto* 	at fdt?			# Allwinner Crypto Engine
@


1.130.2.1
log
@Sync with head.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.133 2020/01/15 11:36:48 jmcneill Exp $
d19 1
a19 1
makeoptions	DTSSUBDIR="allwinner amlogic broadcom freescale nvidia rockchip"
a26 8
	imx8mq-evk.dts
	imx8mq-hummingboard-pulse.dts
	imx8mq-librem5-devkit.dts
	imx8mq-nitrogen.dts
	imx8mq-pico-pi.dts
	imx8mq-zii-ultra-rmb3.dts
	imx8mq-zii-ultra-zest.dts

a236 1
imx7gpc*	at fdt? pass 2		# IMX GPCv2
a265 1
imx8mqccm*	at fdt? pass 2		# NXP iMX8MQ CCM
a281 1
imxgpio*	at fdt? pass 3		# IMX GPIO
a294 1
imxiomux*	at fdt? pass 2		# IMX IOMUX
a314 1
enet*		at fdt?				# IMX FEC
a323 1
atphy*		at mii? phy ?		# Attansic/Atheros PHYs
a356 2
imxuart*	at fdt? pass 4			# IMX UART
options 	IMXUARTCONSOLE
a367 1
imxi2c*		at fdt? pass 4		# IMX I2C
d396 1
a396 1
sun8icrypto* 	at fdt?			# Allwinner Crypto Engine
a515 1
imx8mqusbphy*	at fdt? pass 9		# IMX USB PHY
@


1.130.2.2
log
@Sync with head.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.130.2.1 2020/01/17 21:47:25 ad Exp $
a473 1
options 	AUDIO_BLK_MS=4
@


1.130.2.3
log
@Sync with head.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.130.2.2 2020/01/25 22:38:39 ad Exp $
d291 1
a291 1
bcmgpio*	at fdt? pass 3		# Broadcom BCM283x GPIO
a329 2
genet*		at acpi?			# Broadcom GENET v5
genet*		at fdt?
a337 1
brgphy*		at mii? phy ?		# Broadcom BCM5400-family PHYs
a434 1
bwfm*		at sdmmc?		# Broadcom BCM43xxx WiFi Interface
a556 1
pseudo-device	sequencer			# MIDI sequencer
@


1.129
log
@Sort DTS
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.128 2020/01/04 12:21:55 jmcneill Exp $
d51 1
d63 5
d70 2
d74 1
d85 2
d107 2
d112 1
d118 1
d121 1
@


1.128
log
@Attach psci as early as possible. This allows other power controllers to
register their own poweroff / reset callbacks with a higher preference.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.127 2020/01/04 09:50:20 skrll Exp $
d23 1
a24 1
	bcm2837-rpi-3-b-plus.dts
@


1.127
log
@Add bcm2711-rpi-4-b.dts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.126 2020/01/03 18:00:20 jmcneill Exp $
d186 1
a186 1
psci*		at fdt?
@


1.126
log
@add cwfg
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.125 2020/01/02 23:01:54 ryo Exp $
d21 1
@


1.125
log
@add aq(4). tested on rockpro64.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.124 2020/01/02 22:07:21 jmcneill Exp $
d365 1
@


1.124
log
@add es8316, simpleamp
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.123 2020/01/01 11:18:13 jmcneill Exp $
d298 1
@


1.123
log
@Attach mmcpwrseq resource earlier
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.122 2020/01/01 11:17:45 jmcneill Exp $
d364 1
d429 1
@


1.122
log
@+ rk3399-pinebook-pro.dts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.121 2019/12/30 18:53:54 jmcneill Exp $
d387 1
a387 1
mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
@


1.121
log
@Add bcmmbox at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.120 2019/12/29 12:49:03 jmcneill Exp $
d63 1
@


1.120
log
@Add sdhc at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.119 2019/12/25 10:51:20 skrll Exp $
d226 1
@


1.119
log
@Add EARLYCONS=bcm2711 example (commented out)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.118 2019/12/19 00:36:26 jakllsch Exp $
d388 1
@


1.118
log
@enable panel at fdt drivers
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.117 2019/12/19 00:28:34 jakllsch Exp $
d132 1
@


1.117
log
@add anxdp(4)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.116 2019/12/09 04:51:04 riastradh Exp $
d443 1
@


1.116
log
@Draft driver for Allwinner Crypto Engine.

Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic.  I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.

(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.115 2019/11/17 19:51:35 jmcneill Exp $
d440 1
@


1.115
log
@Add sun6ispi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.114 2019/11/17 19:30:59 jmcneill Exp $
d373 1
@


1.114
log
@Add spdiftx
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.113 2019/11/16 13:24:40 jmcneill Exp $
d410 1
@


1.113
log
@Add rki2s
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.112 2019/11/14 20:40:25 jmcneill Exp $
d422 1
@


1.112
log
@Enable Rockchip display support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.111 2019/11/10 09:55:29 mrg Exp $
d422 1
@


1.111
log
@add mpt(4) SCSI controller support (seen plugged into a rockpro64.)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.110 2019/11/09 23:30:54 jmcneill Exp $
d439 3
a441 3
#rkdrm*		at fdt? pass 5		# Rockchip DRM master
#rkfb*		at rkdrm?		# Rockchip DRM framebuffer
#rkvop*		at fdt?			# Rockchip Visual Output Processor
@


1.110
log
@Add (commented out) Rockchip display support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.109 2019/10/19 13:09:57 tnn Exp $
d518 3
@


1.109
log
@evbarm: add dwcwdt(4) to GENERIC64
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.108 2019/10/01 10:08:05 jmcneill Exp $
d347 1
a347 1
rkiic*		at fdt?			# Rockchip I2C
d439 3
@


1.108
log
@Increase maxusers to 64 for 64-bit kernels
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.107 2019/09/21 14:04:12 jmcneill Exp $
d205 1
@


1.107
log
@Add support for Mellanox 5th generation ethernet devices. This driver
supports the ConnectX-4 Lx EN, ConnectX-4 EN, ConnectX-5 EN, and
ConnectX-6 EN adapters.

Driver ported from OpenBSD.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.106 2019/09/02 06:08:04 skrll Exp $
d11 2
@


1.106
log
@Add (commented out) UVMHIST options
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.105 2019/08/13 17:21:01 tnn Exp $
d293 1
@


1.105
log
@include the spiflash driver in the stock 64-bit kernel

As it can be attached via fdt now. For Rockpro64.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.104 2019/08/05 15:30:37 tnn Exp $
d125 3
@


1.104
log
@rkspi* at fdt?
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103 2019/07/25 00:30:45 jmcneill Exp $
d404 2
@


1.103
log
@Replace the HDAUDIO_32BIT_ACCESS option with a runtime option. Set it for
tegra_hdaudio, but not for the pci attachment. Add hdaudio@@pci to GENERIC64
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.102 2019/07/16 09:47:41 jmcneill Exp $
d402 1
@


1.103.2.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #230):

	sys/dev/pci/files.pci: revision 1.415
	distrib/sets/lists/man/mi: revision 1.1655
	sys/dev/pci/if_mcx.c: revision 1.1
	share/man/man4/Makefile: revision 1.683
	share/man/man4/mcx.4: revision 1.1
	sys/arch/evbarm/conf/GENERIC64: revision 1.107
	sys/dev/pci/files.pci: revision 1.414

Add support for Mellanox 5th generation ethernet devices. This driver
supports the ConnectX-4 Lx EN, ConnectX-4 EN, ConnectX-5 EN, and
ConnectX-6 EN adapters.

Driver ported from OpenBSD.

add mcx attachment.

Correct mcx comment, drop mii dependency
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103 2019/07/25 00:30:45 jmcneill Exp $
a289 1
mcx*		at pci? dev ? function ?	# Mellanox 5th generation Ethernet
@


1.103.2.2
log
@Pull up following revision(s) (requested by jmcneill in ticket #273):

	sys/arch/evbarm/conf/files.evbarm: revision 1.33
	sys/arch/evbarm/conf/GENERIC64: revision 1.108

Increase maxusers to 64 for 64-bit kernels
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.1 2019/09/23 07:04:40 martin Exp $
a10 2
maxusers	64

@


1.103.2.3
log
@Pull up following revision(s) (requested by jmcneill in ticket #427):

	sys/dev/ic/dw_hdmi_phy.c: revision 1.2
	sys/dev/ic/dw_hdmi.c: revision 1.4
	sys/dev/fdt/ausoc.c: revision 1.5
	sys/dev/ic/dw_hdmi.h: revision 1.2
	sys/dev/ic/dw_hdmi.h: revision 1.3
	sys/dev/ic/dw_hdmi.h: revision 1.4
	sys/conf/files: revision 1.1242
	sys/dev/fdt/fdtvar.h: revision 1.57
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.11
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.12
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.13
	sys/arch/evbarm/conf/GENERIC64: revision 1.110
	sys/arch/arm/rockchip/rk_drm.c: revision 1.1
	sys/arch/arm/rockchip/rk_drm.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC64: revision 1.112
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.1
	sys/dev/fdt/fdt_clock.c: revision 1.10
	sys/arch/evbarm/conf/GENERIC64: revision 1.113
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.2
	sys/arch/arm/rockchip/rk_drm.h: revision 1.1
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.3
	sys/arch/arm/rockchip/rk_fb.c: revision 1.1
	sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.9
	sys/arch/arm/rockchip/rk_vop.c: revision 1.1
	sys/arch/arm/rockchip/rk_vop.c: revision 1.2
	sys/arch/arm/rockchip/rk_i2c.c: revision 1.6
	sys/arch/arm/rockchip/rk_cru.h: revision 1.6
	sys/arch/arm/rockchip/rk_cru.h: revision 1.7
	sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.4
	sys/arch/arm/rockchip/rk_cru_composite.c: revision 1.5
	sys/arch/arm/rockchip/files.rockchip: revision 1.21
	sys/arch/arm/rockchip/rk_i2s.c: revision 1.1
	sys/arch/arm/rockchip/files.rockchip: revision 1.22
	sys/dev/ic/dw_hdmi.c: revision 1.2
	sys/dev/ic/dw_hdmi_phy.c: revision 1.1
	sys/dev/ic/dw_hdmi.c: revision 1.3

Support reads of more than 32 bytes in a single xfer.

Add support for internal DesignWare HDMI PHYs

Add fdtbus_clock_enable and fdtbus_clock_enable_index shortcuts

Add HDMI and VOP clocks

WIP display driver for Rockchip RK3399

Add (commented out) Rockchip display support

Select the correct MPLL and PHY settings for the requested pixel clock
Force DCLK_VOP0/1 dividers to 1 and select closest match when setting PLL
rates.

Fix typo in phy config table

Fix a few swapped fields

Remove debug output

Enable Rockchip display support

Set sysclk rate at set_format time, so the link set_format callback can read the new sysclk

Add I2S audio input support.
Add software volume controls.
Add support for I2S clocks.
Add driver for Rockchip I2S/PCM controller.
Enable HDMI audio on ROCKPro64
Add rki2s
Add audio support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.2 2019/10/03 17:14:47 martin Exp $
d343 1
a343 1
rkiic*		at fdt? pass 4		# Rockchip I2C
a414 1
rki2s*		at fdt?			# Rockchip I2S/PCM
a431 3
rkdrm*		at fdt? pass 5		# Rockchip DRM master
rkfb*		at rkdrm?		# Rockchip DRM framebuffer
rkvop*		at fdt?			# Rockchip Visual Output Processor
@


1.103.2.4
log
@Pull up following revision(s) (requested by jmcneill in ticket #438):

	sys/dev/fdt/spdif_tx.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC64: revision 1.114
	sys/dev/fdt/files.fdt: revision 1.48

Add driver for dummy spdif transmitter bindings.
Add spdiftx
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.3 2019/11/16 16:48:25 martin Exp $
a414 1
spdiftx*	at fdt?			# SPDIF transmitter
@


1.103.2.5
log
@Pull up following revision(s) (requested by jmcneill in ticket #439):

	sys/arch/evbarm/conf/GENERIC64: revision 1.115
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.15

Add SPI clocks
Add sun6ispi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.4 2019/11/18 19:33:10 martin Exp $
a404 1
sun6ispi*	at fdt?			# Allwinner SPI
@


1.103.2.6
log
@Pull up following revision(s) (requested by tnn in ticket #458):

	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.9
	sys/arch/arm/rockchip/rk_spi.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC64: revision 1.104
	sys/arch/arm/rockchip/files.rockchip: revision 1.20

rk3399_cru: add definitions for SPI clocks

rk_spi: Rockchip SPI driver

Match only on RK3399 for now, but should work on RK3328 as well with
the proper CRU support. If you can, please test and enable for RK3328.

rkspi* at fdt?
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.5 2019/11/18 19:36:03 martin Exp $
a404 1
rkspi*		at fdt?			# Rockchip SPI
@


1.103.2.7
log
@Pull up following revision(s) (requested by mrg in ticket #616):

	sys/dev/ic/anx_dp.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC64: revision 1.126
	sys/dev/ic/anx_dp.h: revision 1.1
	sys/arch/evbarm/conf/GENERIC64: revision 1.128
	sys/dev/ic/anx_dp.h: revision 1.2
	sys/dev/fdt/dwcmmc_fdt.c: revision 1.9
	sys/dev/i2c/cwfg.c: revision 1.1
	sys/conf/files: revision 1.1247
	sys/dev/fdt/pwm_backlight.c: revision 1.5
	sys/dev/fdt/pwm_backlight.c: revision 1.6
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.14
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.15
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.16
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.17
	sys/dev/ic/dwc_mmc.c: revision 1.20
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.18
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.19
	sys/dev/usb/usbdevs: revision 1.775
	sys/arch/arm/rockchip/rk_dwhdmi.c: revision 1.4
	sys/dev/fdt/simple_amplifier.c: revision 1.1
	sys/dev/i2c/files.i2c: revision 1.105
	sys/arch/evbarm/conf/GENERIC64: revision 1.117
	sys/arch/evbarm/conf/GENERIC64: revision 1.118
	sys/dev/i2c/files.i2c: revision 1.107
	sys/dev/fdt/files.fdt: revision 1.49
	sys/arch/arm/rockchip/rk_anxdp.c: revision 1.1
	sys/dev/ic/dwc_mmc_var.h: revision 1.9
	sys/dev/i2c/rkpmic.c: revision 1.4
	sys/arch/arm/rockchip/rk_anxdp.c: revision 1.2
	sys/dev/i2c/rkpmic.c: revision 1.5
	sys/dev/i2c/rkpmic.c: revision 1.6
	sys/arch/arm/rockchip/rk_vop.c: revision 1.4
	sys/arch/arm/rockchip/rk_vop.c: revision 1.5
	sys/dev/i2c/rkpmic.c: revision 1.8
	sys/arch/arm/dts/rk3399-pinebook-pro.dts: revision 1.1
	sys/dev/usb/ums.c: revision 1.96 (via patch)
	sys/arch/arm/rockchip/rk_pwm.c: revision 1.3
	sys/arch/arm/dts/rk3399-pinebook-pro.dts: revision 1.2
	sys/dev/i2c/es8316ac.c: revision 1.1
	sys/dev/fdt/dwcmmc_fdt.c: revision 1.10
	sys/dev/i2c/es8316ac.c: revision 1.2
	sys/dev/fdt/fdt_panel.c: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.18
	sys/dev/fdt/fdt_panel.c: revision 1.2
	sys/dev/ic/dwc_mmc.c: revision 1.19
	sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.10
	sys/dev/fdt/fdt_port.c: revision 1.5
	sys/dev/ic/dwc_mmc_var.h: revision 1.10
	sys/dev/fdt/fdt_port.c: revision 1.6
	sys/arch/evbarm/conf/GENERIC64: revision 1.122
	sys/dev/ic/dwc_mmc_var.h: revision 1.11
	sys/dev/fdt/files.fdt: revision 1.50
	sys/arch/evbarm/conf/GENERIC64: revision 1.123
	sys/arch/arm/rockchip/rk_i2s.c: revision 1.2
	sys/arch/arm/rockchip/files.rockchip: revision 1.23
	sys/arch/evbarm/conf/GENERIC64: revision 1.124
	sys/dev/ic/anx_dp.c: revision 1.1

rkpmic: add RTC support; register w/ todr(9)
rkpmic: correct delay
Add support for SDIO interrupts.
fix copy/paste error in mux_pll_src_cpll_gpll_ppll_parents[]
add RK3399 eDP clocks
add RK3399 DisplayPort clocks
style fix/KNF
rk3399_cru: implement dclk_vop0_frac and dclk_vop1_frac
Move drm_encoder from rkvop(4) to the SoC-layer output pipe drivers (rk_dwhdmi).
rkvop: set stride using virtual framebuffer width instead of display mode
rk3399_cru: Reparent dclk_vop[01] to gpll via dclk_vop[01]_frac.
The previous source of dclk_vop[01] was vpll via dclk_vop[01]_div.
vpll is apparently used directly as a pixel clock source for the
HDMI PHY, and we don't want the other VOP's dclk changing out from
under it because we can't handle finding a replacement clock source
with the right rate yet.
gpll happens to run at 594MHz, which works well as a basis for pixel
clocks.
Linux suggests that the source clock of the fractional divider needs
to be more than twenty times greater than the resulting clock (or some
intermediate clock?) for output stability.  This may not be the case
with 594MHz and the common pixel clocks I see used by displays in my
area of the wild, but it works for now.
add Analogix DisplayPort core driver
add Rockchip (RK3399) glue for Analogix DisplayPort core
add anxdp(4)
Add another panel@@fdt driver, this time for DRM-style panels.
To do: migrate away from other panel driver.
enable panel at fdt drivers
paper over the rkpwm get_conf function that otherwise doesn't seem to
let things work
add template bits for optional eDP panel on RockPro64
Abort panel driver attach if required regulator is missing.
Add clk provider
Add Pinebook Pro dts, from Manjaro Linux.
https://gitlab.manjaro.org/tsys/linux-pinebook-pro/blob/877ca0e7283596f37845de50dc36bff5b88b91e1/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+ rk3399-pinebook-pro.dts
Attach mmcpwrseq resource earlier
dwcmmc improvements:
 - Use mmcpwrseq resources if available
 - Only set 4- or 8-bit mode if specified in the dt properties
 - Add quirk for implementations with inverted power enable logic
 - Support switching signal voltage between 1.8V and 3.3V
 - Fix a clock divider issue on Rockchip SoCs
Fix performance regression with previous
Quiet chatty printfs
No need to print all supported levels at attach, print the range and total number of steps
Disable SPI for now (rkspi driver hangs at boot)
Add driver for simple-audio-amplifier binding
Add driver for Everest Semi ES8316 Low Power Audio CODEC
add es8316, simpleamp
Avoid sleeping while the audio intr lock is held.
If the rockchip,system-power-controller property is present, try to power off with the PMIC
Add HAILUCK keyboard (product 1e)
Add a quirk for the HAILUCK USB keyboard / touchpad device with product 1e.
The keyboard does not function properly unless the touchpad's intr endpoint
is active.
Add driver for CellWise CW2015 Fuel Gauge IC.
add cwfg
Emit PMFE_DISPLAY_{ON,OFF} events in response to DPMS requests.
If the backlight node does not have an enable gpio, set the lowest duty
cycle to turn the display off instead.
Attach psci as early as possible. This allows other power controllers to
register their own poweroff / reset callbacks with a higher preference.
Add 2000 MHz to available armclkb rates
Remove debug printfs
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.6 2019/11/20 16:49:58 martin Exp $
a62 1
	rk3399-pinebook-pro.dts
d180 1
a180 1
psci*		at fdt? pass 0
a356 2
cwfg*		at iic?			# CellWise CW2015 Fuel Gauge IC
es8316ac*	at iic?			# Everest Semi ES8316 Audio CODEC
d379 1
a379 1
mmcpwrseq*	at fdt? pass 5		# Simple MMC power sequence provider
a416 1
simpleamp*	at fdt?			# Simple amplifier
a432 1
anxdp*		at fdt?			# Analogix-based (e)DP
a434 1
panel*		at fdt?			# Display panels
@


1.103.2.8
log
@Pull up following revision(s) (requested by nia in ticket #657):

	sys/dev/files.audio: revision 1.13
	sys/dev/files.audio: revision 1.14
	sys/arch/amd64/conf/GENERIC: revision 1.559
	sys/arch/evbarm/conf/GENERIC: revision 1.71
	sys/arch/evbarm/conf/GENERIC64: revision 1.134
	sys/dev/audio/audiodef.h: revision 1.8

Set AUDIO_BLK_MS=4 - unlikely to cause significant overhead on non-m68k.

Several of us have been setting this in /etc/sysctl.conf for months, to
get better performance from applications that require synced audio, etc.
It's also mentioned as a good value with low overhead on most archs here:
href="https://mail-index.netbsd.org/tech-kern/2019/12/07/msg025830.html

We could probably go lower, but this is low enough to make most/all
software run well, removing frame drops. It's also low enough to get
emulators/mednafen to stop complaining in the console.

defopt AUDIO_BLK_MS

Follow amd64 and set AUDIO_BLK_MS=4 by default

defopt -> defparam (oops)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.7 2020/01/21 10:39:58 martin Exp $
a428 1
options 	AUDIO_BLK_MS=4
@


1.103.2.9
log
@Pull up following revision(s) (requested by mrg in ticket #817):

	sys/arch/evbarm/conf/GENERIC: revision 1.73
	sys/arch/evbarm/conf/GENERIC64: revision 1.136

add MIDI sequencer device.  now midiplay works on usb midi devices.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.8 2020/01/27 07:06:02 martin Exp $
a510 1
pseudo-device	sequencer			# MIDI sequencer
@


1.103.2.10
log
@Pull up following revision(s) (requested by isaki in ticket #911):

	sys/dev/audio/audiodef.h: revision 1.13
	sys/dev/audio/audiodef.h: revision 1.14
	sys/arch/sparc/include/param.h: revision 1.74
	sys/arch/evbarm/conf/GENERIC64: revision 1.148
	sys/arch/sh3/include/param.h: revision 1.25
	sys/arch/evbarm/conf/GENERIC: revision 1.75
	sys/arch/m68k/include/param.h: revision 1.23
	sys/arch/amd64/conf/GENERIC: revision 1.564
	sys/arch/hppa/include/param.h: revision 1.27
	sys/dev/audio/audio.c: revision 1.68
	sys/arch/vax/include/param.h: revision 1.63
	sys/dev/audio/audio.c: revision 1.69

Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k
(m68k uses 40msec default as before).  And remove the option from GENERIC.

- It's not good idea to set such parameter in individual GENERICs.
- 4msec is (probably no problem for most modern real hardware but)
  too aggressive to be default.
- 10msec is too severe for antique machines but it's hard to draw a line.

Set AUDIO_BLK_MS 40 msec on other old(slow) architectures not only m68k.

Thanks tsutsui@@ for comment about architecture choice.
And move it from audiodef.h to audio.c as suggested by joerg@@.


Move machine dependent AUDIO_BLK_MS default value to <machine/param.h>.
If the port has __AUDIO_BLK_MS in <machine/param.h>, it will be used.

Otherwise the default value (currently 10 msec) defined in audio.c will
be used.  This mechanism is for very old ports which cannot satisfactorily
handle 10 msec block.  Currently hppa, m68k, sh3, sparc(!64) and vax are.

For port maintainers, if general models in your port cannot satisfactorily
handle 10 msec block, please consider to define your suitable longer period
(40 msec would be a good first choice).

But please don't be eager to make the default value shorter.
<machine/param.h> was discussed in source-changes-d.  It's better than
ifdef storm, or adding 60+ new header files in every arch/*/include/
directories for this.  Thanks mrg@@, ad@@, and everyone.
http://mail-index.netbsd.org/source-changes-d/2020/05/01/msg012572.html
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.9 2020/04/02 19:20:07 martin Exp $
d429 1
@


1.103.2.11
log
@Pull up following revision(s) (requested by riastradh in ticket #912):

	sys/arch/arm/dts/sun50i-a64.dtsi: revision 1.14
	sys/arch/evbarm/conf/GENERIC64: revision 1.116
	sys/arch/evbarm/conf/GENERIC64: revision 1.131
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.21
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.22
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.10
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.11
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.12
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.3
	sys/arch/arm/sunxi/sun8i_crypto.h: revision 1.1
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.4
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.7
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.67

Add crypto engine clock

Add SUNXI_CCU_NM_ROUND_DOWN to CE clock, fix pll parents to use 2X outputs

Add crypto engine block.

Draft driver for Allwinner Crypto Engine.
Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic.  I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.
(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)

Reduce some duplicated bus_dma clutter.

Factor out some of the self-test logic used for debugging.

Add missing bus_dmamap_sync(POSTWRITE) while here.

Make sure ERESTART doesn't come flying out to userland.
I picked ERESTART to mean `all channels are occupied' because that's
what opencrypto(9) uses to decide whether to queue a request, but
it's not appropriate for sysctl(2) to return that.

Avoid a race between interruption and reacquisition of lock.
Otherwise, we would have leaked the memory in this case.

Tidy up comments.

Oops -- forgot to kmem_free.

Fix typo -- acknowledge interrupts _and_ errors.

Reduce entropy estimate for sun8icrypto TRNG.

NIST's SP800-90B entropy estimation tools put it at no more than .08
bits of entropy per byte of data(!), so estimate 100 bits of data per
bit of entropy.  This is probably not conservative enough -- the NIST
tools were written without knowledge of how this alleged TRNG works!
Knowledge of the physics of how the TRNG is supposed to work could
probably enable a better job at predicting the outputs.
While here, bump the size of data we can sample directly with sysctl
to 4096 bytes.

Enable sun8icrypto in GENERIC64.

But set its entropy estimate to zero until we have a better idea of
how it works.  Can't really hurt this way unless sun8icrypto is
maliciously dependent on all other inputs to the entropy pool, which
seems unlikely.

Fix (presently harmless) psato.

Don't overwrite cy_root_node; use cy_trng_node as intended.

Fix previous brainfart.

Don't use the uninitialized trng node as the root node -- derp.
Instead, use the root node as the root node, and initialize the trng
node here.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.10 2020/05/18 18:12:25 martin Exp $
a371 1
sun8icrypto* 	at fdt?			# Allwinner Crypto Engine
@


1.103.2.12
log
@Pull up following revision(s) (requested by riastradh in ticket #913):

	sys/arch/arm/dts/rk3399-crypto.dtsi: revision 1.1
	sys/arch/arm/rockchip/rk_v1crypto.c: revision 1.1
	sys/arch/arm/rockchip/rk_v1crypto.c: revision 1.2 (plus patch)
	sys/arch/arm/rockchip/rk_v1crypto.h: revision 1.1
	sys/arch/arm/dts/rk3399-pinebook-pro.dts: revision 1.3
	sys/arch/arm/rockchip/rk3399_cru.c: revision 1.20
	sys/arch/evbarm/conf/GENERIC64: revision 1.158
	sys/arch/arm/dts/rk3399-rockpro64.dts: revision 1.11
	sys/arch/arm/rockchip/files.rockchip: revision 1.24

Rockchip crypto engine RNG driver.

As found on the rk3288 and rk3399.  This driver only supports the
TRNG, not the rest of the crypto engine, although it uses the AES unit
to do a self-test at attach time to verify that the engine works.
There seem to be two versions of the Rockchip crypto engine, v1 and
v2; this one is for v1.  Can't name a driver `rkcryptov1' so we'll
clumsily call it `rkv1crypto' instead to leave room for `rkv2crypto'
later on.

The crypto binding derived from the Rockchip BSP Linux kernel, in the
location it appears on the rk3399, is in rk3399-crypto.dtsi, since
there doesn't seem to be a better place to put it at the moment among
this twisty maze of inclusions, all different.

Use rnd_add_data_sync from the callback.

(Doesn't make a difference in HEAD but this is the stated API
contract and it matters if we want to pull this up.)

Prime the pool on attach.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.11 2020/05/18 18:45:40 martin Exp $
a372 1
rkv1crypto* 	at fdt?			# Rockchip Crypto v1
@


1.103.2.13
log
@Pull up following revision(s) (requested by jmcneill in ticket #980):

	sys/dev/pci/if_aq.c: revision 1.4
	sys/dev/pci/if_aq.c: revision 1.5
	sys/arch/amd64/conf/GENERIC: revision 1.553
	sys/dev/pci/files.pci: revision 1.419
	sys/arch/amd64/conf/XEN3_DOM0: revision 1.170
	sys/dev/pci/if_aq.c: revision 1.9
	share/man/man4/Makefile: revision 1.693
	sys/dev/pci/pcidevs: revision 1.1411
	share/man/man4/aq.4: revision 1.1
	share/man/man4/aq.4: revision 1.3
	sys/arch/i386/conf/ALL: revision 1.479
	share/man/man4/aq.4: revision 1.4
	sys/dev/pci/if_aq.c: revision 1.10
	sys/dev/pci/files.pci: revision 1.421
	sys/dev/pci/if_aq.c: revision 1.11
	sys/dev/pci/if_aq.c: revision 1.12
	sys/dev/pci/if_aq.c: revision 1.13
	sys/dev/pci/if_aq.c: revision 1.14
	sys/dev/pci/if_aq.c: revision 1.15
	sys/dev/pci/if_aq.c: revision 1.16
	sys/dev/pci/pcidevs: revision 1.1408
	sys/arch/amd64/conf/ALL: revision 1.135
	sys/net/ethertypes.h: revision 1.19
	sys/arch/i386/conf/GENERIC: revision 1.1218
	distrib/sets/lists/man/mi: revision 1.1668
	sys/dev/pci/if_aq.c: revision 1.1
	sys/dev/pci/if_aq.c: revision 1.2
	sys/dev/pci/pcidevs: revision 1.1395
	sys/dev/pci/if_aq.c: revision 1.3
	sys/arch/evbarm/conf/GENERIC64: revision 1.125

Add the ETHERTYPE_QINQ for 802.1ad VLAN stacking

add Aquantia AQC 10G network adapters
add support Aquantia AQC seriese 10G network adapters.

this driver is based on the FreeBSD version https://github.com/Aquantia/aqtion-freebsd ,
but drastically rewritten for NetBSD.

add aq(4)

 Add Aquantia AQC100, AQC100S and D100.

add support VLAN HW filter

set/clear IFF_OACTIVE flag only on txring 0

make counters per queue

support internal PHY temperature sensor

Found by kUBSan:
- Use unsigned to avoid undefined behavior in aq_hw_init().
- Cast to unsigned to avoid undefined behavior in aq_set_mac_addr().

fix descriptions of register map in comment

return the ifmedia active status correctly even while the link is not up after attach.
pointed out by msaitoh@@. thanks.

On FIBRE devices, there are times when linkstat interrupt doesn't occur?
reported from Andrius V. thanks.
- use polling instead of linkstat interrupt when FIBRE
- add AQ_FORCE_POLL_LINKSTAT options (not by default)

sort product table, and tabify

add support AQC100S and D100.
not tested, but they are probably the same as the AQC100.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.103.2.12 2020/05/18 18:54:30 martin Exp $
a291 1
aq*		at pci? dev ? function ?	# Aquantia AQC 10 gigabit
@


1.102
log
@Add wm(4)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.101 2019/07/12 19:28:20 skrll Exp $
d406 1
a408 1
options 	HDAUDIO_32BIT_ACCESS
@


1.101
log
@Add a couple of spaces to do the <space><tab> thing
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.100 2019/06/22 07:58:55 skrll Exp $
d293 1
@


1.100
log
@Rename watchdog -> bcmpmwdog and sdhost to bcmsdhost
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.99 2019/06/15 06:40:34 maxv Exp $
d140 2
a141 2
#options	POOL_QUARANTINE	# optional
#options	KASAN_PANIC	# optional
@


1.99
log
@Add KASAN_PANIC, an option to turn KASAN warning into kernel panics,
requested by Siddharth. While here clarify a little.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.98 2019/06/13 13:35:41 jmcneill Exp $
d199 1
a202 1
watchdog*	at fdt?			# Broadcom BCM283x watchdog
d372 1
a377 1
sdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
@


1.98
log
@add ahcisata at pci
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.97 2019/06/12 10:14:05 jmcneill Exp $
d135 7
a141 3
# Kernel Address Sanitizer (kASan).
#makeoptions 	KASAN=1		# Kernel Address Sanitizer
#options 	KASAN
@


1.97
log
@Add rkpcie, rkpciephy
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.96 2019/06/06 22:41:02 jmcneill Exp $
d385 1
@


1.96
log
@Attach sunxi dma controllers earlier.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.95 2019/05/31 14:52:17 jmcneill Exp $
d275 2
@


1.95
log
@Comment out VERBOSE_INIT_ARM
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.94 2019/05/26 14:12:34 jmcneill Exp $
d221 1
a221 1
sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
@


1.94
log
@Increase I2C_MAX_ADDR to 0xfff for sunxi RSB
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.93 2019/05/25 12:14:28 jmcneill Exp $
d123 1
a123 1
options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
@


1.93
log
@Add bcm2837-rpi-3-a-plus.dts, meson-gxl-s805x-libretech-ac.dts,
meson-gxl-s905d-phicomm-n1.dts, rk3399-gru-scarlet-inx.dts,
rk3399-gru-scarlet-kd.dts, rk3399-nanopc-t4.dts, rk3399-nanopi-m4.dts,
rk3399-rock-pi-4.dts, sun50i-a64-amarula-relic.dts,
sun50i-a64-pine64-lts.dts, sun50i-h5-emlid-neutis-n5-devboard.dts,
sun50i-h6-orangepi-lite2.dts, tegra210-p2894-0050-a08.dts.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.92 2019/05/01 10:41:54 jmcneill Exp $
d329 1
@


1.92
log
@Add rkpwm and pwmfan
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.91 2019/04/26 08:28:11 mrg Exp $
d19 1
d35 1
d39 1
d57 4
d63 1
d69 1
d74 1
d83 1
d92 1
d99 1
@


1.91
log
@implement TSADC driver for rockchip RK3328 and RK3399.  so far, only
tested on RK3399 but the RK3328 looks mostly the same and has a good
chance of working too.

add clock entries for "clk_tsadc" and "pclk_tsadc" to cru.

exports "CPU" and "GPU" temp sensors.  these currently limited to 5
degC resolution but can be reduced to sub 1 degC resolution with some
interpolation.

todo list:

- handle setting various temp values
- add interpolation between the 5degC intervals in sample data
- handle DT trips/temp value defaults
- interrupts aren't triggered (test by lowering warn/crit values),
  and once they work, make the interrupt do something
- test on RK3328, and port to other rockchips (will require moving
  some part into per-chipset sections, such as code<->temp tables)


thanks to jmcneill for help.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.90 2019/04/21 14:14:14 jmcneill Exp $
d248 1
d441 3
@


1.90
log
@Add mesonrng
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.89 2019/04/21 13:51:04 jmcneill Exp $
d443 1
@


1.89
log
@Add driver for Meson GX EE-domain watchdog timer.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.88 2019/04/21 11:02:33 jmcneill Exp $
a339 1
bcmrng*		at fdt?			# Broadcom BCM283x RNG
d342 2
@


1.88
log
@Add support for Meson GXL internal PHY.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.87 2019/04/19 19:36:26 jmcneill Exp $
d182 1
@


1.87
log
@Remove qsphy(4), this 20+ year old PHY driver accidentally attaches to the Meson GXL internal PHY
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.86 2019/04/19 19:07:55 jmcneill Exp $
d278 1
@


1.86
log
@Add support for Amlogic Meson GXL family SoCs.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.85 2019/04/07 13:50:29 jmcneill Exp $
a288 1
qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
@


1.85
log
@Explicitly include bold8x16 and bold16x32 fonts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.84 2019/03/17 08:17:56 skrll Exp $
d34 11
d94 1
d221 1
a221 1
gxbbclkc*	at fdt? pass 2		# Amlogic Meson GXBB EE clock controller
d444 2
@


1.84
log
@G/C
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.83 2019/03/10 11:10:21 jmcneill Exp $
d417 2
@


1.83
log
@Add support for Rockchip eMMC PHY
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.82 2019/03/06 19:36:59 jakllsch Exp $
a88 1
#options 	SOC_THUNDERX
@


1.82
log
@Enable WSDISPLAY_SCROLLSUPPORT in evbarm GENERICs.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.81 2019/03/05 11:44:22 jmcneill Exp $
d341 1
@


1.81
log
@Add bcm2837-rpi-cm3-io3.dts, rk3399-ficus.dts, rk3399-gru-bob.dts, rk3399-roc-pc.dts, rk3399-rock960.dts, sun50i-h5-bananapi-m2-plus-v1.2.dts, sun50i-h5-bananapi-m2-plus.dts, sun50i-h6-orangepi-one-plus.dts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.80 2019/02/25 19:30:17 jmcneill Exp $
d414 1
@


1.80
log
@Add support for Amlogic S905 (Meson GXBB) SoCs.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.79 2019/02/08 00:19:57 macallan Exp $
d21 1
d39 1
d41 1
d44 2
d60 2
d70 1
@


1.79
log
@move sunxide2ccu to pass 3, now it works on my H5
from jmcneill@@
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.78 2019/02/03 13:18:52 jmcneill Exp $
d17 1
a17 1
makeoptions	DTSSUBDIR="allwinner broadcom nvidia rockchip"
d22 11
d74 1
d95 1
d201 3
d219 1
d288 1
d331 1
d420 1
@


1.78
log
@Add anxedp
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.77 2019/01/30 11:25:40 jmcneill Exp $
d195 1
a195 1
sunxide2ccu*	at fdt? pass 2		# Allwinner DE2 clock controller
@


1.77
log
@Enable Allwinner A64 display pipeline
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.76 2019/01/30 01:26:18 jmcneill Exp $
d362 1
@


1.76
log
@Add Allwinner A64 display pipeline drivers (commented out for now)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.75 2019/01/22 20:17:36 jmcneill Exp $
d362 8
a369 8
#dispcon*	at fdt?			# Display connector devices
#dwhdmi* 	at fdt?			# Designware HDMI TX
#sunxide2bus*	at fdt? pass 4		# Allwinner DE2 bus
#sunxidrm*	at fdt?	pass 5		# Allwinner Display Pipeline
#sunxifb*	at sunxidrm?		# Allwinner DRM framebuffer
#sunxihdmiphy*	at fdt? pass 9		# Allwinner HDMI TX PHY
#sunxilcdc*	at fdt?			# Allwinner DE2 timing controller
#sunximixer*	at fdt?			# Allwinner DE2 mixer
@


1.75
log
@Add drivers for DE2 bus and clock controllers.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.74 2019/01/22 16:36:07 jmcneill Exp $
d362 8
a390 1
sunxide2bus*	at fdt?			# Allwinner DE2 bus
@


1.74
log
@Add sunxisramc
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.73 2019/01/03 10:44:04 jmcneill Exp $
d195 1
d383 1
@


1.73
log
@Attach sunxirsb earlier so axppmic regulators are available for usbphy
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.72 2018/12/30 16:25:15 skrll Exp $
d141 1
@


1.72
log
@Disable DEBUG by default.

Comment out DIAGNOSTIC while where are it's already defined by
GENERIC.common
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.71 2018/12/28 06:45:53 mrg Exp $
d279 1
a279 1
sunxirsb*	at fdt?			# Allwinner RSB
@


1.71
log
@turn on INCLUDE_CONFIG_FILE.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.70 2018/12/21 14:52:12 jmcneill Exp $
d75 2
a76 2
options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
@


1.70
log
@Add com at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.69 2018/11/30 16:28:43 jmcneill Exp $
d80 1
@


1.69
log
@Add ena at pci
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.68 2018/11/30 16:28:07 jmcneill Exp $
d267 1
@


1.68
log
@Add puc at pci and com at puc
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.67 2018/11/29 11:23:49 jmcneill Exp $
d229 1
@


1.67
log
@Add nvme at pci
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.66 2018/11/23 12:15:14 skrll Exp $
d265 2
a266 2
com*		at fdt?	pass 4		# UART
plcom*		at fdt?	pass 4		# ARM PL011 UART
d268 2
@


1.66
log
@Enable CPU_THUNDERX
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.65 2018/11/18 20:23:18 jmcneill Exp $
d325 4
@


1.65
log
@Add virtio at pci, scsibus at scsi, and sd at scsibus
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.64 2018/11/18 15:52:04 skrll Exp $
d61 1
a61 1
#options 	CPU_THUNDERX
@


1.64
log
@Add CPU_THUNDERX which sets COHERENCY_UNIT and CACHE_LINE_SIZE to 128
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.63 2018/11/18 15:50:26 skrll Exp $
d404 1
d411 4
@


1.63
log
@Trailing whitespace
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.62 2018/11/01 20:34:50 maxv Exp $
d61 1
@


1.62
log
@Add kASan support for aarch64. Stack tracking needs more investigation
and will come in a separate commit.

Reviewed by ryo@@ jmcneill@@ skrll@@.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.61 2018/10/28 10:21:42 jmcneill Exp $
d221 1
a221 1
pci*		at pcibus? 
@


1.61
log
@Add support for EFI runtime services on aarch64.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.60 2018/10/26 23:34:05 jmcneill Exp $
d88 4
@


1.60
log
@Add xhci at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.59 2018/10/26 10:46:49 jmcneill Exp $
d96 3
@


1.59
log
@Add ehci at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.58 2018/10/24 11:02:13 jmcneill Exp $
d387 1
@


1.58
log
@Add sbsawdt at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.57 2018/10/22 22:36:41 jmcneill Exp $
d381 1
@


1.57
log
@Add acpiged at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.56 2018/10/21 21:18:59 jmcneill Exp $
d140 1
@


1.56
log
@Add gicvthree at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.55 2018/10/21 18:32:23 jmcneill Exp $
d104 1
@


1.55
log
@Add acpibut at acpi, acpilid at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.54 2018/10/21 12:26:59 jmcneill Exp $
d149 1
@


1.54
log
@Add virtio at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.53 2018/10/21 12:07:47 jmcneill Exp $
d103 2
@


1.53
log
@Add qemufwcfg at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.52 2018/10/19 21:09:09 jakllsch Exp $
d388 1
@


1.52
log
@Add amdccp(4) driver for AMD Cryptographic Coprocessor, as found on the
A11xx Opterons.  Driver currently provides RNG service only.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.51 2018/10/17 00:04:06 jmcneill Exp $
d156 1
@


1.51
log
@Add dwiic at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.50 2018/10/16 06:05:38 skrll Exp $
d282 2
@


1.50
log
@Add SOC_THUNDERX (commented out for now as it changes COHERENCY_UNIT)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.49 2018/10/15 23:59:36 jmcneill Exp $
d258 1
@


1.49
log
@Add plgpio at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.48 2018/10/15 23:50:48 jmcneill Exp $
d68 1
@


1.48
log
@Rename pl061gpio to plgpio and split the device logic from the FDT glue.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.47 2018/10/15 11:35:42 jmcneill Exp $
d186 1
@


1.47
log
@Add acpipchb
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.46 2018/10/12 23:26:41 jmcneill Exp $
d185 1
a185 1
pl061gpio*	at fdt?			# ARM PrimeCell PL061 GPIO
@


1.46
log
@Add ahcisata at acpi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.45 2018/10/12 22:22:21 jmcneill Exp $
d204 1
@


1.45
log
@Add basic ACPI support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.44 2018/10/12 01:28:58 ryo Exp $
d299 1
@


1.44
log
@add initial support of COMPAT_NETBSD32 on AArch64.
arm ELF32 EABI binaries could be execute in AArch32 state on AArch64. A32 THUMB mode is not supported yet.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.43 2018/10/03 06:02:33 skrll Exp $
d99 4
d106 1
d131 1
d143 1
d250 1
@


1.43
log
@Sort the SOC_ list
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.42 2018/10/03 05:45:49 skrll Exp $
d92 3
@


1.42
log
@Add commented out Cavium CN88XX ThunderX EARLYCONS and CONSADDR
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.41 2018/09/30 16:06:02 jmcneill Exp $
a63 1
options 	SOC_TEGRA210
d67 1
@


1.41
log
@Add qemufwcfg
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.40 2018/09/30 15:31:05 jmcneill Exp $
d84 1
@


1.40
log
@Add plrtc
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.39 2018/09/29 16:02:09 jmcneill Exp $
d143 1
@


1.39
log
@Add virtio
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.38 2018/09/26 20:25:51 jakllsch Exp $
d267 1
@


1.38
log
@Add dwiic(4) and spdmem(4).
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.37 2018/09/15 16:22:20 jmcneill Exp $
d364 8
@


1.37
log
@Enable msk(4)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.36 2018/09/15 16:21:36 jmcneill Exp $
d241 1
d251 1
@


1.36
log
@Enable WSDISPLAY_MULTICONS
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.35 2018/09/08 00:42:01 jmcneill Exp $
d200 2
a201 2
#mskc*		at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
#msk*		at mskc?
@


1.35
log
@Add pl061gpio, pcihost, mskc/msk (commented out), ehci@@pci, ohci@@pci, and xhci@@pci
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.34 2018/09/02 01:17:23 jmcneill Exp $
d236 2
a237 2
com*		at fdt?			# UART
plcom*		at fdt?			# ARM PL011 UART
d329 1
@


1.34
log
@Add rkpmic
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.33 2018/08/29 01:58:54 jmcneill Exp $
d173 1
d191 1
d193 1
a193 1
pci*		at tegrapcie0
d200 2
d350 1
d353 1
d355 1
@


1.33
log
@Add (commented out) EARLYCONS entry for rk3399
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.32 2018/08/29 01:58:17 jmcneill Exp $
d253 2
@


1.32
log
@Add fan53555reg
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.31 2018/08/12 18:01:22 jmcneill Exp $
d81 1
@


1.31
log
@Add rk3399-rockpro64.dts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.30 2018/08/12 16:49:25 jmcneill Exp $
d249 1
@


1.30
log
@Enable support for GICv3 and Rockchip RK3399
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.29 2018/07/15 18:00:14 jmcneill Exp $
d30 1
@


1.29
log
@add pseudo-device tprof (fix build)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.28 2018/07/15 16:09:05 jmcneill Exp $
d26 7
d62 1
d130 1
a130 1
gic*		at fdt? pass 1		# ARM GIC
d132 1
d180 1
a180 1
rkiomux*	at fdt?	pass 2		# Rockchip IOMUX
@


1.28
log
@Add armpmu
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.27 2018/07/14 15:09:41 maxv Exp $
d91 1
@


1.27
log
@Remove "options IPKDB", and the other associated options, from the config
files.

ipkdb is being retired. Its code is really old, and hasn't kept pace with
today's expectations: IPv6, SMP, modern NICs. The associated code for x86
was already removed because it was too incorrect to stay.

There are plans to rewrite a similar feature from scratch.

ok kamil christos
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.26 2018/07/09 09:13:50 jmcneill Exp $
d89 3
@


1.26
log
@Enable options MULTIPROCESSOR
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.25 2018/07/01 18:18:18 jmcneill Exp $
a67 1
#options 	IPKDB		# remote kernel debugging
@


1.25
log
@Add rkiic
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.24 2018/07/01 15:33:29 skrll Exp $
d60 1
a60 1
#options 	MULTIPROCESSOR
@


1.24
log
@Add bcm2835-rpi-zero-w.dts and bcm2837-rpi-3-b-plus.dts as appropriate

PR/53284 -  Support RPI3B+,RPI0W,RPI2-1.2
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.23 2018/06/30 16:48:49 jmcneill Exp $
d223 1
@


1.23
log
@Attach simplebus on pass 0
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.22 2018/06/30 16:30:35 jmcneill Exp $
d20 1
@


1.22
log
@cpus: use fdt_add_bus
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.21 2018/06/30 16:22:56 jmcneill Exp $
d83 1
a83 1
simplebus*	at fdt?
@


1.21
log
@Allow nodes to attach child devices using the same sorting rules as used
by the simplebus driver.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.20 2018/06/30 12:42:42 jmcneill Exp $
d87 1
a87 1
cpu*		at cpus?
@


1.20
log
@add syscon
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.19 2018/06/27 16:38:40 jmcneill Exp $
d83 1
a83 1
fdt*		at fdtbus?
@


1.19
log
@dts: add sun50i-h5-libretech-all-h3-cc.dts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.18 2018/06/16 14:41:25 jmcneill Exp $
d103 3
@


1.19.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.96 2019/06/06 22:41:02 jmcneill Exp $
d17 1
a17 1
makeoptions	DTSSUBDIR="allwinner amlogic broadcom nvidia rockchip"
a18 1
	bcm2837-rpi-3-a-plus.dts
a19 26
	bcm2837-rpi-3-b-plus.dts
	bcm2837-rpi-cm3-io3.dts

	meson-gxbb-nanopi-k2.dts
	meson-gxbb-nexbox-a95x.dts
	meson-gxbb-odroidc2.dts
	meson-gxbb-p200.dts
	meson-gxbb-p201.dts
	meson-gxbb-vega-s95-meta.dts
	meson-gxbb-vega-s95-pro.dts
	meson-gxbb-vega-s95-telos.dts
	meson-gxbb-wetek-hub.dts
	meson-gxbb-wetek-play2.dts

	meson-gxl-s805x-libretech-ac.dts
	meson-gxl-s805x-p241.dts
	meson-gxl-s905d-p230.dts
	meson-gxl-s905d-p231.dts
	meson-gxl-s905d-phicomm-n1.dts
	meson-gxl-s905w-p281.dts
	meson-gxl-s905w-tx3-mini.dts
	meson-gxl-s905x-hwacom-amazetv.dts
	meson-gxl-s905x-khadas-vim.dts
	meson-gxl-s905x-libretech-cc.dts
	meson-gxl-s905x-nexbox-a95x.dts
	meson-gxl-s905x-p212.dts
a24 18
	rk3399-evb.dts
	rk3399-ficus.dts
	rk3399-firefly.dts
	rk3399-gru-bob.dts
	rk3399-gru-kevin.dts
	rk3399-gru-scarlet-inx.dts
	rk3399-gru-scarlet-kd.dts
	rk3399-nanopc-t4.dts
	rk3399-nanopi-m4.dts
	rk3399-puma-haikou.dts
	rk3399-roc-pc.dts
	rk3399-rock-pi-4.dts
	rk3399-rock960.dts
	rk3399-rockpro64.dts
	rk3399-sapphire-excavator.dts
	rk3399-sapphire.dts

	sun50i-a64-amarula-relic.dts
a28 1
	sun50i-a64-pine64-lts.dts
a34 3
	sun50i-h5-bananapi-m2-plus-v1.2.dts
	sun50i-h5-bananapi-m2-plus.dts
	sun50i-h5-emlid-neutis-n5-devboard.dts
a42 2
	sun50i-h6-orangepi-lite2.dts
	sun50i-h6-orangepi-one-plus.dts
a47 1
	tegra210-p2894-0050-a08.dts
a51 1
options 	CPU_THUNDERX
a52 2
options 	SOC_MESONGXBB
options 	SOC_MESONGXL
d54 1
a54 1
options 	SOC_RK3399
a57 1
options 	SOC_TEGRA210
d59 1
a59 1
options 	MULTIPROCESSOR
d63 2
a64 2
#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
d67 2
a68 2
#options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
options 	INCLUDE_CONFIG_FILE
a70 1
#options 	EARLYCONS=meson, CONSADDR=0xc81004c0
a71 1
#options 	EARLYCONS=rk3399, CONSADDR=0xff1a0000
a73 1
#options 	EARLYCONS=thunderx, CONSADDR=0x87e024000000
a75 4
# Kernel Address Sanitizer (kASan).
#makeoptions 	KASAN=1		# Kernel Address Sanitizer
#options 	KASAN

a80 6
options 	COMPAT_NETBSD32
options 	EXEC_ELF32

# EFI runtime support
options 	EFI_RUNTIME

d83 1
a83 8
simplebus*	at fdt? pass 0

# ACPI support
acpifdt*	at fdt? pass 1
acpi*		at acpifdt?
acpibut*	at acpi?
acpiged*	at acpi?
acpilid*	at acpi?
d87 1
a87 6
cpu*		at fdt? pass 0
cpu*		at acpi?

# Performance monitors
armpmu*		at fdt?
pseudo-device	tprof
a102 4
# System Controller
syscon*		at fdt? pass 1		# Generic System Controller
sunxisramc*	at fdt? pass 1		# Allwinner System Control

a104 1
gtmr*		at acpi?
a108 2
mesongxwdt*	at fdt?			# Amlogic Meson GX watchdog
sbsawdt*	at acpi?		# ARM SBSA-compliant watchdog
d115 1
a115 2
gic*		at fdt? pass 1		# ARM GICv2
gic*		at acpi?
a116 2
gicvthree*	at fdt? pass 1		# ARM GICv3
gicvthree*	at acpi?
a124 2
qemufwcfg*	at fdt?			# QEMU Firmware Configuration device
qemufwcfg*	at acpi?
d128 1
a128 1
sun6idma*	at fdt?	pass 4		# Allwinner DMA controller (sun6i)
a140 3
gxbbaoclkc*	at fdt? pass 2		# Amlogic Meson GXBB AO clock controller
gxbbclkc*	at fdt? pass 2		# Amlogic Meson GXBB/GXL EE clock controller
mesonresets*	at fdt? pass 2		# Amlogic Meson misc. clock resets
a147 1
sunxide2ccu*	at fdt? pass 3		# Allwinner DE2 clock controller
a154 3
mesonpinctrl*	at fdt? pass 2		# Amlogic Meson GPIO
plgpio*		at fdt?			# ARM PrimeCell PL061 GPIO
plgpio*		at acpi?
a160 1
rkpwm*		at fdt? pass 3		# Rockchip PWM
d164 1
a164 1
rkiomux*	at fdt?	pass 3		# Rockchip IOMUX
a171 2
pcihost*	at fdt?			# Generic PCI host controller
acpipchb*	at acpi?		# ACPI PCIe host bridge
d173 1
a173 1
pci*		at pcibus?
a179 3
ena*		at pci? dev ? function ?	# Amazon.com Elastic Network Adapter
mskc*		at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
msk*		at mskc?
a186 1
gxlphy*		at mii? phy ?		# Amlogic Meson GX internal PHY
d198 1
d214 2
a215 7
com*		at fdt?	pass 4			# UART
com*		at acpi?
mesonuart*	at fdt? pass 4			# Amlogic Meson UART
plcom*		at fdt?	pass 4			# ARM PL011 UART
plcom*		at acpi?
puc*		at pci? dev ? function ?	# PCI "universal" comm. cards
com*		at puc? port ?
a217 1
options 	I2C_MAX_ADDR=0xfff
d219 1
a219 4
dwiic*		at fdt?			# Designware I2C
dwiic*		at acpi?
rkiic*		at fdt?			# Rockchip I2C
sunxirsb*	at fdt?	pass 4		# Allwinner RSB
a226 1
spdmem*		at iic?			# memory module SPD EEPROM decoder
a230 1
fan53555reg*	at iic?			# FAN53555 / SY82x regulator
a232 2
rkpmic*		at iic?			# Rockchip Power Management IC
rkreg*		at rkpmic?
a235 2
amdccp*		at fdt?			# AMD Cryptograhic Coprocessor RNG
amdccp*		at acpi?
a236 1
mesonrng*	at fdt?			# Amlogic Meson RNG
a238 1
plrtc*		at fdt?			# ARM PrimeCell RTC
a243 1
mesongxmmc*	at fdt?			# Amlogic Meson GX eMMC/SD/SDIO controller
a244 1
rkemmcphy*	at fdt?			# Rockchip eMMC PHY
a256 1
ahcisata*	at acpi?
a261 4
# NVMe
nvme*		at pci? dev ? function ?
ld*		at nvme? nsid ?

a287 9
anxedp*		at iic?			# Analogix eDP TX
dispcon*	at fdt?			# Display connector devices
dwhdmi* 	at fdt?			# Designware HDMI TX
sunxide2bus*	at fdt? pass 4		# Allwinner DE2 bus
sunxidrm*	at fdt?	pass 5		# Allwinner Display Pipeline
sunxifb*	at sunxidrm?		# Allwinner DRM framebuffer
sunxihdmiphy*	at fdt? pass 9		# Allwinner HDMI TX PHY
sunxilcdc*	at fdt?			# Allwinner DE2 timing controller
sunximixer*	at fdt?			# Allwinner DE2 mixer
a302 2
options 	WSDISPLAY_MULTICONS
options 	WSDISPLAY_SCROLLSUPPORT
a304 2
options 	FONT_BOLD8x16
options 	FONT_BOLD16x32
a311 3
# Fan
pwmfan*		at fdt?			# PWM Fan controls

a314 1
rktsadc*	at fdt?			# RockChip TSASC
a316 3
mesonusbphy*	at fdt? pass 9		# Amlogic Meson USB2 PHY
mesongxlu2phy*	at fdt? pass 9		# Amlogic Meson GXL USB2 PHY
mesongxlu3phy*	at fdt? pass 9		# Amlogic Meson GXL USB3 PHY
a323 2
ehci*		at pci?			# EHCI
ehci*		at acpi?		# EHCI
a325 1
ohci*		at pci?			# OHCI
a326 2
xhci*		at pci?			# XHCI
xhci*		at acpi?		# XHCI
a331 14
# Virtio devices
virtio*		at fdt?			# Virtio MMIO device
virtio*		at acpi?
virtio*		at pci? dev ? function ?
#viomb*		at virtio?		# Virtio memory balloon device
ld*		at virtio?		# Virtio disk device
vioif*		at virtio?		# Virtio network device
viornd*		at virtio?		# Virtio entropy device
vioscsi*	at virtio?		# Virtio SCSI device

# SCSI bus support
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?	# SCSI disk drives

@


1.19.2.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d2 1
a2 1
#	$NetBSD$
a10 2
maxusers	64

d17 1
a17 1
makeoptions	DTSSUBDIR="allwinner amlogic broadcom freescale nvidia rockchip"
a18 1
	bcm2711-rpi-4-b.dts
d20 1
a21 1
	bcm2837-rpi-3-b.dts
a23 8
	imx8mq-evk.dts
	imx8mq-hummingboard-pulse.dts
	imx8mq-librem5-devkit.dts
	imx8mq-nitrogen.dts
	imx8mq-pico-pi.dts
	imx8mq-zii-ultra-rmb3.dts
	imx8mq-zii-ultra-zest.dts

a47 1
	rk3328-a1.dts
a58 5
	rk3399-hugsun-x99.dts
	rk3399-khadas-edge-captain.dts
	rk3399-khadas-edge-v.dts
	rk3399-khadas-edge.dts
	rk3399-leez-p710.dts
a60 3
	rk3399-nanopi-neo4.dts
	rk3399-orangepi.dts
	rk3399-pinebook-pro.dts
a61 1
	rk3399-roc-pc-mezzanine.dts
a71 2
	sun50i-a64-oceanic-5205-5inmfd.dts
	sun50i-a64-olinuxino-emmc.dts
a91 2
	sun50i-h6-beelink-gs1.dts
	sun50i-h6-orangepi-3.dts
a94 1
	sun50i-h6-tanix-tx6.dts
a99 1
	tegra210-p3450-0000.dts
a101 1

a124 3
#options 	UVMHIST
#options 	UVMHIST_PRINT,KERNHIST_DELAY=0

a126 1
#options 	EARLYCONS=bcm2711
d135 3
a137 7
# Kernel Address Sanitizer (kASan). The quarantine is optional and can
# help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics
# instead of warnings.
#makeoptions 	KASAN=1		# mandatory
#options 	KASAN		# mandatory
#options 	POOL_QUARANTINE	# optional
#options 	KASAN_PANIC	# optional
d174 1
a174 1
psci*		at fdt? pass 0
a194 2
bcmpmwdog*	at fdt?			# Broadcom BCM283x watchdog
dwcwdt* 	at fdt?			# DesignWare watchdog
d198 1
a207 1
imx7gpc*	at fdt? pass 2		# IMX GPCv2
a214 1
bcmmbox*	at acpi?
a235 1
imx8mqccm*	at fdt? pass 2		# NXP iMX8MQ CCM
d251 1
a251 2
bcmgpio*	at fdt? pass 3		# Broadcom BCM283x GPIO
imxgpio*	at fdt? pass 3		# IMX GPIO
a264 1
imxiomux*	at fdt? pass 2		# IMX IOMUX
a274 2
rkpcie*		at fdt?			# Rockchip AXI PCIE
rkpciephy*	at fdt? pass 9		# Rockchip AXI PCIE PHY
a282 6
enet*		at fdt?				# IMX FEC
genet*		at acpi?			# Broadcom GENET v5
genet*		at fdt?
#scx*		at acpi?			# Socionext Gigabit Ethernet
#scx*		at fdt?	
aq*		at pci? dev ? function ?	# Aquantia AQC 10 gigabit
a283 1
mcx*		at pci? dev ? function ?	# Mellanox 5th generation Ethernet
a286 1
wm*		at pci? dev ? function ?	# Intel Gigabit Ethernet
a288 2
atphy*		at mii? phy ?		# Attansic/Atheros PHYs
brgphy*		at mii? phy ?		# Broadcom BCM5400-family PHYs
a321 2
imxuart*	at fdt? pass 4			# IMX UART
options 	IMXUARTCONSOLE
a330 1
bsciic*		at acpi?
d333 1
a333 2
imxi2c*		at fdt? pass 4		# IMX I2C
rkiic*		at fdt? pass 4		# Rockchip I2C
a336 2
#sniiic*	at fdt?			# Socionext SC2A11 I2C
#sniiic*	at acpi?
a346 2
cwfg*		at iic?			# CellWise CW2015 Fuel Gauge IC
es8316ac*	at iic?			# Everest Semi ES8316 Audio CODEC
a358 1
sun8icrypto* 	at fdt?			# Allwinner Crypto Engine
d362 1
a362 1
sunxirtc*	at fdt? pass 4		# Allwinner RTC
a365 1
bcmsdhost*	at fdt?			# Broadcom BCM283x SD Host Interface
d368 1
a368 1
mmcpwrseq*	at fdt? pass 5		# Simple MMC power sequence provider
d371 1
a371 1
sdhc*		at acpi?
a372 2
#sniemmc*	at fdt?			# Socionext SC2A11 eMMC
#sniemmc*	at acpi?
a378 1
bwfm*		at sdmmc?		# Broadcom BCM43xxx WiFi Interface
a382 1
ahcisata*	at pci? dev ? function ?
a393 2
rkspi*		at fdt?			# Rockchip SPI
sun6ispi*	at fdt?			# Allwinner SPI
a394 2
m25p*		at spi?
spiflash*	at spiflashbus?
a397 1
hdaudio*	at pci? dev ? function ?
d400 1
a403 3
simpleamp*	at fdt?			# Simple amplifier
spdiftx*	at fdt?			# SPDIF transmitter
rki2s*		at fdt?			# Rockchip I2S/PCM
a417 1
anxdp*		at fdt?			# Analogix-based (e)DP
a419 1
panel*		at fdt?			# Display panels
a420 3
rkdrm*		at fdt? pass 5		# Rockchip DRM master
rkfb*		at rkdrm?		# Rockchip DRM framebuffer
rkvop*		at fdt?			# Rockchip Visual Output Processor
a450 3
#nouveau*	at pci?
radeon*		at pci? dev ? function ? # AMD Radeon
radeondrmkmsfb*	at radeonfbbus?
a463 1
imx8mqusbphy*	at fdt? pass 9		# IMX USB PHY
a485 1
pseudo-device	sequencer			# MIDI sequencer
a496 3
# SCSI controllers
mpt*		at pci? dev ? function ?

@


1.19.2.3
log
@Sync with HEAD
@
text
@d150 1
d153 1
a153 1
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
a166 13
# Pointer Authentication (PAC).
#makeoptions 	ARMV83_PAC=1
#options 	ARMV83_PAC

# Branch Target Identification (BTI).
#makeoptions 	ARMV85_BTI=1
#options 	ARMV85_BTI

# Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL
# if you want panics instead of warnings.
#options 	KUBSAN			# mandatory
#options 	UBSAN_ALWAYS_FATAL	# optional

d331 1
a331 1
#scx*		at fdt?
@


1.18
log
@Comment out EARLYCONS
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.17 2018/06/16 00:19:04 jmcneill Exp $
d35 1
@


1.17
log
@Add initial support for Rockchip RK3328 SoC.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.16 2018/06/14 10:56:39 jmcneill Exp $
d70 1
a70 1
options 	EARLYCONS=rk3328, CONSADDR=0xff130000
@


1.16
log
@Add support for QEMU ARM Virtual Machine ("virt").
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.15 2018/05/10 00:05:22 jmcneill Exp $
d17 1
a17 1
makeoptions	DTSSUBDIR="allwinner broadcom nvidia"
d21 4
d52 1
d70 1
d140 1
d156 1
d163 1
d177 1
d242 1
d316 2
@


1.15
log
@Add ausoc, sun8icodec, a64codec, sunxii2s
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.14 2018/05/10 00:02:10 jmcneill Exp $
d52 1
d67 1
@


1.14
log
@whitespace fix
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.13 2018/05/06 10:36:06 jmcneill Exp $
d259 1
d261 1
d263 2
@


1.13
log
@Add sunxipwm, pwmbacklight
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.12 2018/05/05 09:55:38 jmcneill Exp $
d217 1
a217 1
axpreg*	at 	axppmic?
@


1.12
log
@Add sun50ia64rccu
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.11 2018/05/04 21:09:55 jmcneill Exp $
d149 3
d291 3
@


1.11
log
@Rename axp806pmic to axppmic, and add support for AXP803.
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.10 2018/05/03 01:17:04 jmcneill Exp $
d135 1
@


1.10
log
@Add axp806pmic, axp806reg
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.9 2018/05/02 21:20:58 jmcneill Exp $
d212 2
a213 2
axp806pmic*	at iic?			# AXP805/806 Power Management IC
axp806reg*	at axp806pmic?
@


1.9
log
@Add sunxinmi
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.8 2018/05/02 11:02:42 jmcneill Exp $
d212 2
@


1.8
log
@Add sun50ih6rccu
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.7 2018/05/02 10:09:15 jmcneill Exp $
d108 1
@


1.7
log
@add pcf8563rtc
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.6 2018/05/02 00:02:15 jmcneill Exp $
d135 1
@


1.6
log
@Add sunxiusb3phy
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.5 2018/05/01 20:06:13 jmcneill Exp $
d211 1
@


1.5
log
@Enable Allwinner H6 support
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.4 2018/04/28 20:35:05 jmcneill Exp $
d288 1
@


1.4
log
@Enable motg
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.3 2018/04/28 20:30:50 jmcneill Exp $
d38 2
d51 1
d134 1
@


1.3
log
@Enable Allwinner SID and thermal sensor controller
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.2 2018/04/28 18:42:20 jmcneill Exp $
d287 1
a287 1
#motg*		at fdt?			# Mentor Graphics USB OTG
@


1.2
log
@Add sun50i-a64-teres-i.dts, sun50i-h5-orangepi-zero-plus.dts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.1 2018/04/01 04:35:04 ryo Exp $
d119 1
d279 1
@


1.1
log
@Add initial support for ARMv8 (AARCH64) (by nisimura@@ and ryo@@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@@, jmcneill@@)
@
text
@d2 1
a2 1
#	$NetBSD$
d29 1
d35 1
@


1.1.2.1
log
@file GENERIC64 was added on branch pgoyette-compat on 2018-04-07 04:12:12 +0000
@
text
@d1 291
@


1.1.2.2
log
@Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$
@
text
@a0 291
#
#	$NetBSD: GENERIC64,v 1.1 2018/04/01 04:35:04 ryo Exp $
#
#	GENERIC ARM (aarch64) kernel
#

include	"arch/evbarm/conf/std.generic64"
include "arch/evbarm/conf/files.generic64"
include	"arch/evbarm/conf/GENERIC.common"

#
# FDT files supported by this kernel - add to DTSSUBDIR and DTS as
# appropriate
#
makeoptions 	DTSARCH="arm aarch64"
makeoptions	DTSGNUARCH="arm arm64"
makeoptions	DTSSUBDIR="allwinner broadcom nvidia"
makeoptions	DTS="
	bcm2837-rpi-3-b.dts

	sun50i-a64-bananapi-m64.dts
	sun50i-a64-nanopi-a64.dts
	sun50i-a64-olinuxino.dts
	sun50i-a64-orangepi-win.dts
	sun50i-a64-pine64-plus.dts
	sun50i-a64-pine64.dts
	sun50i-a64-pinebook.dts
	sun50i-a64-sopine-baseboard.dts

	sun50i-h5-nanopi-neo-plus2.dts
	sun50i-h5-nanopi-neo2.dts
	sun50i-h5-orangepi-pc2.dts
	sun50i-h5-orangepi-prime.dts
	sun50i-h5-orangepi-zero-plus2.dts

	tegra210-p2371-0000.dts
	tegra210-p2371-2180.dts
	tegra210-p2571.dts
	tegra210-smaug.dts
"
options 	CPU_CORTEXA53
options 	CPU_CORTEXA57
options 	SOC_BCM2837
options 	SOC_TEGRA210
options 	SOC_SUN50I_A64
options 	SOC_SUN50I_H5
#options 	MULTIPROCESSOR

pseudo-device 	openfirm	# /dev/openfirm

options 	DIAGNOSTIC	# internal consistency checks
options 	DEBUG
#options 	LOCKDEBUG
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
#options 	EARLYCONS=bcm2837
#options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
#options 	EARLYCONS=tegra, CONSADDR=0x70006000

makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

config		netbsd		root on ? type ?

# Device tree support
armfdt0		at root
fdt*		at fdtbus?

# CPUs
cpus*		at fdt? pass 0
cpu*		at cpus?

# CPU frequency scaling
cpufreqdt*	at cpu?

# Power State Coordination Interface (PSCI)
psci*		at fdt?

fclock*		at fdt? pass 1
ffclock*	at fdt? pass 1
fregulator*	at fdt? pass 4
gregulator*	at fdt? pass 4
gpiokeys*	at fdt?
wskbd*		at gpiokeys? console ? mux 1
gpioleds*	at fdt?

# Timer
gtmr*		at fdt? pass 1		# ARM Generic Timer
armgtmr0	at gtmr?
tegratimer*	at fdt?			# Timers

# Watchdog
sunxiwdt*	at fdt?			# Allwinner watchdog
watchdog*	at fdt?			# Broadcom BCM283x watchdog

# Interrupt controller
bcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
tegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
gic*		at fdt? pass 1		# ARM GIC
armgic0		at gic?

# Memory controller
tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC

# Firmware devices
bcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
vcmbox*		at bcmmbox?

# DMA controller
bcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA

# FUSE controller
tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE

# Power management controller
tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC

# Clock and Reset controller
bcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
bcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
sunxigates*	at fdt? pass 1		# Allwinner misc. gates
sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)

# GPIO controller
bcmgpio*	at fdt?			# Broadcom BCM283x GPIO
sunxigpio*	at fdt? pass 3		# Allwinner GPIO
tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
gpio*		at gpiobus?

# MPIO / Pinmux
tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO

# XUSB PADCTL
tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
tegra210xphy*	at tegra210xpad?

# PCIE
tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
pci*		at tegrapcie0
ppb*		at pci? dev ? function ?
pci*		at ppb?

# Ethernet
emac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
re*		at pci? dev ? function ?	# Realtek RTL8111GS

# MII/PHY support
exphy* 		at mii? phy ?		# 3Com internal PHYs
gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
igphy*		at mii? phy ?		# Intel IGP01E1000
ihphy*		at mii? phy ?		# Intel 82577 PHYs
ikphy*		at mii? phy ?		# Intel 82563 PHYs
inphy*		at mii? phy ?		# Intel 82555 PHYs
iophy*		at mii? phy ?		# Intel 82553 PHYs
lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
nsphy*		at mii? phy ?		# NS83840 PHYs
nsphyter*	at mii? phy ? 		# NS83843 PHYs
pnaphy*		at mii? phy ?		# generic HomePNA PHYs
qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
tlphy*		at mii? phy ?		# ThunderLAN PHYs
tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
ukphy*		at mii? phy ?		# generic unknown PHYs

# Mini-PCIe Wireless
#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11

# UART
com*		at fdt?			# UART
plcom*		at fdt?			# ARM PL011 UART

# I2C controllers
bsciic*		at fdt?			# Broadcom BCM283x Serial Control
sunxirsb*	at fdt?			# Allwinner RSB
sunxitwi*	at fdt?			# Allwinner TWI
tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
iic*		at i2cbus?

# I2C devices
titemp*		at iic?
seeprom*	at iic?
as3722pmic*	at iic?
as3722reg*	at as3722pmic?
max77620pmic*	at iic?
tcagpio*	at iic?

# Random number generators
bcmrng*		at fdt?			# Broadcom BCM283x RNG

# RTC
sunxirtc*	at fdt?			# Allwinner RTC
tegrartc*	at fdt?			# NVIDIA Tegra RTC

# SDMMC
mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
sdhc*		at fdt?			# SD Host Controller Interface
sdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
sunximmc*	at fdt?			# Allwinner SD/MMC
sdmmc*		at sdmmcbus?
ld0		at sdmmc0
ld1		at sdmmc1
ld2		at sdmmc2
ld3		at sdmmc3
ld*		at sdmmc?

# SATA
ahcisata*	at fdt?			# AHCI SATA
atabus*		at ata?
atapibus*	at atapi?
wd*		at atabus? drive ?
cd*		at atapibus? drive ?

# SPI controllers
bcmspi*		at fdt?			# Broadcom BCM283x SPI
spi*		at spibus?

# Audio support
hdaudio*	at fdt?			# Intel HDA
hdafg*		at hdaudiobus?
options 	HDAUDIOVERBOSE
options 	HDAUDIO_32BIT_ACCESS
options 	HDAUDIO_ENABLE_HDMI
options 	HDAUDIO_ENABLE_DISPLAYPORT
sunxicodec*	at fdt?			# Allwinner audio codec
h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
audio*		at audiobus?

spkr*		at audio?		# PC speaker (synthesized)

# HDMI CEC
tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
hdmicec*	at hdmicecbus?

# Display
#tegradrm*	at fdt?			# NVIDIA Tegra Display
#tegrafb*	at tegrafbbus?
genfb*		at fdt?			# Simple Framebuffer
wsdisplay*	at wsemuldisplaydev?
options 	VCONS_DRAW_INTR
options 	WSEMUL_VT100
options 	WS_DEFAULT_FG=WSCOL_WHITE
options 	WS_DEFAULT_BG=WSCOL_BLACK
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_BLACK
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_COMPAT_RAWKBD
options 	WSDISPLAY_DEFAULTSCREENS=4
pseudo-device	wsmux
pseudo-device	wsfont

# GPU
#nouveau*	at fdt?			# NVIDIA GPU

# Thermal throttling controller
tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM

# USB
sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
dwctwo*		at fdt?			# Designware USB DRD
ehci*		at fdt?			# EHCI
#motg*		at fdt?			# Mentor Graphics USB OTG
ohci*		at fdt?			# OHCI
xhci*		at fdt?			# XHCI
usb*		at usbus?

include "dev/usb/usbdevices.config"
midi*		at midibus?

cinclude "arch/evbarm/conf/GENERIC64.local"
@


1.1.2.3
log
@Synch with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.6 2018/05/02 00:02:15 jmcneill Exp $
a28 1
	sun50i-a64-teres-i.dts
a33 1
	sun50i-h5-orangepi-zero-plus.dts
a35 2
	sun50i-h6-pine-h64.dts

a46 1
options 	SOC_SUN50I_H6
a116 1
sunxisid*	at fdt? pass 4		# Allwinner SID
a127 1
sun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
a275 1
sunxithermal*	at fdt?			# Allwinner thermal sensor controller
a279 1
sunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
d283 1
a283 1
motg*		at fdt?			# Mentor Graphics USB OTG
@


1.1.2.4
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.15 2018/05/10 00:05:22 jmcneill Exp $
a107 1
sunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC
a133 1
sun50ia64rccu*	at fdt? pass 2		# Allwinner A64 CCU (PRCM)
a134 1
sun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
a145 3
# PWM controller
sunxipwm*	at fdt? pass 3		# Allwinner PWM

a209 2
axppmic*	at iic?			# X-Powers AXP Power Management IC
axpreg*		at axppmic?
a210 1
pcf8563rtc*	at iic?			# PCF8563 RTC
a249 1
ausoc*		at fdt?			# Simple SoC audio card
a250 1
sun8icodec*	at fdt?			# Allwinner audio codec (sun8i/sun50i)
a251 2
a64acodec*	at fdt?			# Allwinner A64 audio codec (analog part)
sunxii2s*	at fdt?			# Allwinner I2S/PCM
a281 3
# Backlight
pwmbacklight*	at fdt?			# PWM Backlight controls

@


1.1.2.5
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.18 2018/06/16 14:41:25 jmcneill Exp $
d17 1
a17 1
makeoptions	DTSSUBDIR="allwinner broadcom nvidia rockchip"
a20 4
	rk3328-evb.dts
	rk3328-roc-cc.dts
	rk3328-rock64.dts

a47 1
options 	SOC_RK3328
a51 1
options 	SOC_VIRT
a63 1
#options 	EARLYCONS=rk3328, CONSADDR=0xff130000
a65 1
#options 	EARLYCONS=virt
a131 1
rkcru*		at fdt? pass 2		# Rockchip RK3328 CRU
a146 1
rkgpio*		at rkiomux?		# Rockchip GPIO
a152 1
rkiomux*	at fdt?	pass 2		# Rockchip IOMUX
a165 1
awge*		at fdt?				# DesignWare Gigabit Ethernet
a229 1
dwcmmc*		at fdt?			# Designware SD/MMC
a302 2
rkusb*		at fdt? pass 9		# Rockchip USB PHY
rkusbphy*	at rkusb?
@


1.1.2.6
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.29 2018/07/15 18:00:14 jmcneill Exp $
a19 1
	bcm2837-rpi-3-b-plus.dts
a34 1
	sun50i-h5-libretech-all-h3-cc.dts
d58 1
a58 1
options 	MULTIPROCESSOR
d66 1
d82 1
a82 1
simplebus*	at fdt? pass 0
d86 1
a86 5
cpu*		at fdt? pass 0

# Performance monitors
armpmu*		at fdt?
pseudo-device	tprof
a101 3
# System Controller
syscon*		at fdt? pass 1		# Generic System Controller

a217 1
rkiic*		at fdt?			# Rockchip I2C
@


1.1.2.7
log
@Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.34 2018/09/02 01:17:23 jmcneill Exp $
a25 8
	rk3399-evb.dts
	rk3399-firefly.dts
	rk3399-gru-kevin.dts
	rk3399-puma-haikou.dts
	rk3399-rockpro64.dts
	rk3399-sapphire-excavator.dts
	rk3399-sapphire.dts

a54 1
options 	SOC_RK3399
a71 1
#options 	EARLYCONS=rk3399, CONSADDR=0xff1a0000
d122 1
a122 1
gic*		at fdt? pass 1		# ARM GICv2
a123 1
gicvthree*	at fdt? pass 1		# ARM GICv3
d171 1
a171 1
rkiomux*	at fdt?	pass 3		# Rockchip IOMUX
a238 1
fan53555reg*	at iic?			# FAN53555 / SY82x regulator
a240 2
rkpmic*		at iic?			# Rockchip Power Management IC
rkreg*		at rkpmic?
@


1.1.2.8
log
@Ssync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.39 2018/09/29 16:02:09 jmcneill Exp $
a172 1
pl061gpio*	at fdt?			# ARM PrimeCell PL061 GPIO
a189 1
pcihost*	at fdt?			# Generic PCI host controller
d191 1
a191 1
pci*		at pcibus? 
a197 2
mskc*		at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
msk*		at mskc?
d232 2
a233 2
com*		at fdt?	pass 4		# UART
plcom*		at fdt?	pass 4		# ARM PL011 UART
a236 1
dwiic*		at fdt?			# Designware I2C
a245 1
spdmem*		at iic?			# memory module SPD EEPROM decoder
a324 1
options 	WSDISPLAY_MULTICONS
a345 1
ehci*		at pci?			# EHCI
a347 1
ohci*		at pci?			# OHCI
a348 1
xhci*		at pci?			# XHCI
a353 8
# Virtio devices
virtio*		at fdt?			# Virtio MMIO device
#viomb*		at virtio?		# Virtio memory balloon device
ld*		at virtio?		# Virtio disk device
vioif*		at virtio?		# Virtio network device
viornd*		at virtio?		# Virtio entropy device
vioscsi*	at virtio?		# Virtio SCSI device

@


1.1.2.9
log
@Sync with head
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.52 2018/10/19 21:09:09 jakllsch Exp $
d64 1
a67 2
options 	SOC_TEGRA210
#options 	SOC_THUNDERX
a83 1
#options 	EARLYCONS=thunderx, CONSADDR=0x87e024000000
a90 3
options 	COMPAT_NETBSD32
options 	EXEC_ELF32

a94 4
# ACPI support
acpifdt*	at fdt? pass 1
acpi*		at acpifdt?

a97 1
cpu*		at acpi?
a121 1
gtmr*		at acpi?
a132 1
gic*		at acpi?
a142 1
qemufwcfg*	at fdt?			# QEMU Firmware Configuration device
d173 1
a173 2
plgpio*		at fdt?			# ARM PrimeCell PL061 GPIO
plgpio*		at acpi?
a191 1
acpipchb*	at acpi?		# ACPI PCIe host bridge
a237 1
plcom*		at acpi?
a241 1
dwiic*		at acpi?
a264 2
amdccp*		at fdt?			# AMD Cryptograhic Coprocessor RNG
amdccp*		at acpi?
a266 1
plrtc*		at fdt?			# ARM PrimeCell RTC
a284 1
ahcisata*	at acpi?
@


1.1.2.10
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.66 2018/11/23 12:15:14 skrll Exp $
a60 1
options 	CPU_THUNDERX
a87 4
# Kernel Address Sanitizer (kASan).
#makeoptions 	KASAN=1		# Kernel Address Sanitizer
#options 	KASAN

a95 3
# EFI runtime support
options 	EFI_RUNTIME

a102 3
acpibut*	at acpi?
acpiged*	at acpi?
acpilid*	at acpi?
a136 1
sbsawdt*	at acpi?		# ARM SBSA-compliant watchdog
a146 1
gicvthree*	at acpi?
a155 1
qemufwcfg*	at acpi?
d208 1
a208 1
pci*		at pcibus?
a374 1
ehci*		at acpi?		# EHCI
a379 1
xhci*		at acpi?		# XHCI
a386 2
virtio*		at acpi?
virtio*		at pci? dev ? function ?
a392 4
# SCSI bus support
scsibus*	at scsi?
sd*		at scsibus? target ? lun ?	# SCSI disk drives

@


1.1.2.11
log
@Sync with HEAD, resolve a few conflicts
@
text
@d2 1
a2 1
#	$NetBSD$
a228 1
ena*		at pci? dev ? function ?	# Amazon.com Elastic Network Adapter
d265 2
a266 3
com*		at fdt?	pass 4			# UART
com*		at acpi?
plcom*		at fdt?	pass 4			# ARM PL011 UART
a267 2
puc*		at pci? dev ? function ?	# PCI "universal" comm. cards
com*		at puc? port ?
a324 4
# NVMe
nvme*		at pci? dev ? function ?
ld*		at nvme? nsid ?

@


1.1.2.12
log
@Synch with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.1.2.11 2018/12/26 14:01:35 pgoyette Exp $
d75 2
a76 2
#options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
a79 1
options 	INCLUDE_CONFIG_FILE
d278 1
a278 1
sunxirsb*	at fdt?	pass 4		# Allwinner RSB
@


1.1.2.13
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: GENERIC64,v 1.1.2.12 2019/01/18 08:50:16 pgoyette Exp $
a140 1
sunxisramc*	at fdt? pass 1		# Allwinner System Control
a193 1
sunxide2ccu*	at fdt? pass 2		# Allwinner DE2 clock controller
a380 1
sunxide2bus*	at fdt?			# Allwinner DE2 bus
@


