Re: RFC: Changes for PCI

2001-06-27 Thread anton
required. There are also hooks to fix the irq, you seem to be duplicating all of this. Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: RFC: Changes for PCI

2001-06-27 Thread anton
we should do as davem suggested and make the bus number unique. I do this by just adding 256 to each overlapping host bridge. Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel

Re: [PATCH] more penguins

2001-07-03 Thread anton
a problem. So, how do we fix this? > Is there a command line parameter that prevents the penguin logo from > coming up? Just change VTs or "echo ^[c" to the screen to clear the boot logo. Anton - To unsubscribe from this list: send the line "unsubscribe linux-kernel"

[PATCH 0/2] Removing aio_write from NTFS

2015-03-11 Thread anton
From: Anton Altaparmakov Hi Al, As you requested at LSF, these two patches change NTFS from aio_write to write_iter. I know you were sceptical about the addition of a multi page fault in function but please take a look at my patches and see if it is acceptable. If not, let me know and I

[PATCH 1/2] VFS: Add iov_iter_fault_in_multipages_readable() which is simillar to iov_iter_fault_in_readable() but differs in that it is not limited to faulting in the first iovec and instead faults i

2015-03-11 Thread anton
From: Anton Altaparmakov Also, instead of only faulting in the first and last page of the range, all pages are faulted in. This function is needed by NTFS when it does multi page file writes. Signed-off-by: Anton Altaparmakov --- include/linux/uio.h | 1 + mm/iov_iter.c | 26

[PATCH 2/2] NTFS: Version 2.1.32 - Update file write from aio_write to write_iter.

2015-03-11 Thread anton
From: Anton Altaparmakov Signed-off-by: Anton Altaparmakov --- fs/ntfs/Makefile | 2 +- fs/ntfs/file.c | 783 ++- 2 files changed, 308 insertions(+), 477 deletions(-) diff --git a/fs/ntfs/Makefile b/fs/ntfs/Makefile index 36ae529

Re: [PATCH 10/10] ARM: FIQ: Get rid of init_FIQ()

2012-11-27 Thread Anton Vorontsov
On Thu, Nov 22, 2012 at 11:51:38PM -0800, Anton Vorontsov wrote: > On Fri, Nov 23, 2012 at 11:36:01AM +0400, Alexander Shiyan wrote: > [...] > > got_no_fiq_insn also not initialized. > > It is static, so by definition it is initialized to 0. > > > I think as a w

[RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
rranging the tasks it should be possible to watch a specific pressure. Note that while this adds the cgroups support, the code is well separated and eventually we might add a lightweight, non-cgroups API, i.e. vmevent. But this is another story. Signed-off-by: Anton Vorontsov --- include/linux/cgroup_su

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
id not like it and we ran away screaming. OTOH, your scheme makes volatile ranges unneeded, since a thread might register a shrinker hook and free stuff by itself. But again, I believe this involves more communication with the kernel. Thanks, Anton. -- To unsubscribe from this list: send the line &qu

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
On Wed, Nov 28, 2012 at 05:27:51PM -0800, Anton Vorontsov wrote: > On Wed, Nov 28, 2012 at 03:14:32PM -0800, Andrew Morton wrote: > [...] > > Compare this with the shrink_slab() shrinkers. With these, the VM can > > query and then control the clients. If something goes wron

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
Hello Michal, Thanks a lot for taking a look into this! On Wed, Nov 28, 2012 at 05:29:24PM +0100, Michal Hocko wrote: > On Wed 28-11-12 02:29:08, Anton Vorontsov wrote: > > This is an attempt to implement David Rientjes' idea of mempressure > > cgroup. > > > >

Re: [RFC] Add mempressure cgroup

2012-11-28 Thread Anton Vorontsov
On Thu, Nov 29, 2012 at 08:14:13AM +0200, Kirill A. Shutemov wrote: > On Wed, Nov 28, 2012 at 02:29:08AM -0800, Anton Vorontsov wrote: > > +static int mpc_pre_destroy(struct cgroup *cg) > > +{ > > + struct mpc_state *mpc = cg2mpc(cg); > > + int ret = 0; > >

Re: [PATCH v5 1/3] gpio: gpio-generic: Add 16 and 32 bit big endian byte order support

2013-03-18 Thread Anton Vorontsov
On Fri, Mar 15, 2013 at 02:45:38PM +0100, Andreas Larsson wrote: > There is no general support for 64-bit big endian accesses, so that is > left unsupported. > > Signed-off-by: Andreas Larsson This looks perfect, thanks a lot! Acked-by: Anton Vorontsov -- To unsubscribe from thi

Re: [GIT PULL] AB8500 Power and MFD related updates

2013-03-18 Thread Anton Vorontsov
nux-3.0-ux500.git for-mfd-and-power Pulled, thanks a lot! Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [Patch v3 0/4] Add support for tps65090-charger

2013-03-18 Thread Anton Vorontsov
d by 1. Thanks for the patches, Rhyland! 3/4 and 4/4 applied to the battery-2.6.git tree. Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info

Re: A patch to test_power module

2013-03-18 Thread Anton Vorontsov
e html in emails. :) [...] > Fixed ... I think. Thanks a lot for the patch, Andrey! It is now in battery-2.6.git tree. Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vg

Re: [PATCH] fs: pstore: Replaced calls to kmalloc and memcpy with kmemdup

2013-03-18 Thread Anton Vorontsov
andru Gheorghiu [...] > Looks fine to me. Thanks! > > Acked-by: Kees Cook Applied to linux-pstore.git, thanks a lot! Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] s3c-adc-battery: Fix possible NULL pointer dereference

