detached. Only the queue with NULL set to this pointer can be used to
forward packets.
Signed-off-by: Jason Wang
---
drivers/net/macvtap.c | 147 +++
include/linux/if_macvlan.h |7 ++
2 files changed, 126 insertions(+), 28 deletions(-)
diff --git a
Signed-off-by: Jason Wang
---
drivers/net/macvtap.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c
index 06b10a5..6a4af74 100644
--- a/drivers/net/macvtap.c
+++ b/drivers/net/macvtap.c
@@ -31,10 +31,6
{
> kfree(gc_th);
gc_th is free'd here, save off PTR_ERR result to avoid use-after-free?
> sbi->gc_thread = NULL;
> - return -ENOMEM;
> + return PTR_ERR(gc_th->f2fs_gc_task);
> }
> return 0;
> }
>
Sebastian,
On Wed, May 22, 2013 at 02:16:07PM -0600, Jason Gunthorpe wrote:
> On Wed, May 22, 2013 at 10:04:02PM +0200, Sebastian Hesselbarth wrote:
>
> > Ethernet controllers found on Kirkwood SoCs not only suffer from loosing
> > MAC address register contents on clock ga
On Thu, May 23, 2013 at 12:01:11PM -0400, Jason Cooper wrote:
> > > + /* Kirkwood resets some registers on gated clocks. Especially
> > > + * CLK125_BYPASS_EN must be cleared but is not available on
> > > + * all other SoCs/System Controllers using this dri
On Thu, May 23, 2013 at 11:11:12AM -0600, Jason Gunthorpe wrote:
> On Thu, May 23, 2013 at 12:01:11PM -0400, Jason Cooper wrote:
> > > > + /* Kirkwood resets some registers on gated clocks. Especially
> > > > +* CLK125_BYPASS_EN must be clea
On Thu, May 23, 2013 at 01:23:39PM -0400, Jason Cooper wrote:
> Shouldn't it rather be
>
> compatible = "marvell,kirkwood-eth", "marvell,orion-eth";
Not sure about orion-eth?
> I'm inclined to go with of_machine_is_compatible() since the only
On Thu, May 23, 2013 at 11:53:57AM -0600, Jason Gunthorpe wrote:
> On Thu, May 23, 2013 at 01:23:39PM -0400, Jason Cooper wrote:
>
> > Shouldn't it rather be
> >
> > compatible = "marvell,kirkwood-eth", "marvell,orion-eth";
>
> No
On Thu, May 23, 2013 at 02:40:28PM -0400, Jason Cooper wrote:
> > But there is a larger problem here then just this one bit.
> >
> > The PSC1 register must be set properly for the board layout, and today
> > we rely on the bootloader to set it. In fact, even with Se
On 05/23/2013 02:37 PM, Michael S. Tsirkin wrote:
> On Thu, May 23, 2013 at 11:12:29AM +0800, Jason Wang wrote:
>> To be same with tap.
>>
>> Signed-off-by: Jason Wang
> Well for tap the very specific reason was that
> there's an array of big queue structures,
>
On 05/23/2013 07:41 PM, Michael S. Tsirkin wrote:
> On Thu, May 23, 2013 at 11:12:30AM +0800, Jason Wang wrote:
>> Linear search were used in both get_slot() and macvtap_get_queue(), this is
>> because:
>>
>> - macvtap didn't reshuffle the array of taps when c
On 05/23/2013 07:45 PM, Michael S. Tsirkin wrote:
> On Thu, May 23, 2013 at 11:12:31AM +0800, Jason Wang wrote:
>> Though the queue were in fact created by open(), we still need to add this
>> check
>> to be compatible with tuntap which can let mgmt software use a single AP
On 05/23/2013 07:52 PM, Michael S. Tsirkin wrote:
> On Thu, May 23, 2013 at 11:12:32AM +0800, Jason Wang wrote:
>> This patch adds TUNSETQUEUE ioctl to let userspace can temporarily disable or
>> enable a queue of macvtap. This is used to be compatible at API layer of
>> tunt
On 05/23/2013 11:11 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 23-05-2013 7:12, Jason Wang wrote:
>
>> Factor out the device holding logic to a macvtap_get_vlan(), this
>> will be also
>> used by multiqueue API.
>
>> Signed-off-by: Jason Wang
&
On 05/23/2013 07:54 PM, Michael S. Tsirkin wrote:
> On Thu, May 23, 2013 at 11:12:27AM +0800, Jason Wang wrote:
>> Tuntap return -EBADFD when TUNGETIFF fails, we should return the same value.
>>
>> Signed-off-by: Jason Wang
> Can you add some more comments on why thi
On Thu, May 23, 2013 at 01:01:40PM -0600, Jason Gunthorpe wrote:
> On Thu, May 23, 2013 at 02:40:28PM -0400, Jason Cooper wrote:
>
> > > But there is a larger problem here then just this one bit.
> > >
> > > The PSC1 register must be set properly for the board l
On Fri, May 24, 2013 at 12:40:26AM +0200, Sebastian Hesselbarth wrote:
> On 05/23/2013 08:40 PM, Jason Cooper wrote:
> >On Thu, May 23, 2013 at 11:53:57AM -0600, Jason Gunthorpe wrote:
> >>On Thu, May 23, 2013 at 01:23:39PM -0400, Jason Cooper wrote:
> >
On Fri, May 24, 2013 at 01:03:25PM +0200, Linus Walleij wrote:
> On Fri, May 24, 2013 at 12:40 AM, Sebastian Hesselbarth
> wrote:
> > On 05/23/2013 08:40 PM, Jason Cooper wrote:
>
> >> I think marvell,psc1_reset =<>; gives us the most flexibility in
> >
me as 6281, is expect
> PSC1 is the same.
Do you have a board set up for testing you could try Sebastian's
forthcoming series on (with "marvell,kirkwood-eth")?
thx,
Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a me
On Fri, May 24, 2013 at 12:46:36PM -0400, Jason Cooper wrote:
> > Why are you not keen on this? It seems like normal device driver
> > practice, that is what the data field of of_device_id is typically
> > used for..
>
> I'm not keen on it because we don't ha
ARM: kirkwood: move DT boards to SoC-centric clock init
> ARM: mvebu: move DT boards to SoC-centric clock init
> clk: mvebu: desintegrate obsolete file
Obviously, the diffstat changed slightly here.
I'm posting the revised version as replies to patches 1, 5 and 6. Please
let me know
ction SoC specific
> tweaks.
>
> Signed-off-by: Sebastian Hesselbarth
> ---
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell King
> Cc: Gregory Clement
> Cc: Thomas Petazzoni
> Cc: Mike Turquette
> Cc: linux-arm-ker...@lists.infradead.org
> Cc: linux-kern
> Signed-off-by: Sebastian Hesselbarth
> ---
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell King
> Cc: Gregory Clement
> Cc: Thomas Petazzoni
> Cc: Mike Turquette
> Cc: linux-arm-ker...@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> dri
; Signed-off-by: Sebastian Hesselbarth
> ---
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell King
> Cc: Gregory Clement
> Cc: Thomas Petazzoni
> Cc: Mike Turquette
> Cc: linux-arm-ker...@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> drive
On Tue, May 28, 2013 at 05:53:43PM +0200, Thomas Petazzoni wrote:
> On Tue, 28 May 2013 11:40:47 -0400, Jason Cooper wrote:
> > I'm posting the revised version as replies to patches 1, 5 and 6. Please
> > let me know if I messed it up. I'd like to send the PR for these
Jason,
Sorry, I meant to get back to this earlier and it slipped off of my
plate. :(
On Fri, May 24, 2013 at 11:33:06AM -0600, Jason Gunthorpe wrote:
> On Fri, May 24, 2013 at 12:46:36PM -0400, Jason Cooper wrote:
>
> > > Why are you not keen on this? It seems like norma
On Tue, May 28, 2013 at 10:01:19PM +0200, Sebastian Hesselbarth wrote:
> On 05/28/2013 06:54 PM, Jason Cooper wrote:
> >>On Tue, 28 May 2013 11:40:47 -0400, Jason Cooper wrote:
> >>>I'm posting the revised version as replies to patches 1, 5 and 6. Please
> >&g
using of queues).
Reported-by: Sriram Narasimhan
Cc: Michael S. Tsirkin
Signed-off-by: Jason Wang
---
drivers/net/tun.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index f042b03..89776c5 100644
--- a/drivers/net/tun.c
+++ b
On 03/26/2013 11:06 PM, Eric Dumazet wrote:
> On Tue, 2013-03-26 at 14:19 +0800, Jason Wang wrote:
>> Set the transport header for 1) some drivers (e.g ixgbe) needs l4 header 2)
>> precise packet length estimation (introduced in 1def9238) needs l4 header to
>> compute header
For untrusted packets with partial checksum, we need to set the transport header
for precise packet length estimation. We can just let skb_pratial_csum_set() to
do this to avoid extra call to skb_flow_dissect() and simplify the caller.
Cc: Eric Dumazet
Signed-off-by: Jason Wang
---
net/core
.
Cc: Eric Dumazet
Signed-off-by: Jason Wang
---
include/linux/skbuff.h | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index 4974121..fa88b96 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
Switch to use the new help skb_probe_transport_header() to do the l4 header
probing for untrusted sources. For packets with partial csum, the header should
already been set by skb_partial_csum_set().
Cc: Eric Dumazet
Signed-off-by: Jason Wang
---
drivers/net/macvtap.c |9
s no problem about interrupts.
I see, you have exynos_pcie_map_irq in code. interrupt-map replaces
that functionality in a standard way, and is more capable for edge
cases.
> However, I will consider an interrupt-map.
You can copy the interrupt-map style from the Marvell driver, which
seems like i
tell me.
> >>
> >> If it's non-critical enough to live on for -next then tell me.
> >
> > I don't think it's critical. It'll probably never trigger in practice.
>
> Thanks, moving it to for-next then...
Thanks, Linus.
thx,
Jason.
--
To unsubsc
by initializing unused gpio functions in the
> platform_data with an invalid (-1) value.
>
> Signed-off-by: Sebastian Hesselbarth
> Reported-by: Soeren Moch
> ---
> Cc: Soeren Moch
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell King
> Cc: linux-arm-ker...@lists
---
> Cc: Russell King
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: linux-arm-ker...@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
> arch/arm/Kconfig |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Hmmm, I'm getting (with dove_defconfig):
arc
people the
> choice as it used to be.
>
Russell,
Are you going to take these two patches? I don't want to assume and
have them potentially get lost.
thx,
Jason.
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 67874b8..ef6733a 100644
> --- a/arch/arm/Kconfi
reaking nand by configuring mpp0
> to gpio, while used also by nand (nand_io2 on mpp0).
>
> Signed-off-by: Sebastian Hesselbarth
> Tested-by: Soeren Moch
> ---
> Cc: Soeren Moch
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell King
> Cc: Willy Tarreau
> Cc:
On Sat, Mar 23, 2013 at 01:58:22PM +0100, Sebastian Hesselbarth wrote:
> This patch just adds the missing MACH_GURUPLUG_DT to kirkwood_defconfig.
>
> Signed-off-by: Sebastian Hesselbarth
> Reported-by: Soeren Moch
> ---
> Cc: Soeren Moch
> Cc: Jason Cooper
> Cc: An
simpler.
Signed-off-by: Jason Wang
---
drivers/vhost/net.c | 60
drivers/vhost/vhost.c |3 ++
2 files changed, 13 insertions(+), 50 deletions(-)
diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c
index 959b1cd..d1a03dd 100644
--- a
> arch/arm/Kconfig | 1 -
> 1 file changed, 1 deletion(-)
Applied to mvebu/fixes
thx,
Jason.
--
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 already there */
> @@ -487,7 +488,11 @@ static int _add_function(struct mvebu_pinctrl_function
> *funcs, const char *name)
> return -EEXIST;
> }
> funcs++;
> + nr_funcs--;
> }
> + if (!nr_func
Added LinusW, Gregory and Ezequiel to the email. Guys, can you give
this a Tested-by before I apply (or Ack for LinusW)?
thx,
Jason.
On Sat, Mar 09, 2013 at 11:39:31PM +, David Woodhouse wrote:
> On Sat, 2013-03-09 at 17:53 -0500, Jason Cooper wrote:
> > > + i
On 03/11/2013 12:50 AM, Michael S. Tsirkin wrote:
> On Thu, Mar 07, 2013 at 12:31:56PM +0800, Jason Wang wrote:
>> After commit 2b8b328b61c799957a456a5a8dab8cc7dea68575 (vhost_net: handle
>> polling
>> errors when setting backend), we in fact track the polling state thr
On 03/11/2013 03:09 PM, Jason Wang wrote:
> On 03/11/2013 12:50 AM, Michael S. Tsirkin wrote:
>> On Thu, Mar 07, 2013 at 12:31:56PM +0800, Jason Wang wrote:
>>> After commit 2b8b328b61c799957a456a5a8dab8cc7dea68575 (vhost_net: handle
>>> polling
>>> errors whe
On 03/11/2013 04:29 PM, Michael S. Tsirkin wrote:
> On Mon, Mar 11, 2013 at 03:09:10PM +0800, Jason Wang wrote:
>> On 03/11/2013 12:50 AM, Michael S. Tsirkin wrote:
>>> On Thu, Mar 07, 2013 at 12:31:56PM +0800, Jason Wang wrote:
>>>> After commit 2b8b328b61c799957a456
> 3 files changed, 9 insertions(+), 13 deletions(-)
Acked-by: Jason Cooper
thx,
Jason.
--
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 03/11/2013 09:09 AM, Steven Rostedt wrote:
> This is Jason's code.
>
> Jason, please give an Ack or Nack.
>
> Thanks,
>
> -- Steve
>
>
> On Mon, 2013-03-11 at 15:13 +0800, zhangwei(Jovi) wrote:
>> trace_empty is checking in while-loop, so the previous c
fixes/cleanup against the usual kernel churn
and at least we are removing more lines than we add. :-)
Thanks,
Jason.
The following changes since commit 28a33cbc24e4256c143dce96c7d93bf423229f92:
Linux 3.5 (2012-07-21 13:58:29 -0700)
are available in the git repository at:
git
The DT should describe the hardware as accurately as possible. We can't
always assume Linux will be the only thing the DT is handed off to.
> If i wanted to mass convert all existing kirkwood DT boards over to
> use pinctrl, im stuck at the very first step. I've no idea what chip
> t
break anything?
I have not made my way through the entire series yet, so I am not sure if you
need the kdb header changes or not, but so far it looks like the tty pieces are
separate. If you add your ack Greg, I'll take the whole series and merge it
into kgdb-next, or after I finish the
; if (kgdb_reenter_check(ks))
> - return 0; /* Ouch, double exception ! */
> + goto out; /* Ouch, double exception ! */
> if (kgdb_info[ks->cpu].enter_kgdb != 0)
> - return 0;
> + goto out;
>
> - return kgdb_cpu_enter
On 09/13/2012 10:03 AM, Anton Vorontsov wrote:
> This command disables NMI-entry. If NMI source has been previously shared
> with a serial console ("debug port"), this effectively releases the port
> from KDB exclusive use, and makes the console available for normal use.
>
> Of course, NMI can be
;, __func__, ret);
> + goto err_drv_reg;
> + }
> +
> + ret = kdb_register("nmi_console", kgdb_nmi_enable_console, "[off]",
> + "switch to Linux NMI console", 0);
> + if (ret) {
> + pr_err(&qu
merging this due to any tty patches,
>>> and if so, I'll be glad to take them through my tree.
>> Guys, thanks for taking a look into this!
>>
>> The patch that adds nmi console driver (i.e. tty/serial/kgdb_nmi.c)
>> depends on the first KDB patches in these
der running right now (it will be done in about
1 hour), and so far it picked up one new warning.
drivers/tty/serial/kgdb_nmi.c: In function 'kgdb_nmi_poll_one_knock':
drivers/tty/serial/kgdb_nmi.c:161: warning: field width should have type 'int',
but argument 4 has type
On 09/19/2012 06:41 PM, Anton Vorontsov wrote:
> This special driver makes it possible to temporary use NMI debugger port
> as a normal console by issuing 'nmi_console' command (assuming that the
> port is attached to KGDB).
>
The kgdb regression compiler also does checkpatch, so the "check patc
the warning go away.
Reported-by: Thiago Rafael Becker
Signed-off-by: Jason Wessel
---
arch/x86/kernel/kgdb.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/kgdb.c b/arch/x86/kernel/kgdb.c
index 3f61904..836f832 100644
--- a/arch/x86/kernel/kgdb.c
+++ b/arch/x86/ker
igned-off-by: Jason Wessel
---
arch/mips/kernel/kgdb.c |9 +
1 file changed, 9 insertions(+)
diff --git a/arch/mips/kernel/kgdb.c b/arch/mips/kernel/kgdb.c
index f4546e9..23817a6 100644
--- a/arch/mips/kernel/kgdb.c
+++ b/arch/mips/kernel/kgdb.c
@@ -283,6 +283,15 @@ static int kgdb_mips_n
kbd was the original abbreviation for keyboard).
With this change kgdboc will now accept either to mean the same thing:
kgdboc=kbd
kgdboc=kdb
Signed-off-by: Jason Wessel
---
drivers/tty/serial/kgdboc.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/t
: Greg Kroah-Hartman
Signed-off-by: Jason Wessel
---
drivers/tty/serial/pmac_zilog.c | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c
index 654755a..333c8d0 100644
--- a/drivers/tty/serial/pmac_z
series.
Jason.
The following changes since commit 4ce04a959ef2ba9338217966013b832ff0ff9003:
Jason Wessel (1):
kgdb-light-v10: x86 HW breakpoints
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/jwessel/linux-2.6-kgdb.git
for_ingo
Jason Wessel (3
not allow access to the kernel
memory space. As an example, it is required to allow the full kernel
address space is when you the kernel debugger to inspect a system
call.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
---
kernel/kgdb.c | 11 +++
mm/maccess.c |6 ++
2
Implement the serial polling hooks for the pl011 uart for use with
kgdboc.
This patch was specifically tested on the ARM Versatile AB reference
platform.
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
Signed-off-by: Thomas Glei
to setup the traps earlier allow for early debugging with
a uart based KGDB I/O driver. The do_undefinstr() routine also needed
to allow the lookup of kernel address space in order for the debugger
to plant undefined instructions in kernel memory space and receive the
correct notification.
Signed-of
ortant for
helping to validate future archs that have kgdb support added, as well
as a place to add other edge test cases if there are future defects
fixed in kgdb for which you can create a test case.
Jason.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
t
ly.
>
> Signed-off-by: Sebastian Hesselbarth
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell King
> Cc: linux-arm-ker...@lists.infradead.org
> Cc: linux-kernel@vger.kernel.org
> ---
...
> diff --git a/arch/arm/mach-kirkwood/Makefile.boot
> b/arch/arm/mach-ki
On Tue, Aug 14, 2012 at 10:43:41PM +0200, Sebastian Hesselbarth wrote:
> This add a DT compatible board specific setup for the Seagate
> FreeAgent Dockstar.
>
> Signed-off-by: Sebastian Hesselbarth
> ---
> Cc: Jason Cooper
> Cc: Andrew Lunn
> Cc: Russell K
p the redirected packets.
Signed-off-by: Jason Wang
---
net/sched/act_mirred.c |9 +++--
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c
index fe81cc1..3682951 100644
--- a/net/sched/act_mirred.c
+++ b/net/sched/act_mir
On 08/15/2012 08:35 PM, Jamal Hadi Salim wrote:
On Wed, 2012-08-15 at 17:37 +0800, Jason Wang wrote:
We drop packet unconditionally when we fail to mirror it. This is not intended
in some cases.
Hi Jason,
Did you actually notice the behavior you described or were you going by
the XXX comment I
On 08/15/2012 11:10 PM, Jamal Hadi Salim wrote:
On Wed, 2012-08-15 at 21:42 +0800, Jason Wang wrote:
I met it actually through the following steps:
- start a kvm guest with tap and make it to be an interface of the bridge
- mirror the ingress traffic of the bridge to the tap
- terminate the
p the redirected packets.
Signed-off-by: Jason Wang
---
Changes from v1:
- Check with TCA_EGRESS_MIRROR instead of TC_ACT_STOLEN per Jamal's comment
net/sched/act_mirred.c | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/net/sched/act_mirred.c b
On Tue, Aug 14, 2012 at 07:22:56PM -0400, Jason Cooper wrote:
> On Tue, Aug 14, 2012 at 10:43:41PM +0200, Sebastian Hesselbarth wrote:
> > This add a DT compatible board specific setup for the Seagate
> > FreeAgent Dockstar.
> >
> > Signed-off-by: Sebastian Hesselb
On Thu, Aug 16, 2012 at 03:45:00PM +0200, Sebastian Hesselbarth wrote:
> On 8/16/12, Jason Cooper wrote:
> > Unless I hear otherwise from you in the next day or so, I'm going to
> > collapse the fix into your patch and push it that way.
>
> please feel free to
gned-off-by: Jan Kiszka <[EMAIL PROTECTED]>
>
Jan,
I pulled in all your changes and made some minor white space fixes.
I started the 2.6.25 branch with all Ingo's changes, your changes and
several additional patches I received.
http://git.kernel.org/?p=linux/kernel/git/jwessel
|8
> kernel/sched.c |7 +--
> 4 files changed, 14 insertions(+), 14 deletions(-)
>
>
committed to:
http://git.kernel.org/?p=linux/kernel/git/jwessel/linux-2.6-kgdb.git;a=shortlog;h=kgdb_2.6.25
Jason.
--
To unsubscribe from this list: send the lin
proxy spliter automatically sends the break (or in the current case
the sysrq g)
> This would make kgdboc way more practical without having to resort to a
> protocol splitting proxy, etc.
>
> Ingo
>
Jason.
--
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/
-add documentation about pr_debug kernel-parameters.txt
Signed-off-by: Jason Baron <[EMAIL PROTECTED]>
---
Documentation/kernel-parameters.txt |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt
b/Documentation/
-add /proc/sys/debug/pr_debug, to toggle pr_debug() on/off
Signed-off-by: Jason Baron <[EMAIL PROTECTED]>
---
kernel/sysctl.c | 41 +
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 7
hi,
make the pr_debug() function dependent upon the new immediate infrastruture.
Thus, b/c of the low runtime impact, we can dynamically enable/disable
pr_debug withoug recompiling. Patch allows 'pr_debug=0/1' on the command
line or via /proc/sys/debug/pr_debug.
thanks,
-Ja
-make pr_debug() dynamic so it can be switched on/off. The off state
is implemented on top of the immediate infrastructure, so as to promote
more dynamic printing and debugging. depends on CONFIG_HAVE_IMMEDIATE
and CONFIG_PRINTK
Signed-off-by: Jason Baron <[EMAIL PROTECTED]>
---
i
-make pptp_msg_name dependent on CONFIG_PR_DEBUG_DYNAMIC
Signed-off-by: Jason Baron <[EMAIL PROTECTED]>
---
net/netfilter/nf_conntrack_pptp.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/netfilter/nf_conntrack_pptp.c
b/net/netfilter/nf_conntrack_pptp.c
On Thu, Feb 07, 2008 at 02:42:14PM -0800, Joe Perches wrote:
> On Thu, 2008-02-07 at 16:03 -0500, Jason Baron wrote:
> > make the pr_debug() function dependent upon the new immediate infrastruture.
>
> What's wrong with klogd -c 8 or equivalent?
>
>
Setting the logl
at the
command line, it is turned on early in the boot process. I orginally
implemented it as pr_debug=, but I believe just the string is simpler.
thanks,
-Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTE
On Thu, Feb 07, 2008 at 04:10:52PM -0800, Stephen Hemminger wrote:
> Jason Baron <[EMAIL PROTECTED]> wrote:
>
> >
> > -add /proc/sys/debug/pr_debug, to toggle pr_debug() on/off
> >
> > Signed-off-by: Jason Baron <[EMAIL PROTECTED]>
safe
> memory copy", then the right way to do that is basically to do
>
> pagefault_disable();
> leftover = __copy_from_user_inatomic(dst, src, count);
> pagefault_enable();
>
> if (leftover)
> handle_the_fact_that_the_copy_didnt_comp
/O driver
interface.
All the kgdb hooks are initialized dynamically only when a
kgdb I/O module is configured. When not configured
kgdb will not exist in any kernel execution path.
Further comments are certainly welcome.
Thanks,
Jason.
git://git.kernel.org/pub/scm/linux/kernel/git/jwessel
From: Jason Wessel <[EMAIL PROTECTED]>
With more information in the kernel, gdb can be modified in such a way
as to automatically read the kernel module section information and
allow for easy kernel module debugging.
In gdb the solib-search-path must contain the location of any module
From: Jason Wessel <[EMAIL PROTECTED]>
On the i386 arch, in order to support early debugginer with kgdb when
used with kgdb via rs232 some traps must be initialized sooner rather
than later, but it is safe to always do this. The arch i386 now calls
parse_early_param() to explicitly l
From: Ingo Molnar <[EMAIL PROTECTED]>
add pid_max prototype - now used by sysctl and kgdb as well.
Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
Signed-off-by: Jason Wessel <[EMAIL PROTECTED]>
---
include/linux/pid.h
From: Jason Wessel <[EMAIL PROTECTED]>
It is possible that when SysRq-G is triggered via the keyboard that we
will miss the "up" event and once KGDB lets the kernel go another
SysRq will be required to clear this, without this change.
Signed-off-by: Tom Rini <[EMAIL PROTEC
From: Jason Wessel <[EMAIL PROTECTED]>
This patch adds in the ability to unoptimize a single kernel module to
make source stepping more linear and not optimize out variables that
the developer might like to inspect. It used with adding
COPTIMIZE=-O0 to the build line when doing something
From: Jason Wessel <[EMAIL PROTECTED]>
Add a SERIAL_POLL API to the serial core for use with kgdboc (KGDB
over the console), the gdb serial adapter which can multiplex with a
console port.
The kgdboc module can be extended later to support all sorts of
different console types provided that
From: Jason Wessel <[EMAIL PROTECTED]>
This patch some small hooks into the normal serial core so that a uart
can be unregistered to be exclusively used for KGDB. These changes
allow for registering and unregistering a port with a struct
uart_port. From that point on KGDB does raw acces
are certainly
welcome.
Thanks,
Jason.
--
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/
gt; - * console if we have one.
>> + * console (real or kgdb) if we have one.
>> */
>> -if (!uart_console(port))
>> +if (!uart_console(port) && !uart_kgdb(port))
>> uart_change_pm(state, 3);
&
code.
I folded your patch into patch #7 and refreshed the git archive.
Thanks,
Jason.
> --- linux-2.6-kgdb.orig/drivers/serial/Kconfig
> +++ linux-2.6-kgdb/drivers/serial/Kconfig
> @@ -121,7 +121,7 @@ config SERIAL_8250_CS
>
> config SERIAL_8250_NR_UARTS
> int "Max
these cases?
>
> 3- trivial var name change in lib/dynamic_debug.c
>
>
> Please drop or apply 2,3 as you prefer.
2,3 are nice, but as you suggest I think we want to separate them from
patch 1, which is a bugfix for 3.5.
Thanks,
-Jason
--
To unsubscribe from this list: send th
On 07/20/2012 08:33 PM, Michael S. Tsirkin wrote:
On Thu, Jul 05, 2012 at 06:29:54PM +0800, Jason Wang wrote:
This patch let the virtio_net driver can negotiate the number of queues it
wishes to use through control virtqueue and export an ethtool interface to let
use tweak it.
As current
On 07/20/2012 09:40 PM, Michael S. Tsirkin wrote:
On Thu, Jul 05, 2012 at 06:29:53PM +0800, Jason Wang wrote:
This patch converts virtio_net to a multi queue device. After negotiated
VIRTIO_NET_F_MULTIQUEUE feature, the virtio device has many tx/rx queue pairs,
and driver could read the number
801 - 900 of 9518 matches
Mail list logo