Re: [PATCH] vt: properly ignore xterm-256 colour codes

2013-09-09 Thread Adam Borowski
On Mon, Sep 09, 2013 at 05:53:19PM +0200, David Herrmann wrote: On Fri, Jul 12, 2013 at 10:23 PM, Adam Borowski kilob...@angband.pl wrote: drivers/tty/vt/vt.c | 26 -- 1 file changed, 20 insertions(+), 6 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty

[PATCH 1/2] vt: break a couple of obsolete SCOish codes.

2013-09-10 Thread Adam Borowski
No modern terminal supports them, and SGR 38 conflicts with detecting xterm-256 colours. This also makes SGR 39 consistent with other popular terminals. Neither are used by ncurses' terminfo. Signed-off-by: Adam Borowski kilob...@angband.pl --- drivers/tty/vt/vt.c | 15 +-- 1

[PATCH 2/2] vt: properly ignore xterm-256 colour codes

2013-09-10 Thread Adam Borowski
colour ones tend to turn blinking on before invoking an arbitrary unrelated command. This commit doesn't add such support, merely skips such codes without ill effects. Signed-off-by: Adam Borowski kilob...@angband.pl --- drivers/tty/vt/vt.c | 22 ++ 1 file changed, 22 insertions

Re: [PATCH] vt: properly ignore xterm-256 colour codes

2013-09-12 Thread Adam Borowski
On Thu, Sep 12, 2013 at 02:37:26PM +0200, David Herrmann wrote: On Mon, Sep 9, 2013 at 6:46 PM, Adam Borowski kilob...@angband.pl wrote: On Mon, Sep 09, 2013 at 05:53:19PM +0200, David Herrmann wrote: [...] Btw., you should put Greg Kroah-Hartman and Andrew Morton on CC. Both

Re: [PATCH 09/17] Move unicode to ASCII conversion to shared function.

2013-09-18 Thread Adam Borowski
On Mon, Sep 16, 2013 at 09:11:25PM -0700, Roy Franz wrote: +/* Convert the unicode UEFI command line to ASCII to pass to kernel. + * Size of memory allocated return in *cmd_line_len. + * Returns NULL on error. + */ +static char *efi_convert_cmdline_to_ascii(efi_system_table_t *sys_table_arg,

Re: [PATCH 09/17] Move unicode to ASCII conversion to shared function.

2013-09-19 Thread Adam Borowski
On Wed, Sep 18, 2013 at 09:48:44PM -0700, Roy Franz wrote: On Wed, Sep 18, 2013 at 8:44 PM, Adam Borowski kilob...@angband.pl wrote: [UCS2 truncation] I stuck to re-arranging the code that was there, as I don't know enough about character encodings to propose changes. I on the other hand

Re: [PATCH] vt: detect and ignore OSC codes.

2014-02-15 Thread Adam Borowski
On Thu, Feb 13, 2014 at 10:39:12AM -0800, Greg Kroah-Hartman wrote: On Wed, Jan 15, 2014 at 07:21:04AM +0100, Adam Borowski wrote: These can be used to send commands consisting of an arbitrary string to the terminal, most often used to set a terminal's window title or to redefine the colour

[PATCH] perf: tools: fix missing casts for printf arguments.

2014-02-15 Thread Adam Borowski
Because of -Werror, they caused build failure at least on x32, as time_t is of different size than unsigned long. In another place, __suseconds_t is not compatible with long int. Signed-off-by: Adam Borowski kilob...@angband.pl --- tools/perf/bench/sched-messaging.c | 4 ++-- tools/perf/bench

[PATCH] vt: detect and ignore OSC codes.

2014-02-18 Thread Adam Borowski
-by: Adam Borowski kilob...@angband.pl --- drivers/tty/vt/vt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index b7bde54..3ad0b61 100644 --- a/drivers/tty/vt/vt.c +++ b/drivers/tty/vt/vt.c @@ -1592,7 +1592,7 @@ static

[PATCH] vt: properly ignore xterm-256 colour codes

2013-09-08 Thread Adam Borowski
colour ones tend to turn blinking on before invoking an arbitrary unrelated command. This commit doesn't add such support, merely skips such codes without ill effects. Signed-off-by: Adam Borowski kilob...@angband.pl --- drivers/tty/vt/vt.c | 26 -- 1 file changed, 20

Re: Copy on write hard links?

2013-09-24 Thread Adam Borowski
On Tue, Sep 24, 2013 at 08:36:56PM +0200, Thomas Meyer wrote: Is there such a thing? In mainline, AFAIK no. The vserver patchset, on the other hand, adds a new xattr, iunlink, that copies the whole file when needed. That works on most filesystems. That's quite a hack, though, and I think

[PATCH] vt: detect and ignore OSC codes.

2014-01-14 Thread Adam Borowski
unconditionally. Not following Ecma-48, this commit recognizes 7-bit forms (ESC ] ... 0x07, ESC ] .. ESC \) but not 8-bit (0x9D ... 0x9C). Signed-off-by: Adam Borowski kilob...@angband.pl --- drivers/tty/vt/vt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64

