bf140447 pfg Aug. 23, 2016, 3:49 p.m.
While correct, the previous invocation was somewhat more error prone.

Pointed out by:	delphij, bde
cgit ViewVC
dd9faf6d andrew Aug. 23, 2016, 3:48 p.m.
finding the vm_page_t in pmap_extract_and_hold. Previously it would return
the vm_page_t of the first page in a block. This would cause issues when,
for example, fsck reads from a device into the middle of a superpage. In
this case the read call would write to the start of the block, and not to
the buffer passed in.

Obtained from:	ABT Systems Ltd
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
cgit ViewVC
38359266 pfg Aug. 23, 2016, 3:46 p.m.
Taken from:	Piotr Sephaniak
cgit ViewVC
5f0230cb bdrewery Aug. 23, 2016, 3:31 p.m.
c472a0f8 bdrewery Aug. 23, 2016, 3:22 p.m.
This was disabled in r301468 due to -target/--sysroot sometimes being used in
the build and other times not being used.  Now that it is always used since
r304681, it is safe to combine the features.

MFC after:	3 days
Sponsored by:	EMC / Isilon Storage Division
cgit ViewVC
bb0cd1b5 bdrewery Aug. 23, 2016, 3:20 p.m.
The internal bootstrap compiler has a default sysroot set by TOOLS_PREFIX
and target set by TARGET/TARGET_ARCH.  However, there are several needs to
always pass an explicit --sysroot and -target.
- External compiler needs sysroot and target flags.
- External ld needs sysroot.
- To be clear about the use of a sysroot when using the internal compiler.
- Easier debugging.
- Allowing WITH_SYSTEM_COMPILER+WITH_META_MODE to work together due to
  the flip-flopping build command when sometimes using external and
  sometimes using internal.
- Allow using no lld which has support for default paths.

The default sysroot in the bootstrap compiler is not changed.  The
buildenv compiler will still work with its default and will also
include -target/--sysroot from CC in the environment.

MFC after:	3 days
Discussed with:	emaste, brooks (BSDCam)
Reviewed by:	emaste
Sponsored by:	EMC / Isilon Storage Division
cgit ViewVC
add3a4c2 bapt Aug. 23, 2016, 1:53 p.m.
It prevents issuing a dhcp request before each file open
As a consequence netbooting over tftpfs is significantly faster

Sponsored by:	Gandi.net
cgit ViewVC
bf6911cd araujo Aug. 23, 2016, 1:43 p.m.
fb22f749 bapt Aug. 23, 2016, 1:35 p.m.
Allow netbooting on efi without having to setup any NFS server by rebuilding the
loader with LOADER_TFTP_SUPPORT like for the i386 pxeloader

Sponsored by:	Gandi.net
cgit ViewVC
5ddd0f16 araujo Aug. 23, 2016, 1:19 p.m.
MFC after:	4 weeks.
cgit ViewVC
a48ec78e avg Aug. 23, 2016, 10:40 a.m.
This code should be able to support later AMD chipsets as well, but that
hasn't been tested.

SB800 supports accessing several different SMBus buses using the same
set of constrol registeirs plus special PMIO registers that control which
bus is selected.  This could be exposed to consumers as several smb devices
each talking to its bus.  This feature is not implemented yet.

MFC after:	2 weeks
cgit ViewVC
3b62842a jhibbits Aug. 23, 2016, 4:37 a.m.
Summary:
There is no need to call tlb1_init() twice. Now it is called first time from
booke_init() and second time from powerpc_init() (where it is under BOOKE
switch). Although this does not cause immediate problems in the mainline kernel,
this can lead to undesirable side effects like two TLB entries with the same VA
in the TLB1. Presence of two TLB entries with the same VA can hang CPU.

Test Plan:
Add initial mapping for UART to the tlb1_init(), build and boot the kernel,
ensure that mapping presents only once (most convinient way - through Lauterbah
or similar hardware debugger)

Submitted by:	Ivan Krivonos <int0dster_gmail.com>
Differential Revision: https://reviews.freebsd.org/D7607
cgit ViewVC
81ef73fb jhibbits Aug. 23, 2016, 4:26 a.m.
Summary: Current booke/pmap code ignores mas7 and mas8 on e6500 CPU.

Submitted by:	Ivan Krivonos <int0dster_gmail.com>
Differential Revision: https://reviews.freebsd.org/D7606
cgit ViewVC
1ba241d2 sephe Aug. 23, 2016, 2:54 a.m.
So that Hyper-V can leverage them instead of rolling its own definition.

Discussed with:	hps
Reviewed by:	hps
MFC after:	1 week
Sponsored by:	Microsoft
Differential Revision:	https://reviews.freebsd.org/D7592
cgit ViewVC
8e7c1235 pfg Aug. 23, 2016, 2:07 a.m.
Coverity correctly reported that it's impossible for /comparison/ to be 0
here, because the only way for the for loop to end is by /comparison/
being < 0.

Fortunately the consequences of this bug weren't severe; for duplicated
entries in the typedef names file it would unnecessarily duplicate strings
with strdup(), but pointers to those would replace existing ones. So this
was a memory leak at worst.

CID:	 1361477
Obtained from:	 Piotr Stephaniak
cgit ViewVC