Re: [PATCH v5 1/3] open: add close_range()

2020-06-06 Thread Kyle Evans
On Sat, Jun 6, 2020 at 6:55 AM Szabolcs Nagy wrote: > > * Kyle Evans [2020-06-05 21:54:56 -0500]: > > On Fri, Jun 5, 2020 at 9:55 AM Szabolcs Nagy wrote: > > > this api needs a documentation patch if there isn't yet. > > > > > > currently there

Re: [PATCH v5 1/3] open: add close_range()

2020-06-05 Thread Kyle Evans
On Fri, Jun 5, 2020 at 9:54 PM Kyle Evans wrote: > > On Fri, Jun 5, 2020 at 9:55 AM Szabolcs Nagy wrote: > > > > * Christian Brauner [2020-06-02 22:42:17 > > +0200]: > > > [... snip ...] > > > > > > First, it helps to close all file descr

Re: [PATCH v5 1/3] open: add close_range()

2020-06-05 Thread Kyle Evans
ch seems to just be papering over application/library bugs. Coordination with libc is generally not much of an issue, because this is really one of the last things you do before exec() or swiftly failing miserably. Applications that currently loop over all fd <= maxfd and close(fd) right now are subject to the very same constraints, this is just a much more efficient way and debugger-friendly way to accomplish it. You've absolutely not lived life until you've had to watch thousands of close() calls painfully scroll by in truss/strace. Thank, Kyle Evans

Re: [linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-04-19 Thread Kyle Evans
On Thu, Apr 19, 2018 at 10:13 AM, Icenowy Zheng <icen...@aosc.io> wrote: > > > 于 2018年4月19日 GMT+08:00 下午11:11:22, Kyle Evans <kev...@freebsd.org> 写到: >>On Mon, Jan 29, 2018 at 6:03 AM, Philipp Rossak <embe...@gmail.com> >>wrote: >>>

Re: [linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-04-19 Thread Kyle Evans
On Thu, Apr 19, 2018 at 10:13 AM, Icenowy Zheng wrote: > > > 于 2018年4月19日 GMT+08:00 下午11:11:22, Kyle Evans 写到: >>On Mon, Jan 29, 2018 at 6:03 AM, Philipp Rossak >>wrote: >>> >>> >>> On 29.01.2018 10:52, Maxime Ripard wrote: >>>> &

Re: [linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-04-19 Thread Kyle Evans
gt; + }; >>> + >> >> >> Shouldn't you also use a nvmem-cells property to the THS node? >> >> Maxime >> > > Oh seems like I forgot that. > As related to the wiki [1] this should be 64 bit wide at the address 0x34. I > will add that in the next version. > > > [1]: http://linux-sunxi.org/SID_Register_Guide#eFUSE > > Thanks, > Philipp > Hi, Any chance this will see a v3 soon? I'm kind of interested in sid node for h3. =) Thanks, Kyle Evans

Re: [linux-sunxi] Re: [PATCH v2 14/16] arm: dts: sun8i: h3: enable H3 sid controller

2018-04-19 Thread Kyle Evans
>> Shouldn't you also use a nvmem-cells property to the THS node? >> >> Maxime >> > > Oh seems like I forgot that. > As related to the wiki [1] this should be 64 bit wide at the address 0x34. I > will add that in the next version. > > > [1]: http://linux-sunxi.org/SID_Register_Guide#eFUSE > > Thanks, > Philipp > Hi, Any chance this will see a v3 soon? I'm kind of interested in sid node for h3. =) Thanks, Kyle Evans

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2018-04-18 Thread Kyle Evans
On Tue, Jan 9, 2018 at 7:34 AM, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > On Mon, Jan 08, 2018 at 09:30:57AM -0600, Kyle Evans wrote: >> On Thu, Jan 4, 2018 at 8:01 AM, Maxime Ripard >> <maxime.rip...@free-electrons.com> wrote: >> > On Fri, Dec 2

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2018-04-18 Thread Kyle Evans
On Tue, Jan 9, 2018 at 7:34 AM, Maxime Ripard wrote: > On Mon, Jan 08, 2018 at 09:30:57AM -0600, Kyle Evans wrote: >> On Thu, Jan 4, 2018 at 8:01 AM, Maxime Ripard >> wrote: >> > On Fri, Dec 22, 2017 at 06:11:52PM +0800, Chen-Yu Tsai wrote: >> >> On Fri, Dec

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2018-01-09 Thread Kyle Evans
On Tue, Jan 9, 2018 at 7:34 AM, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > On Mon, Jan 08, 2018 at 09:30:57AM -0600, Kyle Evans wrote: >> On Thu, Jan 4, 2018 at 8:01 AM, Maxime Ripard >> <maxime.rip...@free-electrons.com> wrote: >> > On Fri, Dec 2

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2018-01-09 Thread Kyle Evans
On Tue, Jan 9, 2018 at 7:34 AM, Maxime Ripard wrote: > On Mon, Jan 08, 2018 at 09:30:57AM -0600, Kyle Evans wrote: >> On Thu, Jan 4, 2018 at 8:01 AM, Maxime Ripard >> wrote: >> > On Fri, Dec 22, 2017 at 06:11:52PM +0800, Chen-Yu Tsai wrote: >> >> On Fri, Dec

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2018-01-08 Thread Kyle Evans
gt;> > On Thu, 21 Dec 2017 16:26:30 +0100 >> >> > Maxime Ripard <maxime.rip...@free-electrons.com> wrote: >> >> > >> >> > > Hi, >> >> > > >> >> > > On Thu, Dec 21, 2017 at 09:19:24AM -0600, Kyle Evans wrote: >&g

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2018-01-08 Thread Kyle Evans
; >> >> On Thu, Dec 21, 2017 at 07:09:03PM +0100, Emmanuel Vadot wrote: >> >> > >> >> > Hi Maxime, >> >> > >> >> > On Thu, 21 Dec 2017 16:26:30 +0100 >> >> > Maxime Ripard wrote: >> >> > >>

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Kyle Evans
On Thu, Dec 21, 2017 at 9:26 AM, Maxime Ripard <maxime.rip...@free-electrons.com> wrote: > Hi, > > On Thu, Dec 21, 2017 at 09:19:24AM -0600, Kyle Evans wrote: >> On Thu, Dec 21, 2017 at 8:55 AM, Maxime Ripard >> <maxime.rip...@free-electrons.com> wrote: >> &g

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Kyle Evans
On Thu, Dec 21, 2017 at 9:26 AM, Maxime Ripard wrote: > Hi, > > On Thu, Dec 21, 2017 at 09:19:24AM -0600, Kyle Evans wrote: >> On Thu, Dec 21, 2017 at 8:55 AM, Maxime Ripard >> wrote: >> > Hi Kyle, >> > >> > On Tue, Dec 19, 2017 at 03:05:23PM -06

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Kyle Evans
data, add node to describe it. >> >> a83t-sid is not currently supported by nvmem/sunxi-sid, but it is >> supported in an external driver for FreeBSD. >> >> Signed-off-by: Kyle Evans <kevan...@ksu.edu> > > The patch looks fine in itself, but we've h