2016-04-07 Thread Adam Borowski
On Wed, 6 Apr 2016, Geert Uytterhoeven wrote: > On Wed, Apr 6, 2016 at 12:08 AM, Yury Norov wrote: >> v6: >> - time_t, __kenel_off_t and other types turned to be 32-bit >>for compatibility reasons (after v5 discussion); Introducing a new arch today with y2038

[PATCH] perf/x86/amd: Explicitly define PERF_COUNT_HW_REF_CPU_CYCLES as undefined.

2016-04-26 Thread Adam Borowski
81c021c8 with insufficient space for an object of type 'const u64' Signed-off-by: Adam Borowski <kilob...@angband.pl> --- arch/x86/events/amd/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/events/amd/core.c b/arch/x86/events/amd/core.c index 86a9bec..5fa1b8e 100644 --- a/ar

Re: [PATCH] perf/x86/amd: Explicitly define PERF_COUNT_HW_REF_CPU_CYCLES as undefined.

2016-04-27 Thread Adam Borowski
On Wed, Apr 27, 2016 at 10:03:45AM +0200, Ingo Molnar wrote: > * Adam Borowski <kilob...@angband.pl> wrote: > > diff --git a/arch/x86/events/amd/core.c b/arch/x86/events/amd/core.c > > index 86a9bec..5fa1b8e 100644 > > --- a/arch/x86/events/amd/core.c > >

[PATCH] perf/x86/amd: Set the size of event map array to PERF_COUNT_HW_MAX.

2016-04-27 Thread Adam Borowski
/x86/events/amd/core.c:132:9 load of address 81c021c8 with insufficient space for an object of type 'const u64' Signed-off-by: Adam Borowski <kilob...@angband.pl> --- arch/x86/events/amd/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/events/amd/co

[PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro

2016-07-17 Thread Adam Borowski
for root/cap. Tested on btrfs and not-yet-merged xfs, as only them implement this ioctl. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_write.c b/fs/read_write.c index 933b53a..df59dc6

Re: [PATCH] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro

2016-07-17 Thread Adam Borowski
On Mon, Jul 18, 2016 at 12:13:38AM +0200, Adam Borowski wrote: > Instead of checking the mode of the file descriptor, let's check whether it > could have been opened rw. This allows fixing intermittent exec failures > when deduping a live system: anyone trying to exec a file curren

Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

2017-02-03 Thread Adam Borowski
On Fri, Feb 03, 2017 at 05:04:15PM +0100, Manuel Schölling wrote: > On Thu, 2017-02-02 at 15:07 -0500, Paul Gortmaker wrote: > > On Tue, Jan 10, 2017 at 4:28 PM, Manuel Schölling > > wrote: > > > The impact of the persistent scrollback feature on the code size is > > >

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Adam Borowski
On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > > > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > > > On Fri, Ja

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Adam Borowski
On Fri, Jan 20, 2017 at 02:31:56PM +0100, Greg KH wrote: > On Fri, Jan 20, 2017 at 02:16:11PM +0100, Adam Borowski wrote: > > On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > > > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > > >

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-19 Thread Adam Borowski
On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > > On Fri, Jan 13, 2017 at 09:07:57PM +0100, Manuel Schölling wrote: > > > > +   This feature might break your

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-19 Thread Adam Borowski
On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > On Fri, Jan 13, 2017 at 09:07:57PM +0100, Manuel Schölling wrote: > > > Add a scrollback buffers for each VGA console. The benefit is that > > > the scrollback history is not

[PATCH resend] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro

2016-10-05 Thread Adam Borowski
for root/cap. Tested on btrfs and not-yet-merged xfs, as only them implement this ioctl. Signed-off-by: Adam Borowski <kilob...@angband.pl> Reviewed-by: Mark Fasheh <mfas...@suse.de> --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_

Re: x32 is broken in 4.9-rc1 due to "x86/signal: Add SA_{X32,IA32}_ABI sa_flags"

2016-10-19 Thread Adam Borowski
_pt_regs())) > - return; > - > if (in_ia32_syscall()) > act->sa.sa_flags |= SA_IA32_ABI; > if (in_x32_syscall()) > -- > 2.10.0 Works for me. Tested on general operation, a few by-hand checks and several random package builds.

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-17 Thread Adam Borowski
On Mon, Oct 17, 2016 at 05:59:51PM +1100, Nicholas Piggin wrote: > On Mon, 17 Oct 2016 08:51:31 +0200 > Adam Borowski <kilob...@angband.pl> wrote: > > On Mon, Oct 17, 2016 at 02:57:09PM +1100, Nicholas Piggin wrote: > > > On Sat, 15 Oct 2016 17:22:05 -0700 Omar Sa

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-17 Thread Adam Borowski
On Mon, Oct 17, 2016 at 02:57:09PM +1100, Nicholas Piggin wrote: > On Sat, 15 Oct 2016 17:22:05 -0700 Omar Sandoval wrote: > > On Fri, Oct 14, 2016 at 10:12:46PM +0200, Michal Marek wrote: > > > please pull these kbuild changes for v4.9-rc1: > > > > > > - EXPORT_SYMBOL for

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-10-17 Thread Adam Borowski
On Mon, Oct 17, 2016 at 02:22:34PM +0200, Mathieu OTHACEHE wrote: > > +#include > > +#include > > Included twice. D'oh! > > +#include > > +#include > > +#include > > + > > +#include > > + > > +#include > > +#include > > +#include > > +#include > > No for __sw_hweight32 and

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-21 Thread Adam Borowski
On Fri, Oct 21, 2016 at 01:16:00PM +0200, Sebastian Andrzej Siewior wrote: > Debian started to build the gcc with --enable-default-pie by default To be exact: this is since gcc-6 6.2.0-7 dated Tue, 18 Oct 2016 13:53:00 +0200 on amd64 arm64 armel armhf i386 mips mipsel mips64el ppc64el s390x. >

