<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/modules/linux, branch upstream/10.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=upstream%2F10.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-07-17T15:23:32Z</updated>
<entry>
<title>MFC r302517:</title>
<updated>2016-07-17T15:23:32Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-07-17T15:23:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=74ab28929de93cd01eb398cc2e8c04ce67763dad'/>
<id>urn:sha1:74ab28929de93cd01eb398cc2e8c04ce67763dad</id>
<content type='text'>
Fix a copy/paste bug introduced during X86_64 Linuxulator work.
FreeBSD support NX bit on X86_64 processors out of the box, for i386 emulation
use READ_IMPLIES_EXEC flag, introduced in r302515.

While here move common part of mmap() and mprotect() code to the files in compat/linux
to reduce code dupcliation between Linuxulator's.

MFC r302518, r302626:

Add linux_mmap.c to the appropriate conf/files.
</content>
</entry>
<entry>
<title>MFC r283506 (by rodrigc):</title>
<updated>2016-01-09T18:06:38Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T18:06:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2519edb46798473643fdd261d6ba5d6c52ca152'/>
<id>urn:sha1:d2519edb46798473643fdd261d6ba5d6c52ca152</id>
<content type='text'>
For objcopy, use --input-target and --output-target

When building with gcc 4.9 and binutils 2.25,
using '--input' and '--output' returns an error
message:
   objcopy: option `--input' is ambiguous
</content>
</entry>
<entry>
<title>MFC r283474:</title>
<updated>2016-01-09T17:29:08Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T17:29:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=37c351ae91c376cddfa996ea56f4137b8f1c6687'/>
<id>urn:sha1:37c351ae91c376cddfa996ea56f4137b8f1c6687</id>
<content type='text'>
Rework signal code to allow using it by other modules, like linprocfs:

1. Linux sigset always 64 bit on all platforms. In order to move Linux
sigset code to the linux_common module define it as 64 bit int. Move
Linux sigset manipulation routines to the MI path.

2. Move Linux signal number definitions to the MI path. In general, they
are the same on all platforms except for a few signals.

3. Map Linux RT signals to the FreeBSD RT signals and hide signal conversion
tables to avoid conversion errors.

4. Emulate Linux SIGPWR signal via FreeBSD SIGRTMIN signal which is outside
of allowed on Linux signal numbers.

PR:             197216
</content>
</entry>
<entry>
<title>MFC r283441:</title>
<updated>2016-01-09T16:44:17Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T16:44:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=31b618cf3c0a3f1bc0fee462e0edc340f07b8612'/>
<id>urn:sha1:31b618cf3c0a3f1bc0fee462e0edc340f07b8612</id>
<content type='text'>
Implement epoll family system calls. This is a tiny wrapper
around kqueue() to implement epoll subset of functionality.
The kqueue user data are 32bit on i386 which is not enough for
epoll user data, so we keep user data in the proc emuldata.

Initial patch developed by rdivacky@ in 2007, then extended
by Yuri Victorovich @ r255672 and finished by me
in collaboration with mjg@ and jillies@.
</content>
</entry>
<entry>
<title>MFC r283422:</title>
<updated>2016-01-09T16:11:09Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T16:11:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9b4b9d2f4c811884d2ba4dd54a64b5400ea39a8d'/>
<id>urn:sha1:9b4b9d2f4c811884d2ba4dd54a64b5400ea39a8d</id>
<content type='text'>
Refund the proc emuldata struct for future use. For now move flags from
thread emuldata to proc emuldata as it was originally intended.

As we can have both 64 &amp; 32 bit Linuxulator running any eventhandler
can be called twice for us. To prevent this move eventhandlers code
from linux_emul.c to the linux_common.ko module.
</content>
</entry>
<entry>
<title>MFC r283421:</title>
<updated>2016-01-09T16:08:22Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T16:08:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2c13d94fc006aae26e03b5ded4f8ea8193fe67e'/>
<id>urn:sha1:d2c13d94fc006aae26e03b5ded4f8ea8193fe67e</id>
<content type='text'>
Introduce a new module linux_common.ko which is intended for the
following primary purposes:

1. Remove the dependency of linsysfs and linprocfs modules from linux.ko,
which will be architecture specific on amd64.

2. Incorporate into linux_common.ko general code for platforms on which
we'll support two Linuxulator modules (for both instruction set - 32 &amp; 64 bit).

3. Move malloc(9) declaration to linux_common.ko, to enable getting memory
usage statistics properly.

Currently linux_common.ko incorporates a code from linux_mib.c and linux_util.c
and linprocfs, linsysfs and linux kernel modules depend on linux_common.ko.

Temporarily remove dtrace garbage from linux_mib.c and linux_util.c
</content>
</entry>
<entry>
<title>MFC r283407:</title>
<updated>2016-01-09T15:44:38Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2016-01-09T15:44:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=42c3493012922e049b0f8be179a19d0f7c2a0f19'/>
<id>urn:sha1:42c3493012922e049b0f8be179a19d0f7c2a0f19</id>
<content type='text'>
Implement vdso - virtual dynamic shared object. Through vdso Linux
exposes functions from kernel with proper DWARF CFI information so that
it becomes easier to unwind through them.
Using vdso is a mandatory for a thread cancelation &amp;&amp; cleanup
on a modern glibc.
</content>
</entry>
<entry>
<title>MFC r273683</title>
<updated>2014-12-30T22:22:46Z</updated>
<author>
<name>Neel Natu</name>
<email>neel@FreeBSD.org</email>
</author>
<published>2014-12-30T22:22:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f371ac9fb3d200118a57542a039466a0bf63678e'/>
<id>urn:sha1:f371ac9fb3d200118a57542a039466a0bf63678e</id>
<content type='text'>
Move the ACPI PM timer emulation into vmm.ko.

MFC r273706
Change the type of the first argument to the I/O emulation handlers to
'struct vm *'.

MFC r273710
Add a comment explaining the intent behind the I/O reservation [0x72-0x77].

MFC r273744
Add foo_genassym.c files to DPSRCS so dependencies for them are generated.
This ensures these objects are rebuilt to generate an updated header of
assembly constants if needed.

MFC r274045
If the start bit, PxCMD.ST, is cleared and nothing is in-flight then
PxCI, PxSACT, PxCMD.CCS and PxCMD.CR should be 0.

MFC r274076
Improve the ability to cancel an in-flight request by using an interrupt,
via SIGCONT, to force the read or write system call to return prematurely.

MFC r274330
To allow a request to be submitted from within the callback routine of
a completing one increase the total by 1 but don't advertise it.

MFC r274931
Change the lower bound for guest vmspace allocation to 0 instead of using
the VM_MIN_ADDRESS constant.

MFC r275817
For level triggered interrupts clear the PIC IRR bit when the interrupt pin
is deasserted.

MFC r275850
Fix 8259 IRQ priority resolver.

MFC r275952
Various 8259 device model improvements.

MFC r275965
Emulate writes to the IA32_MISC_ENABLE MSR.
</content>
</entry>
<entry>
<title>MFC r271743:</title>
<updated>2014-09-23T07:50:04Z</updated>
<author>
<name>Bjoern A. Zeeb</name>
<email>bz@FreeBSD.org</email>
</author>
<published>2014-09-23T07:50:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8a7ffee45dabd8b260a2fd8154797488d4f5a807'/>
<id>urn:sha1:8a7ffee45dabd8b260a2fd8154797488d4f5a807</id>
<content type='text'>
  Implement most of timer_{create,settime,gettime,getoverrun,delete}
  for amd64/linux32.  Fix the entirely bogus (untested) version from
  r161310 for i386/linux using the same shared code in compat/linux.

  It is unclear to me if we could support more clock mappings but
  the current set allows me to successfully run commercial
  32bit linux software under linuxolator on amd64.

  Reviewed by:			jhb
  Differential Revision:	D784
Sponsored by:			DARPA, AFRL
Approved by:			re (gjb)
</content>
</entry>
<entry>
<title>Revert r255672, it has some serious flaws, leaking file references etc.</title>
<updated>2013-09-18T18:48:33Z</updated>
<author>
<name>Roman Divacky</name>
<email>rdivacky@FreeBSD.org</email>
</author>
<published>2013-09-18T18:48:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b12698e1a1735aa1dedd8e89c2a6e435a7e40681'/>
<id>urn:sha1:b12698e1a1735aa1dedd8e89c2a6e435a7e40681</id>
<content type='text'>
Approved by:	re (delphij)
</content>
</entry>
</feed>