2013-03-18 Thread Anton Vorontsov
On Mon, Feb 25, 2013 at 04:33:25AM +0530, Syam Sidhardhan wrote: > Check for (bat == NULL) has to be done before accessing bat > > Signed-off-by: Syam Sidhardhan > --- Applied, thanks! > drivers/power/s3c_adc_battery.c |7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff

Re: [Patch v3 0/4] Add support for tps65090-charger

2013-03-19 Thread Anton Vorontsov
On Tue, Mar 19, 2013 at 11:55:33AM -0400, Rhyland Klein wrote: > On 3/18/2013 10:24 PM, Anton Vorontsov wrote: > > On Tue, Mar 12, 2013 at 06:08:05PM -0400, Rhyland Klein wrote: > >> This patchset adds support for the TPS65090-charger. This charger is > >> registered as

Re: [PATCH RESEND] goldfish: power device

2013-02-02 Thread Anton Vorontsov
On Fri, Jan 25, 2013 at 03:30:00PM +, Alan Cox wrote: > From: Mike Lockwood > > Add the emulated power driver for the Goldfish platform. > > This folds together the code from the Google tree, Jun Nakajima's cleanups > and x86 porting work, and then a tidy up to pass checkpatch. > > Signed-o

[PATCH] ds2782_battery: Add power_supply_changed() calls for proper uevent support

2013-02-02 Thread Anton Vorontsov
Romanov Signed-off-by: Anton Vorontsov --- Sending it to the community on Evgeny's behalf. drivers/power/ds2782_battery.c | 69 ++ 1 file changed, 69 insertions(+) diff --git a/drivers/power/ds2782_battery.c b/drivers/power/ds2782_battery.c index 2f

Re: [PATCH] ab8500: btemp: demote initcall sequence

2013-02-02 Thread Anton Vorontsov
On Wed, Jan 23, 2013 at 09:56:45AM +0530, Rajanikanth H.V wrote: > From: "Rajanikanth H.V" > > Power supply subsystem creates thermal zone device for > the property 'POWER_SUPPLY_PROP_TEMP' which requires > thermal subsystem to be ready before 'ab8500 battery temperature monitor' > driver is init

Re: [GIT PULL] power: ab8500-bm: Latest Mainline<->STE delta reduction patch-set

2013-02-02 Thread Anton Vorontsov
u8500-charger: Delay for USB enumeration (2013-01-23 14:39:22 +) > > Did you pull this in the end? I was buried under my homework, sorry. :-) The changes look good, thanks a lot! Pulled now. Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: A patch to test_power module

2013-02-02 Thread Anton Vorontsov
is missing Signed-off-by tag. Plus, you should also Cc: linux-kernel@vger.kernel.org on submissions (I've added it now). Plus, please don't use html in emails. :) Thanks a lot! Anton > From ccd5b3e916477a3c2a51bbf10a3be8e01f3c85e4 Mon Sep 17 00:00:00 2001 > From: Andrey Gelman

Re: [PATCH] power/reset: Remove newly introduced __dev* annotations

2013-02-02 Thread Anton Vorontsov
g > > --- [...] > Acked-by: Andrew Lunn Applied, thanks! Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-02 Thread Anton Vorontsov
On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > Reported temperature can be also negative, so cache value in non negative > Kelvin degree. > > Signed-off-by: Pali Rohár > --- Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 40/62] power: convert to idr_alloc()

2013-02-02 Thread Anton Vorontsov
On Sat, Feb 02, 2013 at 05:20:41PM -0800, Tejun Heo wrote: > Convert to the much saner new idr interface. > > Only compile tested. > > Signed-off-by: Tejun Heo > Cc: Anton Vorontsov > Cc: David Woodhouse > --- > This patch depends on an earlier idr changes and I

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-03 Thread Anton Vorontsov
On Sun, Feb 03, 2013 at 09:01:54PM +0100, Pali Rohár wrote: > On Sunday 03 February 2013 04:44:51 Anton Vorontsov wrote: > > On Sat, Feb 02, 2013 at 11:06:09AM +0100, Pali Rohár wrote: > > > Reported temperature can be also negative, so cache value in > > >