Re: 784d5699eddc ("x86: move exports to actual definitions")

2016-10-18 Thread Adam Borowski
On Tue, Oct 18, 2016 at 10:29:15PM +0200, Markus Trippelsdorf wrote: > On 2016.10.18 at 22:23 +0200, Borislav Petkov wrote: > > I see the gazillion warnings below when building -rc1 here. > > > > When I revert > > > > 784d5699eddc ("x86: move exports to actual definitions") > > > > the warnings

[PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-23 Thread Adam Borowski
ns for x86, and an architecture-independent file that can be used for common symbols. User impact: kernels may fail to load modules at all when CONFIG_MODVERSIONS=y. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> Acked-by: Nicholas Piggin <

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-21 Thread Adam Borowski
On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote: > Add a scrollback buffers for each VGA console. The benefit is that > the scrollback history is not flushed when switching between consoles > but is persistent. > The buffers are allocated on demand when a new console is opened. >

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-23 Thread Adam Borowski
On Tue, Nov 22, 2016 at 05:56:42PM +0100, Manuel Schölling wrote: > On Mo, 2016-11-21 at 21:17 +0100, Adam Borowski wrote: > > On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote: > > > Add a scrollback buffers for each VGA console. The benefit is that > >

Re: BUG: 4.9-rc6 Still "no symbol version" on boot

2016-11-23 Thread Adam Borowski
On Wed, Nov 23, 2016 at 09:08:28PM +0100, Philip Müller wrote: > > due to following commit it seems the 64bit architecture of linux 4.9-rc > > is not able to boot at all, as it is unable to find its root device: > you have to apply following patch also: > >

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
ot; allows. Tested-by: Adam Borowski <kilob...@angband.pl> Meow! -- The bill declaring Jesus as the King of Poland fails to specify whether the addition is at the top or end of the list of kings. What should the historians do?

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-27 Thread Adam Borowski
On Sun, Nov 27, 2016 at 09:37:30PM +, Andrey Utkin wrote: > I've just patched next-20161125 with this set and given it a run. > > Scrollback persistence works fine, just as in earlier versions. > > This time I didn't forget to test clear operation. > > The only important concern is that

[PATCH reworded] x86/kbuild: enable modversions for symbols exported from asm

2016-11-21 Thread Adam Borowski
ns for x86, and an architecture-independent file that can be used for common symbols. User impact: kernels may fail to load modules at all when CONFIG_MODVERSIONS=y. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> Acked-by: Nicholas Piggin <

Re: Linux 4.9: Reported regressions as of Sunday, 2016-11-20

2016-11-20 Thread Adam Borowski
On Sun, Nov 20, 2016 at 04:09:51PM +0100, Thorsten Leemhuis wrote: > Hi! Here is my fourth regression report for Linux 4.9. > == Current regressions == > > Desc: builddeb: fix cross-building to arm64 producing host-arch debs > Repo: 16-11-04

Re: [GIT PULL] kbuild post v4.9-rc1 fixes

2016-11-20 Thread Adam Borowski
On Fri, Nov 18, 2016 at 09:50:51PM +0100, Michal Marek wrote: > Hi Linus, > > Here are some regression fixes for kbuild: > - modversion support for exported asm symbols (Nick Piggin). The > affected architectures need separate patches adding asm-prototypes.h. As the pull request's comment

[PATCH resend] kbuild: provide include/asm/asm-prototypes.h for x86

2016-11-20 Thread Adam Borowski
ion there. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> --- arch/x86/include/asm/asm-prototypes.h | 12 include/asm-generic/asm-prototypes.h | 7 +++ 2 files changed, 19 insertions(+) create mode 100644 arch/x86/includ

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-11-02 Thread Adam Borowski
On Tue, Nov 01, 2016 at 04:48:48PM +0100, Michal Marek wrote: > > Adam Borowski <kilob...@angband.pl> wrote: > > > >> On Mon, Oct 17, 2016 at 02:22:34PM +0200, Mathieu OTHACEHE wrote: > >>>> +#include > >>>> +#include > >>>

[PATCH] kbuild: provide include/asm/asm-prototypes.h for x86

2016-11-02 Thread Adam Borowski
ion there. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- arch/x86/include/asm/asm-prototypes.h | 12 include/asm-generic/asm-prototypes.h | 7 +++ 2 files changed, 19 insertions(+) create mode 100644 arch/x86/include/asm/asm-prototypes.h create mode 100644

Re: [PATCH 2/2] kbuild: add -fno-PIE

2016-11-04 Thread Adam Borowski
On Fri, Nov 04, 2016 at 04:58:55PM +0100, Sebastian Andrzej Siewior wrote: > On 2016-11-04 15:54:27 [+], Al Viro wrote: > > Christoph, would you mind rereading what I posted upthread? I *am* aware of > > that clusterfuck, including the Balint's charming games with the > > reassignments, > >

ping howto (was Re: [PATCH resend] vfs: allow FILE_EXTENT_SAME (dedupe_file_range) on a file opened ro)

2016-10-12 Thread Adam Borowski
On Wed, Oct 05, 2016 at 04:38:54PM +0200, Adam Borowski wrote: > [fix for dedupe-vs-exec ETXTBSY] > Reviewed-by: Mark Fasheh <mfas...@suse.de> Hi guys! May I ask if I'm doing something wrong, or barking up the wrong tree? I've sent this patch thrice (May 20, Jul 18, Oct 5), pinged

Re: Linux 4.8.11

2016-11-26 Thread Adam Borowski
On Sat, Nov 26, 2016 at 05:12:35PM +0100, Greg KH wrote: > I'm announcing the release of the 4.8.11 kernel. ... which splats during early boot where 4.8.10 worked fine. [0.00] Linux version 4.8.11+ (kilobyte@umbar) (gcc version 6.2.1 20161124 (Debian 6.2.1-5) ) #1 SMP Sat Nov 26

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

2016-11-29 Thread Adam Borowski
On Tue, Nov 29, 2016 at 10:01:15AM +, Andrey Utkin wrote: > Regarding logout scrollback clearing not working for me. ncurses-6.0-rc1 > which I tested it with is the latest available in Gentoo portage, please > confirm whether I need any newer version, or should I tune something > else. I'd

[PATCH v3 1/1] x86/kbuild: enable modversions for symbols exported from asm

2016-12-10 Thread Adam Borowski
ns for x86, and an architecture-independent file that can be used for common symbols. With f27c2f6 reverting 8ab2ae6 ("default exported asm symbols to zero") we produce a scary warning on x86, this commit fixes that. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo &l

[PATCH v3 0/1] asm prototypes for modversions on x86

2016-12-10 Thread Adam Borowski
Hi! After Linus' revert of Arnd's modversions patch, it looks like we're back to wanting asm-prototypes.h at least in the short term. Things are much better than before -- instead of failing to load modules there's just a scary warning, but I still believe that no scary warning is better :)