Re: [PATCH v2] ARM: dts: sunxi: Add sid for a83t

2017-12-21 Thread Kyle Evans
gt;> a83t-sid is not currently supported by nvmem/sunxi-sid, but it is >> supported in an external driver for FreeBSD. >> >> Signed-off-by: Kyle Evans > > The patch looks fine in itself, but we've had a number of issues with > the register layout (and access patt

Re: toshiba_acpi: Unknown key 14b

2014-06-02 Thread Kyle Evans
What symbols go with the keys? Is it just one key, or two? I'm helping out another guy who has key 160 unknown and was planning on putting up a patch for that. On 06/01/2014 06:02 AM, Peter Senna Tschudin wrote: Hi, I'm using: 3.15.0-rc7-next-20140530 On a: Toshiba R830-10p And dmesg

Re: toshiba_acpi: Unknown key 14b

2014-06-02 Thread Kyle Evans
What symbols go with the keys? Is it just one key, or two? I'm helping out another guy who has key 160 unknown and was planning on putting up a patch for that. On 06/01/2014 06:02 AM, Peter Senna Tschudin wrote: Hi, I'm using: 3.15.0-rc7-next-20140530 On a: Toshiba R830-10p And dmesg

[PATCH] hp-wmi; Limit hotkey enable funtion

2013-08-14 Thread Kyle Evans
This patch is a supplement to commit b253c9d1d858a3f115f791ee4fe2b9399ae7dbbd Signed-off-by: Kyle Evans --- drivers/platform/x86/hp-wmi.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform/x86/hp-wmi.c index

[PATCH] hp-wmi; Limit hotkey enable funtion