Re: [PATCH 1/4] audit: Syscall rules are not applied to existing processes on non-x86

2013-02-06 Thread Anton Blanchard
Hi, Just following up on this. I've had a few people complaining about audit being broken on ppc64 and it would be nice to fix. Anton -- On Wed, 9 Jan 2013 10:46:17 +1100 Anton Blanchard wrote: > > Commit b05d8447e782 (audit: inline audit_syscall_entry to reduce > burden on

Re: [PATCH v2 7/7] spi: spi-fsl-spi: Add support for gpio chipselects for GRLIB type cores

2013-02-07 Thread Anton Vorontsov
desel ^= !!(spi->cs_gpio_flags & OF_GPIO_ACTIVE_LOW); > + retval = gpio_direction_output(spi->cs_gpio, desel); > + if (retval) { > + gpio_free(spi->cs_gpio); > + return re

Re: [PATCH v2 0/7] spi: spi-fsl-spi: Make spi-fsl-spi usable in cpu mode outside of FSL SOC environments and add a grlib variant normally running on sparc

2013-02-07 Thread Anton Vorontsov
ary normally running on SPARC. The patches look clean and neat, I don't see anything obviously wrong with them... so, Acked-by: Anton Vorontsov Thanks! Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel

Re: [PATCH] da9030_battery: include notifier.h

2013-02-08 Thread Anton Vorontsov
On Wed, Feb 06, 2013 at 03:09:59PM +0100, Michal Hocko wrote: > Ohh, I have just noticed that this could be introduced by "mm: break > circular include from linux/mmzone.h" in mm tree. > Adding Andrew to CC. The patch is legit, actually. So, I've applied it, thank you!

Re: [PATCH] bq27x00_battery: Fix reporting battery temperature

2013-02-08 Thread Anton Vorontsov
age. But the subject, and your example seem to prove that you still report it in 1/100 of Celsius. Unless your phone was on fire during the time you took the values, I tend to think the patch needs to be fixed. :-) Thanks, Anton > * Documentation/power/power_supply_class.txt say that te

Re: [PATCH] gpio: Add device driver for GRGPIO cores

2013-02-09 Thread Anton Vorontsov
:-) There is a BE-notation of GPIO numbering. BE/LE issue is also valid for bits. Please don't "fix" this. :) If you need to introduce byte endianness support in addition, that's fine. Thanks, Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&q

[PATCH] memcg: Add memory.pressure_level events

2013-02-10 Thread Anton Vorontsov
e events manually (or, ask us to implement the pass-through events, explaining why would you need them.) The file mempressure.level is used to show the current memory pressure level, and cgroups event control file can be used to setup an eventfd notification with a specific memory pressure level thresh

Re: [PATCH 3/4] uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls

2013-04-02 Thread Anton Arapov
amp;tu->args[i].fetch, regs, data + tu->args[i].offset); > > if (!filter_current_check_discard(buffer, call, entry, event)) > - trace_buffer_unlock_commit(buffer, event, irq_flags, pc); > + trace_buffer_unlock_commit(buffer, event, 0, 0); > > return

Re: [PATCH 2/4] uprobes/tracing: Kill the pointless seq_print_ip_sym() call

2013-04-02 Thread Anton Arapov
goto partial; > - > - if (!seq_print_ip_sym(s, field->ip, flags | TRACE_ITER_SYM_OFFSET)) > - goto partial; > - > - if (!trace_seq_puts(s, ")")) > + if (!trace_seq_printf(s, "%s: (0x%lx)", tu->call.name, field->ip)) > g

Re: [PATCH 1/4] uprobes/tracing: Kill the pointless task_pt_regs() calls