Re: [GIT PULL] kbuild changes for v4.9-rc1

2016-12-17 Thread Adam Borowski
On Sat, Dec 17, 2016 at 09:57:47AM +0100, Jiri Slaby wrote: > On 12/16/2016, 08:57 PM, Linus Torvalds wrote: > > On Fri, Dec 16, 2016 at 11:55 AM, Jiri Slaby wrote: > >> > >> what happened to this? I had to apply this to fix 4.9-pae kernel here. > > > > Did you actually have to

Re: [PATCH v9 4/4] console: Make persistent scrollback a boot parameter

2017-01-10 Thread Adam Borowski
On Tue, Jan 10, 2017 at 10:28:38PM +0100, Manuel Schölling wrote: > The impact of the persistent scrollback feature on the code size is > rather small, so the config option is removed. The feature stays > disabled by default and can be enabled by using the boot command line > parameter

Re: [RFC3 nowrap: PATCH v7 00/18] ILP32 for ARM64

2016-11-29 Thread Adam Borowski
On Wed, Nov 30, 2016 at 10:32:09AM +0530, Yury Norov wrote: > On Fri, Oct 21, 2016 at 11:32:59PM +0300, Yury Norov wrote: > > This series enables aarch64 with ilp32 mode, and as supporting work, > > introduces ARCH_32BIT_OFF_T configuration option that is enabled for > > existing 32-bit

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-29 Thread Adam Borowski
On Mon, Nov 28, 2016 at 08:08:57PM -0800, Linus Torvalds wrote: > On Mon, Nov 28, 2016 at 5:15 PM, Ben Hutchings wrote: > >> > >> The modversions stuff may just be too painful to bother with. Very few > >> people probably use it, and the ones that do likely don't have any >

[PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-29 Thread Adam Borowski
ns for x86, and an architecture-independent file that can be used for common symbols. User impact: kernels may fail to load modules at all when CONFIG_MODVERSIONS=y. Signed-off-by: Adam Borowski <kilob...@angband.pl> Tested-by: Kalle Valo <kv...@codeaurora.org> Acked-by: Nicholas Piggin <

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-29 Thread Adam Borowski
On Tue, Nov 29, 2016 at 02:29:54PM +0100, Ingo Molnar wrote: > * Adam Borowski <kilob...@angband.pl> wrote: > > > Here's some history: > > The day of -rc1, multiple people immediately reported the breakage; it was > > quickly found out that reverting 784d5699ed

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-11-29 Thread Adam Borowski
On Tue, Nov 29, 2016 at 07:27:12AM -0800, Linus Torvalds wrote: > On Nov 29, 2016 5:51 AM, "Adam Borowski" <kilob...@angband.pl> wrote: > > > > > > (a) tested > > > > By many people. > > No. > > I've tested the build *without* this,

Re: Linux 4.9: Reported regressions as of Sunday, 2016-12-04

2016-12-05 Thread Adam Borowski
On Sun, Dec 04, 2016 at 01:26:05PM +0100, Thorsten Leemhuis wrote: > Desc: builddeb: fix cross-building to arm64 producing host-arch debs > Repo: 16-11-04 https://www.spinics.net/lists/linux-kbuild/msg13635.html > Stat: 16-11-11 https://www.spinics.net/lists/linux-kbuild/msg13696.html > Note:

Re: [RFC, PATCH, v3.9] default exported asm symbols to zero

2016-12-02 Thread Adam Borowski
On Fri, Dec 02, 2016 at 01:40:27PM +0100, Arnd Bergmann wrote: > With binutils-2.16 and before, a weak missing symbol was kept during the > final link, and a missing CRC for an export would lead to that CRC > being treated as zero implicitly. With binutils-2.17, the crc > symbol gets dropped, and

Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

2016-12-06 Thread Adam Borowski
On Tue, Dec 06, 2016 at 08:31:01AM -0500, Jan Stancek wrote: > Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols to > zero") > I'm running into issue with kernel built with CONFIG_MODVERSIONS=y > and (older) binutils (binutils-2.25.1-20.base.el7.ppc64le). > > Modules fail

[PATCH 2/2] vt: make mouse selection of non-ASCII consistent

2017-03-27 Thread Adam Borowski
ot special-case any non-ASCII anymore. Attempts to set these via ioctl will be silently ignored. As an extra bonus, we debloat the kernel by 128 bytes. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- drivers/tty/vt/selection.c | 16 ++-- 1 file changed, 6 insertions(

[PATCH 1/2] vt: set mouse selection word-chars to gpm's default

2017-03-27 Thread Adam Borowski
Since forever, gpm was this code's only user, and it overrides the table on start so the default was never seen -- until Bill Allombert's "consolation" came in. The in-kernel set is "A-Za-z0-9_" which fails to catch typical file names, etc. Let's change this to gpm's conservative default, ie

[PATCH v2 1/2] vt: set mouse selection word-chars to gpm's default

2017-03-27 Thread Adam Borowski
Since forever, gpm was this code's only user, and it overrides the table on start so the default was never seen -- until Bill Allombert's "consolation" came in. The in-kernel set is "A-Za-z0-9_" which fails to catch typical file names, etc. Let's change this to gpm's conservative default, ie

[PATCH v2 2/2] vt: make mouse selection of non-ASCII consistent

2017-03-27 Thread Adam Borowski
ot special-case any non-ASCII anymore. Attempts to set these via ioctl will be silently ignored. As an extra bonus, we debloat the kernel by 128 bytes. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- v2: Got rid of hard-coded array sizes. drivers/tty/vt/selection.c | 16 ++--

[PATCH 0/2] vt: mouse selection word boundaries

2017-03-27 Thread Adam Borowski
Hi! Here's a couple of really low priority fixes to how "word chars" for mouse selection are determined. Patch 1 (adds "-./") is an epitome of "apply if bored": for two decades, only gpm used this, and it always ignored the defaults. Bill Allombert made a second implementation, "consolation",

Re: [PATCH linux-next] tty: Disable default console blanking interval

2017-03-22 Thread Adam Borowski
On Wed, Mar 22, 2017 at 07:50:32AM -0600, Tim Gardner wrote: > BugLink: http://bugs.launchpad.net/bugs/869017 > > I'm not particularly knowledgable about console issues. Is a blaknking > interval > relevant in a post CRT world ? The argument in the bug description seems > compelling. I have no

Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349

2017-03-17 Thread Adam Borowski
On Fri, Mar 17, 2017 at 10:44:22AM -0400, Tejun Heo wrote: > On Fri, Mar 17, 2017 at 10:28:34PM +0800, Icenowy Zheng wrote: > > > It's warning that the device has resources associated with it on > > > probe. There gotta be something fishy going on with the probing > > > sequence. How reproducible

Re: linux-next: x86: Unalbe to run x32 processes on the x86_64 kernel

2017-03-20 Thread Adam Borowski
On Mon, Mar 20, 2017 at 04:57:39PM -0700, Andrei Vagin wrote: > We run CRIU tests on linux-next. And today we found that when we start > x32 processes, a kernel bug is triggered: > > [root@fc24 ~]# uname -a > Linux fc24 4.11.0-rc2-next-20170320 #159 SMP Mon Mar 20 16:53:58 PDT > 2017 x86_64

Re: linux-next: x86: Unalbe to run x32 processes on the x86_64 kernel

2017-03-21 Thread Adam Borowski
On Tue, Mar 21, 2017 at 07:45:39AM +0100, Ingo Molnar wrote: > * Andrei Vagin wrote: > > > # first bad commit: [45fc8757d1d2128e342b4e7ef39adedf7752faac] x86: > > Make the GDT remapping read-only on 64-bit > > Just wondering, does the following commit fix it: > >

Re: [PATCHv3] x86/mm: set x32 syscall bit in SET_PERSONALITY()

2017-03-21 Thread Adam Borowski
On Tue, Mar 21, 2017 at 08:47:11PM +0300, Dmitry Safonov wrote: > After my changes to mmap(), its code now relies on the bitness of > performing syscall. According to that, it chooses the base of allocation: > mmap_base for 64-bit mmap() and mmap_compat_base for 32-bit syscall. > It was done by: >

Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems

2017-04-03 Thread Adam Borowski
On Mon, Apr 03, 2017 at 04:09:38PM -0400, Nicolas Pitre wrote: > On Mon, 3 Apr 2017, Adam Borowski wrote: > > > On Mon, Apr 03, 2017 at 08:31:03AM -0700, Andi Kleen wrote: > > > Except for that (and possibly VT) it is unlikely that people really > > > rely on the o

[PATCH 3/4] n_tty: support th, ae and ng runes

2017-04-01 Thread Adam Borowski
relationship to keep alignment, thus you need to write 'þ', 'æ' or 'ŋ' (or uppercase). Unless you're Icelandic, it's easiest to use the Compose key. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- drivers/tty/n_tty.c | 35 +-- 1 file changed, 33 insertions

[PATCH 1/4] n_tty: don't mangle tty codes in OLCUC mode

2017-04-01 Thread Adam Borowski
as of Linux 0.11 and I see it in 0.01 sources (whose images fail to boot for me, I didn't try very hard). It was less of a failure then as the shell didn't produce tty codes for normal operation. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- drivers/tty/n_tty.

[PATCH 2/4] n_tty: use runes rather than uppercase in IUTF8 OLCUC mode

2017-04-01 Thread Adam Borowski
is shared with 'k', I sacrificed period accuracy for usability. 'q' 'v' 'x' are from Medieval runes (12th to 15th centuries). 'x' could use Anglo-Saxon eolhx but that's same glyph (and Unicode codepoint) as Elder Futhark algiz 'z'. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- dri

[PATCH 4/4] n_tty: wrap all OLCUC code in a config option

2017-04-01 Thread Adam Borowski
Setting it to N, beside dropping runes, also disables old-style support for all-caps OLCUC. To get those 40 years old terminals to work, set CONFIG_TTY_RUNES=y which will DTRT when stty iutf8 is off. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- drivers/tty/Kconfi

[GIT PULL] runes

2017-04-01 Thread Adam Borowski
. Meow! -- sorry, ᛗᛖᛟᚹ! Commits up to 14f34ba1d8748f252f941b5bb87efd7b1ed55868 on top of c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201. Adam Borowski (4): n_tty: don't mangle tty codes in OLCUC mode n_tty: use runes rather than

Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division

2017-04-09 Thread Adam Borowski
On Sun, Apr 09, 2017 at 05:58:54AM +0200, Adam Borowski wrote: > On Sat, Apr 08, 2017 at 11:07:37PM +0200, Adam Borowski wrote: > > Unbreaks ARM and possibly other 32-bit architectures. > > Turns out those "other 32-bit architectures" happen to include i386. >

[PATCH] btrfs: scrub: use do_div() for 64-by-32 division

2017-04-08 Thread Adam Borowski
Unbreaks ARM and possibly other 32-bit architectures. Fixes: 7d0ef8b4d: Btrfs: update scrub_parity to use u64 stripe_len Reported-by: Icenowy Zheng <icen...@aosc.io> Signed-off-by: Adam Borowski <kilob...@angband.pl> --- You'd probably want to squash this with Liu's commit, to be ni

Re: Linux next-20170407 failed to build on ARM due to usage of mod in btrfs code

2017-04-08 Thread Adam Borowski
On Sat, Apr 08, 2017 at 02:45:34PM -0300, Fabio Estevam wrote: > On Sat, Apr 8, 2017 at 1:02 PM, Icenowy Zheng wrote: > > Hello everyone, > > Today I tried to build a kernel with btrfs enabled on ARM, then when linking > > I met such an error: > > > > ``` > > fs/built-in.o: In

Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division

2017-04-08 Thread Adam Borowski
On Sat, Apr 08, 2017 at 11:07:37PM +0200, Adam Borowski wrote: > Unbreaks ARM and possibly other 32-bit architectures. Turns out those "other 32-bit architectures" happen to include i386. A modular build: ERROR: "__udivdi3" [fs/btrfs/btrfs.ko] undefined! With the

Re: [PATCH v2 0/5] minitty: a minimal TTY layer alternative for embedded systems

2017-04-03 Thread Adam Borowski
On Mon, Apr 03, 2017 at 08:31:03AM -0700, Andi Kleen wrote: > Except for that (and possibly VT) it is unlikely that people really > rely on the obsolete terminal features from the 70ies. So it's a kind > of cleanup. But... but... but what shall we do without OLCUC?!? I guess sending these

MikeeUSA warning (Re: Yes you have standing to sue GRSecurity.)

2017-07-29 Thread Adam Borowski
Note that this is quite clearly yet another of MikeeUSA's sockpuppets. And you guys really don't want to be caught in another of his troll threads. Yeah, GRsecurity is a problem, but don't let our dear Mikee milk it. -- ⢀⣴⠾⠻⢶⣦⠀ What Would Jesus Do, MUD/MMORPG edition: ⣾⠁⢰⠒⠀⣿⡁ • multiplay with

Re: Problematic culture around Signed-off-by

2017-07-31 Thread Adam Borowski
On Sun, Jul 30, 2017 at 08:52:36PM +0200, Pavel Machek wrote: > > I've been away from kernel development for a bit, but I've returned and > > I'm troubled by what seems to be an entrenched and widespread (IMO) > > misuse of the "Signed-off-by:" in commits. > > > > I've now either been asked to

Re: [PATCH v5 3/5] btrfs: Add zstd support

2017-08-10 Thread Adam Borowski
On Wed, Aug 09, 2017 at 07:39:02PM -0700, Nick Terrell wrote: > Add zstd compression and decompression support to BtrFS. Re-tested on arm64, amd64 and i386, this time everything seems fine so far. As I'm too lazy to have a separate test setup for the zlib level patch, I'm using a dummy

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-11 Thread Adam Borowski
On Tue, Jul 11, 2017 at 06:01:38AM +, Nick Terrell wrote: > On 7/10/17, 9:57 PM, "Nick Terrell" wrote: > > The problem is caused by a gcc-7 bug [1]. It miscompiles > > ZSTD_wildcopy(void *dst, void const *src, ptrdiff_t len) when len is 0. > > Sorry, my patch still triggered

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-07 Thread Adam Borowski
On Fri, Jul 07, 2017 at 11:17:49PM +, Nick Terrell wrote: > On 7/6/17, 9:32 AM, "Adam Borowski" <kilob...@angband.pl> wrote: > > Got a reproducible crash on amd64: > > > > [98235.266511] BUG: unable to handle kernel paging request at &g

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-07 Thread Adam Borowski
On Sat, Jul 08, 2017 at 01:40:18AM +0200, Adam Borowski wrote: > On Fri, Jul 07, 2017 at 11:17:49PM +, Nick Terrell wrote: > > On 7/6/17, 9:32 AM, "Adam Borowski" <kilob...@angband.pl> wrote: > > > Got a reproducible crash on amd64: > > >

nbd drops connection on most writes

2017-07-21 Thread Adam Borowski
Hi! I'm afraid that 4.13-rc1 nbd aborts connection on writes for me: [ 251.938384] block nbd0: Send data failed (result -11) [ 251.943484] block nbd0: Request send failed trying another connection [ 251.950034] block nbd0: Receive control failed (result -32) [ 251.955676] block nbd0:

Re: nbd drops connection on most writes

2017-07-21 Thread Adam Borowski
On Fri, Jul 21, 2017 at 12:22:51PM +, Josef Bacik wrote: > Oh shit the default timeout is 0 if you don't set it in the client. Use > the timeout option with nbd client and it should fix it for you. I'll > send something up to make this a sane default. Confirmed, adding a timeout=XXX

Re: [PATCH 0/3] Add ethernet0 alias for several A64 boards

2017-07-24 Thread Adam Borowski
On Tue, Jul 25, 2017 at 11:04:24AM +0800, icen...@aosc.io wrote: > 在 2017-07-24 15:58,Maxime Ripard 写道: > > On Sat, Jul 22, 2017 at 10:28:49AM +0800, Icenowy Zheng wrote: > > > Allwinner A64 SoC has an EMAC which is used to provide Ethernet > > > function on several boards. > > > > > > The EMAC

Re: [PATCH v3 0/4] Add xxhash and zstd modules

2017-07-22 Thread Adam Borowski
On Fri, Jul 21, 2017 at 11:56:21AM -0400, Austin S. Hemmelgarn wrote: > On 2017-07-20 17:27, Nick Terrell wrote: > > This patch set adds xxhash, zstd compression, and zstd decompression > > modules. It also adds zstd support to BtrFS and SquashFS. > > > > Each patch has relevant summaries,

Re: [PATCH] lib/zstd: use div_u64() to let it build on 32-bit

2017-06-28 Thread Adam Borowski
On Tue, Jun 27, 2017 at 05:27:51AM +, Nick Terrell wrote: > Adam, I’ve applied the same patch in my tree. I’ll send out the update [1] > once it's reviewed, since I also reduced the stack usage of functions > using over 1 KB of stack space. > > I have userland tests set up mocking the linux

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-06-29 Thread Adam Borowski
On Thu, Jun 29, 2017 at 12:41:07PM -0700, Nick Terrell wrote: > Add zstd compression and decompression support to BtrFS. zstd at its > fastest level compresses almost as well as zlib, while offering much > faster compression and decompression, approaching lzo speeds. > +static int

Re: [PATCH v2 3/4] btrfs: Add zstd support

2017-07-06 Thread Adam Borowski
On Thu, Jun 29, 2017 at 12:41:07PM -0700, Nick Terrell wrote: > Add zstd compression and decompression support to BtrFS. zstd at its > fastest level compresses almost as well as zlib, while offering much > faster compression and decompression, approaching lzo speeds. Got a reproducible crash on

Re: sun50i-a64-pinctrl WARN_ON drivers/base/dd.c:349

2017-04-29 Thread Adam Borowski
On Fri, Apr 28, 2017 at 06:03:14PM -0400, Tejun Heo wrote: > On Tue, Apr 18, 2017 at 10:12:16AM +0100, Andre Przywara wrote: > > Yeah, so I stack-dumped on the zero allocations and indeed they are > > called from cleanup functions: > > drivers/pinctrl/pinmux.c:pinmux_generic_free_functions(): > >

Re: [PATCH] fbcon: Use background color for margins

2017-07-31 Thread Adam Borowski
On Mon, Jul 31, 2017 at 12:25:28PM -0500, David Lechner wrote: > On 07/30/2017 04:51 PM, Pavel Machek wrote: > > > > > Screens that don't have a black border around the active area will > > > > > have > > > > > ugly black bars for the margin when the text background color is not > > > > > black.

kvm splat in mmu_spte_clear_track_bits

2017-08-20 Thread Adam Borowski
Hi! I'm afraid I keep getting a quite reliable, but random, splat when running KVM: [ cut here ] WARNING: CPU: 5 PID: 5826 at arch/x86/kvm/mmu.c:717 mmu_spte_clear_track_bits+0x123/0x170 Modules linked in: tun nbd arc4 rtl8xxxu mac80211 cfg80211 rfkill nouveau video ttm

Re: [git pull] uaccess-related bits of vfs.git

2017-05-13 Thread Adam Borowski
On Sat, May 13, 2017 at 07:57:45AM +0100, Al Viro wrote: > On Fri, May 12, 2017 at 06:00:44PM -0700, Linus Torvalds wrote: > > But the *first* thing I'd like to do would be to just get rid of > > __get_user/__put_user as a thing. It really does generate nasty code, > > and we might as well just

[PATCH] lib/zstd: use div_u64() to let it build on 32-bit

2017-06-26 Thread Adam Borowski
ted to 2³²-1 elsewhere despite being declared as size_t, so it's ok to use 64/32 -- it's much faster on eg. x86-32 than 64/64. Signed-off-by: Adam Borowski <kilob...@angband.pl> --- lib/zstd/fse_compress.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/zst

Re: [PATCH 3/4] btrfs: Add zstd support

2017-06-25 Thread Adam Borowski
On Mon, Jun 26, 2017 at 03:03:17AM +0800, kbuild test robot wrote: > Hi Nick, > > url: > https://github.com/0day-ci/linux/commits/Nick-Terrell/lib-Add-xxhash-module/20170625-214344 > config: i386-allmodconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce:

Re: [PATCH 0/2] blackfin: Remove dead DSA code

2017-05-29 Thread Adam Borowski
On Sun, May 28, 2017 at 04:59:47PM -0700, Florian Fainelli wrote: > Hello? anyone still maintaining blackfin here? Looks like people edit arch/blackfin/ a lot whenever it interferes with some other work, but the only blackfin-specific fixes seem to be a couple of drive-by ones by Al Viro, then

[PATCH 0/5] vt: get rid of worst cases of __put_user/__get_user

2017-06-03 Thread Adam Borowski
a few patches applying the lessons from that discussion to vt. None of the uses is performance-critical, but at least we get a nice bit of code simplification. And, it's a start of manual review + conversion that Al Viro wants. Adam Borowski (5): vt: use copy_from/to_user instead of __get

  1   2   3   4   5   >