<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rhel7-kernel-misery/arch, branch master</title>
<subtitle>Attempts to make the RHEL7 kernel work in minimal CI</subtitle>
<id>https://git.zx2c4.com/rhel7-kernel-misery/atom/arch?h=master</id>
<link rel='self' href='https://git.zx2c4.com/rhel7-kernel-misery/atom/arch?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/'/>
<updated>2020-11-04T09:03:00Z</updated>
<entry>
<title>mm: do not assume generic_max_swapfile_size exists</title>
<updated>2020-11-04T09:03:00Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-11-04T09:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=35ffc2a00fe3b8be8ccd9158a88595d9094a6269'/>
<id>urn:sha1:35ffc2a00fe3b8be8ccd9158a88595d9094a6269</id>
<content type='text'>
For CONFIG_SWAP=n configurations, generic_max_swapfile_size is not
compiled in, so conditionalize this statement.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: clear smap in cr4 when not used</title>
<updated>2020-09-30T14:46:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-06-20T00:07:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=f33db22cf6467e06805aec240ced40916c550492'/>
<id>urn:sha1:f33db22cf6467e06805aec240ced40916c550492</id>
<content type='text'>
If the CPU supports SMAP, but it isn't specified in the config, then we
need to explicitly clear it from cr4. Otherwise the processor will trap
on all normal userspace accesses, always, since the transition state
isn't being set.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: remove errant CFI usage from rwlock</title>
<updated>2020-09-30T14:46:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T03:25:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=1013aca961d8dd47191b4371da95a26ccfb60689'/>
<id>urn:sha1:1013aca961d8dd47191b4371da95a26ccfb60689</id>
<content type='text'>
These don't assemble with newer binutils due to the use of the cfi
directives, so simply remove them, since they're anyway just for
debugging.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>spec_ctrl: don't dereference struct module without CONFIG_MODULE</title>
<updated>2020-09-30T14:46:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T01:44:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=61e6dbd92fc94f67e7e24ce0bf5bf9d55d1bbdd9'/>
<id>urn:sha1:61e6dbd92fc94f67e7e24ce0bf5bf9d55d1bbdd9</id>
<content type='text'>
This structure isn't defined for !CONFIG_MODULE, so don't try to use it.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: mark irq_set_vcpu_affinity stub as static</title>
<updated>2020-09-30T14:46:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T01:43:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=757886521c963e997f3f60aa6e88ea74f8a3916f'/>
<id>urn:sha1:757886521c963e997f3f60aa6e88ea74f8a3916f</id>
<content type='text'>
Without marking this as static, the linker complaints about conflicts.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: mshyperv: don't touch kexec symbols without CONFIG_KEXEC_CORE</title>
<updated>2020-09-30T14:46:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T01:27:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=f1ecb543fffe2fd334f932fb43c548612941d023'/>
<id>urn:sha1:f1ecb543fffe2fd334f932fb43c548612941d023</id>
<content type='text'>
These symbols aren't defined without CONFIG_KEXEC_CORE, so factor it out of
the expression in the case that CONFIG_KEXEC_CORE isn't defined.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: kaiser_enabled isn't always defined</title>
<updated>2020-09-30T14:46:02Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T01:20:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=8258fd4244740abbf9c9386681dcde960b30a7c3'/>
<id>urn:sha1:8258fd4244740abbf9c9386681dcde960b30a7c3</id>
<content type='text'>
This symbol only exists when CONFIG_PAGE_TABLE_ISOLATION is set, so
don't use it otherwise.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: fault: do not define trace function for !CONFIG_TRACING</title>
<updated>2020-09-30T14:25:42Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T01:01:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=210cd60d993e023a293b403eb4886dfb8c8acbc9'/>
<id>urn:sha1:210cd60d993e023a293b403eb4886dfb8c8acbc9</id>
<content type='text'>
Do not define the page fault tracing function for !CONFIG_TRACING, when
the header file has a static inline function to redirect it elsewhere.
Having both results in a compiler error.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: do not evaluate sometimes-undefined _PAGE_BIT_SWP_SOFT_DIRTY</title>
<updated>2020-09-30T14:25:42Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T00:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=58d4fb961436e227168d60812e8b5d023f6eead7'/>
<id>urn:sha1:58d4fb961436e227168d60812e8b5d023f6eead7</id>
<content type='text'>
In certain configurations, _PAGE_BIT_SWP_SOFT_DIRTY is undefined,
resulting in preprocessor warnings. Fix this by checking whether it's
defined first.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
<entry>
<title>x86: pud_trans_huge is already defined generically for the nop inline</title>
<updated>2020-09-30T14:25:42Z</updated>
<author>
<name>Jason A. Donenfeld</name>
<email>Jason@zx2c4.com</email>
</author>
<published>2020-05-25T00:48:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/rhel7-kernel-misery/commit/?id=eb9589e5c7ddcf59702ef7b105eb3a1ef065887a'/>
<id>urn:sha1:eb9589e5c7ddcf59702ef7b105eb3a1ef065887a</id>
<content type='text'>
When pud_trans_huge is not required, the stub function is already
defined in the asm-generic code, so adding it here too results in a
compiler error. To fix this bug, we just get rid of the second
superfluous definition, as well as the third in asm-generic itself,
where the set of conditions for its inclusion overlapped.

Signed-off-by: Jason A. Donenfeld &lt;Jason@zx2c4.com&gt;
</content>
</entry>
</feed>