2013-04-02 Thread Anton Arapov
; > > - entry->ip = instruction_pointer(task_pt_regs(current)); > + entry->ip = instruction_pointer(regs); > data = (u8 *)&entry[1]; > for (i = 0; i < tu->nr_args; i++) > call_fetch(&tu->args[i].fetch, regs, data + tu->arg

Re: [PATCH 4/4] uprobes/tracing: generalize struct uprobe_trace_entry_head

2013-04-02 Thread Anton Arapov
uction_pointer(regs); > + entry->vaddr[0] = ip; > + data = DATAOF_TRACE_ENTRY(entry, 1); > for (i = 0; i < tu->nr_args; i++) > call_fetch(&tu->args[i].fetch, regs, data + tu->args[i].offset); > > head = this_cpu_ptr(call->pe

Re: [PATCH 0/6] uprobes/tracing: uretprobes

2013-04-02 Thread Anton Arapov
ewed. All it needs to compile is the new > uprobe_consumer->ret_handler(). > > Oleg. > > kernel/trace/trace_uprobe.c | 152 > +++ > 1 files changed, 124 insertions(+), 28 deletions(-) > I've played with this patch-set and it

[PATCH v4] memcg: Add memory.pressure_level events

2013-04-02 Thread Anton Vorontsov
le option, so it will not require any changes on the userland side. [1] http://permalink.gmane.org/gmane.linux.kernel.cgroups/6291 [2] http://lkml.org/lkml/2013/2/21/454 Signed-off-by: Anton Vorontsov Acked-by: Kirill A. Shutemov Acked-by: KAMEZAWA Hiroyuki --- Hi all, Thanks for the previous

Re: [PATCH v3] memcg: Add memory.pressure_level events

2013-04-02 Thread Anton Vorontsov
>+} > > I'm not sure how other guys thinks butcould you place the definition > of work_fn above calling it ? you call vmpressure_wk_fn(), right ? Yup. OK, I rearranged the code a bit. [...] > > do { > >+vmpressure_prio(sc->gfp_mask, sc->target_mem_

Re: [PATCH v3] memcg: Add memory.pressure_level events

2013-04-02 Thread Anton Vorontsov
t; > + for (lvl = 0; lvl < VMPRESSURE_NUM_LEVELS; lvl++) { > > + if (!strcmp(vmpressure_str_levels[lvl], args)) > > + break; > > + } > > + > > + if (lvl >= VMPRESSURE_NUM_LEVELS) > > + return -EINVAL; > &g

[PATCH v1 3/9] uretprobes/x86: Hijack return address

2013-04-03 Thread Anton Arapov
ned-off-by: Anton Arapov --- arch/x86/include/asm/uprobes.h | 1 + arch/x86/kernel/uprobes.c | 29 + 2 files changed, 30 insertions(+) diff --git a/arch/x86/include/asm/uprobes.h b/arch/x86/include/asm/uprobes.h index 8ff8be7..6e51979 100644 --- a/arch/x86/incl

[PATCH v1 5/9] uretprobes: Return probe entry, prepare_uretprobe()

2013-04-03 Thread Anton Arapov
return 0. RFCv3 changes: * protected uprobe with refcounter. See atomic_inc in prepare_uretprobe() and put_uprobe() in a following patch in handle_uretprobe(). RFCv2 changes: * get rid of ->return_consumers member from struct uprobe, introduce ret_handler() in consumer. Signed-off-by: A

[PATCH v1 4/9] uretprobes/ppc: Hijack return address

2013-04-03 Thread Anton Arapov
Hijack the return address and replace it with a trampoline address. PowerPC implementation. Signed-off-by: Anton Arapov --- arch/powerpc/include/asm/uprobes.h | 1 + arch/powerpc/kernel/uprobes.c | 13 + 2 files changed, 14 insertions(+) diff --git a/arch/powerpc/include/asm

[PATCH v1 8/9] uretprobes: Remove -ENOSYS as return probes implemented

2013-04-03 Thread Anton Arapov
Enclose return probes implementation. Signed-off-by: Anton Arapov --- kernel/events/uprobes.c | 4 1 file changed, 4 deletions(-) diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c index 489f5e3..9af52f7 100644 --- a/kernel/events/uprobes.c +++ b/kernel/events/uprobes.c

[PATCH v1 7/9] uretprobes: Limit the depth of return probe nestedness

2013-04-03 Thread Anton Arapov
et. Signed-off-by: Anton Arapov --- include/linux/uprobes.h | 3 +++ kernel/events/uprobes.c | 11 +++ 2 files changed, 14 insertions(+) diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 5f8960e..d7bcf10 100644 --- a/include/linux/uprobes.h +++ b/include/linux/upr

[PATCH v1 6/9] uretprobes: Return probe exit, invoke handlers

2013-04-03 Thread Anton Arapov
e() in handle_uretprobe() that reflects increment in prepare_uretprobe() RFCv2 changes: * get rid of ->return_consumers member from struct uprobe, introduce ret_handler() in consumer instead Signed-off-by: Anton Arapov --- kernel/events/uprob

[PATCH v1 0/9] uretprobes: Return uprobes implementation

2013-04-03 Thread Anton Arapov
ml.org/lkml/2013/3/4/246 RFCv3: https://lkml.org/lkml/2013/2/28/148 RFCv2: https://lkml.org/lkml/2013/1/9/157 RFCv1: https://lkml.org/lkml/2012/12/21/133 thanks, Anton. Anton Arapov (9): uretprobes: Introduce uprobe_consumer->ret_handler() uretprobes: Reserve the first slot in

[PATCH v1 2/9] uretprobes: Reserve the first slot in xol_vma for trampoline

2013-04-03 Thread Anton Arapov
n will be changed. v1 changes: * rework get_trampoline_vaddr() helper. * init xol_area->slot_count. Signed-off-by: Anton Arapov --- kernel/events/uprobes.c | 25 + 1 file changed, 25 insertions(+) diff --git a/kernel/events/uprobes.c b/kernel/events/uprobes.c inde

[PATCH v1 1/9] uretprobes: Introduce uprobe_consumer->ret_handler()

2013-04-03 Thread Anton Arapov
ere are no uprobe consumer(handler), see handler_chain() changes. RFCv3 changes: (the patch is introduced in v3) * check whether at least one of the consumer's handlers were set. * a 'TODO' cap that will be removed once return probes be implemented. * introduce ->ret_hand

[PATCH v1 9/9] uretprobes: Documentation update

2013-04-03 Thread Anton Arapov
add the uretprobe syntax and update an example Signed-off-by: Anton Arapov --- Documentation/trace/uprobetracer.txt | 114 --- 1 file changed, 67 insertions(+), 47 deletions(-) diff --git a/Documentation/trace/uprobetracer.txt b/Documentation/trace

Re: [PATCH 0/3] Sync Android pstore updates

2013-04-03 Thread Anton Vorontsov
On Mon, Apr 01, 2013 at 12:16:57PM -0700, Kees Cook wrote: > On Sun, Mar 31, 2013 at 8:22 PM, Anton Vorontsov wrote: > > Hi all, > > > > Here are a few updates from the Android dev tree. Thanks to Arve Hjønnevåg > > for the code, and John Stultz for actually preparing

Re: [GIT PULL] uprobes: pre-filtering

2013-01-24 Thread Anton Arapov
>> >> arch/x86/kernel/uprobes.c |4 +- >> include/linux/uprobes.h | 17 ++- >> kernel/events/uprobes.c | 433 >> ++- >> kernel/ptrace.c |6 + >> kernel/trace/trace_uprobe.c |5 +-

Re: [PATCH] power: make goldfish option have a dependency on goldfish

2013-02-27 Thread Anton Vorontsov
Hello Paul, On Wed, Feb 27, 2013 at 01:27:46PM -0500, Paul Gortmaker wrote: > Nearly all the other goldfish peripherals (mtd, keyboard, etc) > have a dependency on the main platform's GOLDFISH Kconfig item, > but this one got skipped, so add it. > > Cc: Anton Vorontsov &

Re: [PATCH] power: make goldfish option have a dependency on goldfish

2013-02-27 Thread Anton Vorontsov
enough). Do you agree that without the additional deps life is easier for me? :) If so, please do help me and the rest of the maintainers: instead of adding the unneeded deps, for consistency just remove those which are not needed. Thanks, Anton p.s. Quick answers for the rest of your arguments:

