<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux-2.4.git, branch master</title>
<subtitle>Linux Kernel 2.4
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/atom?h=master</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/'/>
<updated>2012-10-05T22:35:00Z</updated>
<entry>
<title>Relax si_code check in rt_sigqueueinfo and rt_tgsigqueueinfo</title>
<updated>2012-10-05T22:35:00Z</updated>
<author>
<name>Roland Dreier</name>
<email>roland@purestorage.com</email>
</author>
<published>2011-03-28T21:13:35Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=e294a2074f0059de7c69b30fe3048fe61f971b83'/>
<id>urn:sha1:e294a2074f0059de7c69b30fe3048fe61f971b83</id>
<content type='text'>
commit 243b422af9ea9af4ead07a8ad54c90d4f9b6081a upstream

Commit da48524eb206 ("Prevent rt_sigqueueinfo and rt_tgsigqueueinfo
from spoofing the signal code") made the check on si_code too strict.
There are several legitimate places where glibc wants to queue a
negative si_code different from SI_QUEUE:

 - This was first noticed with glibc's aio implementation, which wants
   to queue a signal with si_code SI_ASYNCIO; the current kernel
   causes glibc's tst-aio4 test to fail because rt_sigqueueinfo()
   fails with EPERM.

 - Further examination of the glibc source shows that getaddrinfo_a()
   wants to use SI_ASYNCNL (which the kernel does not even define).
   The timer_create() fallback code wants to queue signals with SI_TIMER.

As suggested by Oleg Nesterov &lt;oleg@redhat.com&gt;, loosen the check to
forbid only the problematic SI_TKILL case.

Reported-by: Klaus Dittrich &lt;kladit@arcor.de&gt;
Acked-by: Julien Tinnes &lt;jln@google.com&gt;
Cc: &lt;stable@kernel.org&gt;
Signed-off-by: Roland Dreier &lt;roland@purestorage.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Tested-by: Krzysztof Mazur &lt;krzysiek@podlesie.net&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: The TLB miss handler manages ACCESSED correctly.</title>
<updated>2012-04-09T13:02:41Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=82582b970d04ad4bcfaa9d3f9c3c256619fd889f'/>
<id>urn:sha1:82582b970d04ad4bcfaa9d3f9c3c256619fd889f</id>
<content type='text'>
The new MMU/TLB code no longer sets ACCESSED unconditionally
so remove the exception.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: Optimize TLB Miss handlers</title>
<updated>2012-04-09T13:02:41Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:19Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=c7bd3e07be41cd1e094528a7cba9b316d15c6844'/>
<id>urn:sha1:c7bd3e07be41cd1e094528a7cba9b316d15c6844</id>
<content type='text'>
Only update pte w.r.t ACCESSED if it isn't already set
Wrap ACCESSED with #ifndef NO_SWAP for too ease optimization.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: Use symbolic constants in TLB asm</title>
<updated>2012-04-09T13:02:41Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=d1e0028d5fb4264ad78b40f39ea72841a1deabd2'/>
<id>urn:sha1:d1e0028d5fb4264ad78b40f39ea72841a1deabd2</id>
<content type='text'>
Use the PTE #defines where possible instead of
hardcoded constants.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: start using dcbX instructions in various copy routines</title>
<updated>2012-04-09T13:02:40Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:17Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=bcadae8b07b9f8abcba5d50031c55cd41dc0e748'/>
<id>urn:sha1:bcadae8b07b9f8abcba5d50031c55cd41dc0e748</id>
<content type='text'>
Now that 8xx can fixup dcbX instructions, start using them
where possible like every other PowerPc arch do.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: Set correct HW pte flags in DTLB Error too</title>
<updated>2012-04-09T13:02:40Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:16Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=cbd2de43d233e2f85c866855d68e72311abc5749'/>
<id>urn:sha1:cbd2de43d233e2f85c866855d68e72311abc5749</id>
<content type='text'>
DTLB Error needs to adjust the HW PTE bits as DTLB Miss
does.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: Restore _PAGE_WRITETHRU</title>
<updated>2012-04-09T13:02:40Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:15Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=c6f1e91508e7f6141531bdee1d900f83ff86f7bf'/>
<id>urn:sha1:c6f1e91508e7f6141531bdee1d900f83ff86f7bf</id>
<content type='text'>
8xx has not had WRITETHRU due to lack of bits in the pte.
After the recent rewrite of the 8xx TLB code, there are
two bits left. Use one of them to WRITETHRU.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: Add missing Guarded setting in DTLB Error.</title>
<updated>2012-04-09T13:02:40Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:14Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=2e22c10380aca47ed5762536c8d2289966a7ff23'/>
<id>urn:sha1:2e22c10380aca47ed5762536c8d2289966a7ff23</id>
<content type='text'>
only DTLB Miss did set this bit, DTLB Error needs too otherwise
the setting is lost when the page becomes dirty.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: CPU6 errata make DTLB error too big to fit.</title>
<updated>2012-04-09T13:02:40Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:13Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=08b263e5f5f159eeb635fcddf0e46f5ea7474414'/>
<id>urn:sha1:08b263e5f5f159eeb635fcddf0e46f5ea7474414</id>
<content type='text'>
branch to common code in DTLB Miss instead.

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
<entry>
<title>8xx: Fixup DAR from buggy dcbX instructions.</title>
<updated>2012-04-09T13:02:39Z</updated>
<author>
<name>Joakim Tjernlund</name>
<email>Joakim.Tjernlund@transmode.se</email>
</author>
<published>2011-10-10T11:30:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux-2.4.git/commit/?id=136fb16abaad3321cac1d4a2034a9b33f93a46fa'/>
<id>urn:sha1:136fb16abaad3321cac1d4a2034a9b33f93a46fa</id>
<content type='text'>
This is an assembler version to fixup DAR not being set
by dcbX, icbi instructions. There are two versions, one
uses selfmodifing code, the other uses a
jump table but is much bigger(default).

Signed-off-by: Joakim Tjernlund &lt;Joakim.Tjernlund@transmode.se&gt;
Signed-off-by: Willy Tarreau &lt;w@1wt.eu&gt;
</content>
</entry>
</feed>