2013-08-14 Thread Kyle Evans
This patch is a supplement to commit b253c9d1d858a3f115f791ee4fe2b9399ae7dbbd Signed-off-by: Kyle Evans kvan...@gmail.com --- drivers/platform/x86/hp-wmi.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/drivers/platform/x86/hp-wmi.c b/drivers/platform

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-18 Thread Kyle Evans
On 04/18/2013 11:58 AM, Matthew Garrett wrote: On Thu, 2013-04-18 at 09:55 -0400, Kyle Evans wrote: 0x9(write), or SHKS, is essentially ec_write(SFHK,Arg0). Arg0 turns out Oh - try changing int query = 1 to int query=0x6e That only works if I also change: -#define HPWMI_BIOS_QUERY 0x8

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-18 Thread Kyle Evans
On 04/17/2013 01:59 PM, Matthew Garrett wrote: On Wed, 2013-04-17 at 11:37 -0400, Kyle Evans wrote: On 04/16/2013 12:26 PM, Matthew Garrett wrote: Can you try this patch? No dice. I have a dmi check patch that I will send in a day or two if you don't find what you are looking for. DMI's

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-18 Thread Kyle Evans
On 04/17/2013 01:59 PM, Matthew Garrett wrote: On Wed, 2013-04-17 at 11:37 -0400, Kyle Evans wrote: On 04/16/2013 12:26 PM, Matthew Garrett wrote: Can you try this patch? No dice. I have a dmi check patch that I will send in a day or two if you don't find what you are looking for. DMI's

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-18 Thread Kyle Evans
On 04/18/2013 11:58 AM, Matthew Garrett wrote: On Thu, 2013-04-18 at 09:55 -0400, Kyle Evans wrote: 0x9(write), or SHKS, is essentially ec_write(SFHK,Arg0). Arg0 turns out Oh - try changing int query = 1 to int query=0x6e That only works if I also change: -#define HPWMI_BIOS_QUERY 0x8

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-17 Thread Kyle Evans
On 04/17/2013 01:59 PM, Matthew Garrett wrote: On Wed, 2013-04-17 at 11:37 -0400, Kyle Evans wrote: On 04/16/2013 12:26 PM, Matthew Garrett wrote: Can you try this patch? No dice. I have a dmi check patch that I will send in a day or two if you don't find what you are looking for. DMI's

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-17 Thread Kyle Evans
On 04/16/2013 12:26 PM, Matthew Garrett wrote: Can you try this patch? No dice. I have a dmi check patch that I will send in a day or two if you don't find what you are looking for. Currently, I am based on the torvalds master, but I can base off something else if you'd like. -- To

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-17 Thread Kyle Evans
On 04/16/2013 12:26 PM, Matthew Garrett wrote: Can you try this patch? No dice. I have a dmi check patch that I will send in a day or two if you don't find what you are looking for. Currently, I am based on the torvalds master, but I can base off something else if you'd like. -- To

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-17 Thread Kyle Evans
On 04/17/2013 01:59 PM, Matthew Garrett wrote: On Wed, 2013-04-17 at 11:37 -0400, Kyle Evans wrote: On 04/16/2013 12:26 PM, Matthew Garrett wrote: Can you try this patch? No dice. I have a dmi check patch that I will send in a day or two if you don't find what you are looking for. DMI's

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-13 Thread Kyle Evans
On 04/13/2013 12:21 PM, Matthew Garrett wrote: On Sat, 2013-04-13 at 08:36 -0400, Kyle Evans wrote: Sure, sorry about that. I was hoping the GUID would be enough. I'll see what I can come up with. Sure there's no WMI method that makes the EC write? It's a little weird for WMI drivers to have

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-13 Thread Kyle Evans
Sure, sorry about that. I was hoping the GUID would be enough. I'll see what I can come up with. On 04/12/2013 09:35 PM, Matthew Garrett wrote: On Sat, 2013-04-13 at 03:31 +0200, Pali Rohár wrote: all Fn keys, wifi switch, web and mute buttons not working anymore on my notebook HP EliteBook

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-13 Thread Kyle Evans
Sure, sorry about that. I was hoping the GUID would be enough. I'll see what I can come up with. On 04/12/2013 09:35 PM, Matthew Garrett wrote: On Sat, 2013-04-13 at 03:31 +0200, Pali Rohár wrote: all Fn keys, wifi switch, web and mute buttons not working anymore on my notebook HP EliteBook

Re: BUG: Fn keys not working on EliteBook 8460p after fabf85e3ca15d5b94058f391dac8df870cdd427a

2013-04-13 Thread Kyle Evans
On 04/13/2013 12:21 PM, Matthew Garrett wrote: On Sat, 2013-04-13 at 08:36 -0400, Kyle Evans wrote: Sure, sorry about that. I was hoping the GUID would be enough. I'll see what I can come up with. Sure there's no WMI method that makes the EC write? It's a little weird for WMI drivers to have