Re: [PATCH] power: make goldfish option have a dependency on goldfish

2013-02-27 Thread Anton Vorontsov
; No, I do not agree. In fact I see it as totally the opposite. But I already > said that I would not pursue this further, based only on differing points > of view, and so, after sending this, I will adhere to that now. I see. In that case, please feel free to send the patch t

[RFC PATCH v3 4/6] uretprobes: return probe entry, prepare uretprobe

2013-02-28 Thread Anton Arapov
patchset. v3: - protected uprobe with refcounter. See atomic_inc in prepare_uretprobe() and put_uprobe() in a following patch in handle_uretprobe() v2: - get rid of ->return_consumers member from struct uprobe, introduce rp_handler() in consumer Signed-off-by: Anton Arapov --- include/li

[RFC PATCH v3 1/6] uretprobes: preparation patch

2013-02-28 Thread Anton Arapov
be removed once return probes be implemented Signed-off-by: Anton Arapov --- include/linux/uprobes.h | 1 + kernel/events/uprobes.c | 8 2 files changed, 9 insertions(+) diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index 02b83db..a28bdee 100644 --- a/include/linux/uprobes.

[RFC PATCH v3 0/6] uprobes: return probe implementation

2013-02-28 Thread Anton Arapov
http://github.com/arapov/linux-aa/commits/uretprobes_v3 previous implementations: RFCv2: https://lkml.org/lkml/2013/1/9/157 RFCv1: https://lkml.org/lkml/2012/12/21/133 thanks, Anton Anton Arapov (6): uretprobes: preparation patch uretprobes/x86: hijack return address uret

[RFC PATCH v3 6/6] uretprobes: implemented, thus remove -ENOSYS

2013-02-28 Thread Anton Arapov
1/6 and 6/6 patches are here to enclose return probes implementation as well as prohibit uprobe_register() routine with no consumer set. v3 changes: (the patch is introduced in v3) - remove 'TODO' as return probes implemented now Signed-off-by: Anton Arapov --- kernel/events/upr

[RFC PATCH v3 5/6] uretprobes: invoke return probe handlers

2013-02-28 Thread Anton Arapov
: - get rid of ->return_consumers member from struct uprobe, introduce rp_handler() in consumer instead Signed-off-by: Anton Arapov --- arch/x86/include/asm/uprobes.h | 5 + kernel/events/uprobes.c| 50 -- 2 files changed, 53 insertions(+)

