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/
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
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"
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
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
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
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
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
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
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
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.
> >
> >
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;
> >
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
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/
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
> > >
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
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
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
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!
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
:-) 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
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
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
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
;
>
> - 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
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
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
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
>+}
>
> 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_
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
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
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
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
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
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
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
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
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
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
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
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
>>
>> 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 +-
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
&
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:
; 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
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
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.
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
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
:
- 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(+)
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
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
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
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
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
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
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
> > > -
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
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
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/
,
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
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.
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
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
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
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
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
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
, 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(-)
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/
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
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
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
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
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
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
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
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
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
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
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
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
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
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/
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/
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
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 - 100 of 2132 matches
Mail list logo