[RFC PATCH v3 2/6] uretprobes/x86: hijack return address

2013-02-28 Thread Anton Arapov
hijack the return address and replace it with a "trampoline" v2: - remove ->doomed flag, kill task immediately Signed-off-by: Anton Arapov --- arch/x86/include/asm/uprobes.h | 1 + arch/x86/kernel/uprobes.c | 29 + 2 files changed, 30 insert

[RFC PATCH v3 3/6] uretprobes: generalize xol_get_insn_slot()

2013-02-28 Thread Anton Arapov
is subsequently used by all uretprobes. v3: - unified xol_get_insn_slot(), thus get rid of xol_get_trampoline_slot() Signed-off-by: Anton Arapov --- kernel/events/uprobes.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/events/uprobes.c b/kernel/events

[PATCH v2] memcg: Add memory.pressure_level events

2013-02-18 Thread Anton Vorontsov
ly, or propagate the events manually (or, ask us to implement the pass-through events, explaining why would you need them.) Signed-off-by: Anton Vorontsov Acked-by: Kirill A. Shutemov --- Hi all, Many thanks for the previous reviews! In this revision: - Addressed Glauber Costa's comments

[GIT PULL] battery-2.6.git

2013-02-18 Thread Anton Vorontsov
r off by restarting' qnap-poweroff: Fix license string Anton Vorontsov (4): Merge branch 'for-anton' of git://git.linaro.org/people/ljones/linux-3.0-ux500 Merge branch 'ab8500-from-Rajanikanth' Merge branch 'tb-power-2' of git://git.linaro.org/p

Re: [PATCH v2] memcg: Add memory.pressure_level events

2013-02-21 Thread Anton Vorontsov
g), then it is better to keep the API the same: eventfd + control file. That way, API/ABI-wise there will be no differnce between memcg and non-memcg kernels, which is cool. Thanks, Anton -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: [PATCH v2] memcg: Add memory.pressure_level events

2013-02-21 Thread Anton Vorontsov
try it, so far. :( Thanks for the email, btw!). So it is useful with or without MEMCG, and if we will really need to support vmpressure without MEMCG, I will have to implement the support in addition to MEMCG case, yes. Thanks, Anton -- To unsubscribe from this list: send the line "unsu

Re: [PATCH] lp8727_charger: use IRQF_ONESHOT

2012-08-30 Thread Anton Vorontsov
On Thu, Aug 30, 2012 at 11:41:54AM +, Kim, Milo wrote: > > > ERROR: Threaded IRQ with no primary handler requested without > > > IRQF_ONESHOT > > > > > > Make sure threaded IRQs without a primary handler are always request > > > with IRQF_ONESHOT > > > > > > Signed-off-by: Fengguang Wu > > > -

Re: [PATCH 4/8] lp8727_charger: cleanup the interrupt handler code

2012-08-30 Thread Anton Vorontsov
s, that would help bisecting a lot, plus we will not need to revert the whole thing, if we'd have to fall back to revert. Thanks, Anton. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordom

Re: [PATCH 8/8] lp8727_charger: make cosmetic code

2012-08-30 Thread Anton Vorontsov
On Thu, Aug 30, 2012 at 11:41:01AM +, Kim, Milo wrote: > (a) change the return type of lp8727_is_charger_attached() > (b) remove unnecessary name comparison in lp8727_is_charger_attached() This seems not too 'cosmetic'. Maybe a separate patch for this? It looks trivial enough, but still, it's

Re: [PATCH 0/8] lp8727_charger: cleanup code

2012-08-30 Thread Anton Vorontsov
selves look great, but I'd really like to see them more separated. Thanks, Anton. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 19/21] ntfs: drop vmtruncate

2012-09-01 Thread Anton Altaparmakov
, Anton On 31 Aug 2012, at 15:02, Marco Stornelli wrote: > Removed vmtruncate. > > Signed-off-by: Marco Stornelli > --- > fs/ntfs/file.c |8 +--- > fs/ntfs/inode.c | 11 +-- > fs/ntfs/inode.h |4 > 3 files changed, 18 insertions(+), 5 deletions

[PATCH/RFC 0/4] Deferrable timers support for timerfd API

2012-09-01 Thread Anton Vorontsov
ad /proc/vmstat without forcibly waking up the system; but let's see, maybe there are other use cases that might be interesting for PM folks. Thanks! Anton. -- fs/timerfd.c| 87 +++-- include/linux/jiffies.h | 3 ++ include/linux/ktime.

[PATCH 1/4] kernel/time: Add new helpers to convert ktime to/from jiffies

2012-09-01 Thread Anton Vorontsov
er we defined ktime_t, this is because ktime.h needs some declarations from jiffies.h (e.g. TICK_NSEC). Signed-off-by: Anton Vorontsov --- include/linux/jiffies.h | 3 +++ include/linux/ktime.h | 3 ++- kernel/time.c | 23 +++ 3 files changed, 28 insertions(+), 1 del

[PATCH 2/4] timerfd: Move repeated logic into timefd_rearm()

2012-09-01 Thread Anton Vorontsov
This patch introduces timerfd_rearm(), this small helper is used to forward and restart the hrtimer. This small refactoring would be also useful if/when we'll add other backend for timerfd (like deferrable timers), so we won't need to duplicate the code more. Signed-off-by: Anton

[PATCH 3/4] timerfd: Factor out timer-type unspecific timerfd_expire()

2012-09-01 Thread Anton Vorontsov
There is nothing hrtimer-specific inside the timerfd_tmrproc(), except the function prototype. We're about to add other timer types, so factor out generic timerfd_expire() helper from timerfd_tmrproc(). Signed-off-by: Anton Vorontsov --- fs/timerfd.c | 8 ++-- 1 file changed, 6 inser

[PATCH 4/4] timerfd: Add support for deferrable timers

2012-09-01 Thread Anton Vorontsov
except for the timer events themselves (i.e. we use calculation results of hrtimer_forward_now() and hrtimer_expires_remaining(), but never start the hrtimer). So the code path is pretty much the same for both hrtimers and deferrable timers. Signed-off-by: Anton Vorontsov --- fs/timerfd.c

Re: [PATCH] [RFC]power: battery: Generic battery driver using IIO

2012-09-02 Thread Anton Vorontsov
eries directly connected to ADC (analog to digital converters) channels, so that's the only way to read e.g. voltage. As for userspace, since it's battery class driver, pretty much every userspace stack can use it. Thanks, Anton. -- To unsubscribe from this list: send the line "uns

[PATCH v6 0/12] KGDB/KDB FIQ (NMI) debugger

2012-09-11 Thread Anton Vorontsov
Hi all, Here is a new revision, mostly tty reworks. The new tty_port stuff is a bliss: no more per-driver mutex, no more counting for open(), well-separated initialization callbacks (I hope I got them right :-). But since I now use a lot of new tty_port stuff, I had to rebase the patch set on top

[PATCH 01/12] kernel/debug: Mask KGDB NMI upon entry

2012-09-11 Thread Anton Vorontsov
, then every input to KDB console will cause KGDB to reenter, which we don't want. Signed-off-by: Anton Vorontsov --- include/linux/kgdb.h | 23 +++ kernel/debug/debug_core.c | 36 +--- 2 files changed, 56 insertions(+), 3 deletions(-)

[PATCH 04/12] tty/serial/core: Introduce poll_init callback

2012-09-11 Thread Anton Vorontsov
r callback), which does everything needed to initialize just the hardware. Signed-off-by: Anton Vorontsov --- drivers/tty/serial/serial_core.c | 17 + include/linux/serial_core.h | 1 + 2 files changed, 18 insertions(+) diff --git a/drivers/tty/serial/serial_core.c b/

[PATCH 07/12] tty/serial/amba-pl011: Implement clear_irqs callback

2012-09-11 Thread Anton Vorontsov
It's all pretty straightforward, except for TXIM interrupt. The interrupt has meaning "ready to transmit", so it's almost always raised, and the only way to silence it is to mask it. But that's OK, ops->start_tx will unmask it. Signed-off-by: Anton Vorontsov --- dri

[PATCH 10/12] ARM: Add KGDB/KDB FIQ debugger generic code

2012-09-11 Thread Anton Vorontsov
option. Signed-off-by: Anton Vorontsov --- arch/arm/Kconfig | 18 arch/arm/include/asm/kgdb.h | 8 arch/arm/kernel/Makefile | 1 + arch/arm/kernel/kgdb_fiq.c | 99 arch/arm/kernel/kgdb_fiq_entry.S | 87

[PATCH 12/12] ARM: versatile: Make able to use UART ports for KGDB FIQ debugger

2012-09-11 Thread Anton Vorontsov
can be changed via kgdb_fiq.uart_num kernel command line option. Signed-off-by: Anton Vorontsov --- arch/arm/Kconfig | 1 + arch/arm/mach-versatile/Makefile | 1 + arch/arm/mach-versatile/kgdb_fiq.c | 31 +++ 3 files changed, 33 insertions

[PATCH 11/12] ARM: VIC: Add a couple of low-level FIQ management helpers

2012-09-11 Thread Anton Vorontsov
Just a couple of calls to manage VIC FIQ routing. We'll use them for KGDB FIQ support on ARM Versatile machines. Signed-off-by: Anton Vorontsov --- arch/arm/common/vic.c | 28 arch/arm/include/asm/hardware/vic.h | 2 ++ 2 files changed, 30 inser

[PATCH 09/12] ARM: Move some macros from entry-armv to entry-header

2012-09-11 Thread Anton Vorontsov
kuser_cmpxchg64_fixup global. Signed-off-by: Anton Vorontsov --- arch/arm/kernel/entry-armv.S | 167 +--- arch/arm/kernel/entry-header.S | 170 + 2 files changed, 171 insertions(+), 166 deletions(-) diff --git a/arch/arm/kernel/entry

[PATCH 08/12] tty/serial: Add kgdb_nmi driver

2012-09-11 Thread Anton Vorontsov
or the cases when NMI connected to a dedicated button, the knocking can be disabled altogether by setting kgdb_fiq.knock to -1. Suggested-by: Colin Cross Signed-off-by: Anton Vorontsov --- drivers/tty/serial/Kconfig| 19 ++ drivers/tty/serial/Makefile | 1 + drivers/tty/se

[PATCH 06/12] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-11 Thread Anton Vorontsov
an ordinary IRQ (in KDB this can be done with 'disable_nmi' command), it will behave as normal. p.s. Since the callback is so far used only by polling users, we place it under the appropriate #ifdef. Signed-off-by: Anton Vorontsov --- drivers/tty/serial/kgdboc.c | 10 ++ driv

[PATCH 05/12] tty/serial/amba-pl011: Implement poll_init callback

2012-09-11 Thread Anton Vorontsov
0/0x8) Signed-off-by: Anton Vorontsov --- drivers/tty/serial/amba-pl011.c | 44 ++--- 1 file changed, 33 insertions(+), 11 deletions(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c index cede938..45137e4 100644 --- a/drivers/tty/s

[PATCH 03/12] kdb: Turn KGDB_KDB=n stubs into static inlines

2012-09-11 Thread Anton Vorontsov
This makes the stubs actually usable, since e.g. 'foo = kdb_register();' leads to build errors in !KGDB_KDB case. Plus, with static inlines we do type checking. Signed-off-by: Anton Vorontsov --- include/linux/kdb.h | 29 - 1 file changed, 16 inserti

[PATCH 02/12] kdb: Implement disable_nmi command

2012-09-11 Thread Anton Vorontsov
d for that: echo 1 > /sys/module/kdb/parameters/enable_nmi Signed-off-by: Anton Vorontsov --- kernel/debug/kdb/kdb_main.c | 29 + 1 file changed, 29 insertions(+) diff --git a/kernel/debug/kdb/kdb_main.c b/kernel/debug/kdb/kdb_main.c index 31df170..9fadff1 100644

Re: [PATCH 08/12] tty/serial: Add kgdb_nmi driver

2012-09-11 Thread Anton Vorontsov
On Tue, Sep 11, 2012 at 03:14:20PM +0100, Alan Cox wrote: > > +struct kgdb_nmi_tty_priv { > > + struct tty_port port; > > + int opened; > > + struct tasklet_struct tlet; > > + STRUCT_KFIFO(char, KGDB_NMI_FIFO_SIZE) fifo; > > I don't see where "opened" is used. Yup, a leftover, with tty_po

[RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-11 Thread Anton Vorontsov
On Tue, Sep 11, 2012 at 03:15:40PM +0100, Alan Cox wrote: > Anton Vorontsov wrote: > > This patch implements a new callback: clear_irqs. It is used for the > > This bit I still really don't like. I would like to know what the generic > IRQ folks thing about it and if

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-11 Thread Anton Vorontsov
reading the characters, but we do it before. So if new characters are available, we will reenter NMI, which is OK. But if used incorrectly, it truly can cause dropping (or staling) of characters, so I'd better add some comments about this. Thanks! Anton. -- To unsubscribe from this list: s

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-12 Thread Anton Vorontsov
function must leave the port in the state that it's still able to throw RX interrupts after the call. So, the 100% proper name for this function would be this: quiesce_irqs_but_rx() It's a bit long, but does exactly what the name states. Thanks! Anton. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-12 Thread Anton Vorontsov
c, but so is the whole KGDB, and that knowledge is hidden there. For serial driver it's all pretty much clear: lower the interrupt, but don't turn off rx detection. Thanks! Anton. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-12 Thread Anton Vorontsov
branch into linux-next. > > * Send a pull request to Linus at the appropriate time. > > * Ongoing: Accept any patches, perform any maintenance required, etc. > > Does anyone see any issue with Alexandre doing this? Nobody else has > volunteered yet:-) Yup, looks like the be

[PATCH v7 0/11] KGDB/KDB FIQ (NMI) debugger

2012-09-13 Thread Anton Vorontsov
Hi all, Here comes the lucky v7: - Per Alan Cox's suggestion added hangup method and removed a small leftover; - Per Colin Cross' suggestion moved IRQ quiescing logic into poll_get_char routine. IIUC, Alan is less unhappy about it. As a result, clear_irq() callback dropped. These patches

  1   2   3   4   5   6   7   8   9   10   >