Re: [PATCH resend] e100: switch from 'pci_' to 'dma_' API

2021-01-28 Thread Jakub Kicinski
On Thu, 28 Jan 2021 21:45:02 + Nguyen, Anthony L wrote: > > drivers/net/ethernet/intel/e100.c | 92 - > > My apologies, this patch slipped through the cracks for me. I will send > it in my next net-next 1GbE series or Jakub you can take it directly

Re: [PATCH resend] e100: switch from 'pci_' to 'dma_' API

2021-01-28 Thread Nguyen, Anthony L
on e1, e2; > @@ > -pci_set_dma_mask(e1, e2) > +dma_set_mask(&e1->dev, e2) > > @@ > expression e1, e2; > @@ > -pci_set_consistent_dma_mask(e1, e2) > +dma_set_coherent_mask(&e1->dev, e2) > > Signed-off-by: Christophe JAILLET > Tested-by: Aaron Br

[PATCH resend] e100: switch from 'pci_' to 'dma_' API

2021-01-28 Thread Christophe JAILLET
janitors&m=158745678307186&w=4 First sent on 18 Jul. 2020, see: https://lore.kernel.org/lkml/20200718115546.358240-1-christophe.jail...@wanadoo.fr/ It still applies cleanly with latest linux-next Tested tag, see: https://lore.kernel.org/lkml/dm6pr11mb289001e5538e536f0cb60a1fb

RE: Security issue with vmxnet3 and e100 for AMD SEV(-SNP) / Intel TDX

2021-01-11 Thread Kleen, Andi
>Let us know if you are interested in our fuzzing/static analysis setup. >We're planning to submit a paper soon and we will publish the source >code >along with the paper. We already have an own static analysis/fuzzing frame work, but it's not released yet. -Andi

Re: Security issue with vmxnet3 and e100 for AMD SEV(-SNP) / Intel TDX

2021-01-11 Thread Robert Buhren
uosl.org >> Cc: dos...@vmware.com ; jesse.brandeb...@intel.com >> ; anthony.l.ngu...@intel.com >> ; Morbitzer, Mathias >> ; Robert Buhren >> ; f...@sect.tu-berlin.de >> ; Banse, Christian >> ; brijesh.si...@amd.com >> ; thomas.lenda...@amd.com ; >&g

Re: Security issue with vmxnet3 and e100 for AMD SEV(-SNP) / Intel TDX

2021-01-11 Thread Kirill A. Shutemov
> ; Morbitzer, Mathias > ; Robert Buhren > ; f...@sect.tu-berlin.de > ; Banse, Christian > ; brijesh.si...@amd.com > ; thomas.lenda...@amd.com ; > pv-driv...@vmware.com ; martin.b.ra...@gmail.com > > Subject: Security issue with vmxnet3 and e100 for AMD SEV(

RE: [Intel-wired-lan] [PATCH] e100: switch from 'pci_' to 'dma_' API

2020-10-12 Thread Brown, Aaron F
uosl.org; > linux-ker...@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] e100: switch from 'pci_' to 'dma_' API > > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has bee

[patch V2 08/36] net: e100: Remove in_interrupt() usage and pointless GFP_ATOMIC allocation

2020-09-29 Thread Thomas Gleixner
GFP_ATOMIC allocation. The next invoked function e100_alloc_cbs() is using GFP_KERNEL already. Change the allocation mode in e100_rx_alloc_list() to GFP_KERNEL as well. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Thomas Gleixner --- drivers/net/ethernet/intel/e100.c |4

[patch 08/35] net: e100: Remove in_interrupt() usage and pointless GFP_ATOMIC allocation

2020-09-27 Thread Thomas Gleixner
Cc: Jakub Kicinski Cc: intel-wired-...@lists.osuosl.org Cc: netdev@vger.kernel.org --- drivers/net/ethernet/intel/e100.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -1531,7 +1531,7 @@ static int e1

[net-next 05/12] e100: use generic power management

2020-07-30 Thread Tony Nguyen
sable(). Compile-tested only. Signed-off-by: Vaibhav Gupta Tested-by: Aaron Brown Signed-off-by: Tony Nguyen --- drivers/net/ethernet/intel/e100.c | 32 ++- 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c b/driver

[PATCH] e100: switch from 'pci_' to 'dma_' API

2020-07-18 Thread Christophe JAILLET
p;e1->dev, e2) @@ expression e1, e2; @@ -pci_set_consistent_dma_mask(e1, e2) +dma_set_coherent_mask(&e1->dev, e2) Signed-off-by: Christophe JAILLET --- If needed, see post from Christoph Hellwig on the kernel-janitors ML: https://marc.info/?l=kernel-janitors&m=1587456

RE: [Intel-wired-lan] [PATCH v1 5/5] e100: use generic power management

2020-07-16 Thread Brown, Aaron F
ger.kernel.org; > linux-ker...@vger.kernel.org; intel-wired-...@lists.osuosl.org; > sk...@linuxfoundation.org; linux-kernel-ment...@lists.linuxfoundation.org > Subject: [Intel-wired-lan] [PATCH v1 5/5] e100: use generic power management > > With legacy PM hooks, it was the responsibility of a

[PATCH v1 5/5] e100: use generic power management

2020-06-29 Thread Vaibhav Gupta
ested only. Signed-off-by: Vaibhav Gupta --- drivers/net/ethernet/intel/e100.c | 31 +-- 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 1b8d015ebfb0..7506fb5eca8f 100644 --- a/dr

[net-next 04/10] e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait

2018-12-20 Thread Jeff Kirsher
From: YueHaibing Fix a static code checker warning: drivers/net/ethernet/intel/e100.c:1349 e100_load_ucode_wait() warn: passing zero to 'PTR_ERR' Signed-off-by: YueHaibing Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/e100.c | 4 ++-- 1 file

RE: [Intel-wired-lan] [PATCH net-next] e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait

2018-11-30 Thread Brown, Aaron F
..@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH net-next] e100: Fix passing zero to > 'PTR_ERR' warning in e100_load_ucode_wait > > Fix a static code checker warning: > drivers/net/ethernet/intel/e100.c:1349 > e100_load_ucode_wait() warn: passing zero to 'PTR_ER

[PATCH net-next] e100: Fix passing zero to 'PTR_ERR' warning in e100_load_ucode_wait

2018-11-19 Thread YueHaibing
Fix a static code checker warning: drivers/net/ethernet/intel/e100.c:1349 e100_load_ucode_wait() warn: passing zero to 'PTR_ERR' Signed-off-by: YueHaibing --- drivers/net/ethernet/intel/e100.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethe

[net-next 02/13] Documentation: e100, e1000: Add missing SPDX header

2018-10-18 Thread Jeff Kirsher
Add the SPDX-Lincense-Identifier to the Intel wired Ethernet *.rst kernel documentation. Signed-off-by: Jeff Kirsher Tested-by: Andrew Bowers Tested-by: Aaron Brown --- Documentation/networking/e100.rst | 3 ++- Documentation/networking/e1000.rst | 3 ++- 2 files changed, 4 insertions(+), 2

[net 3/4] networking: e100.rst: Get rid of Sphinx warnings

2018-07-12 Thread Jeff Kirsher
From: Mauro Carvalho Chehab Documentation/networking/e100.rst:57: WARNING: Literal block expected; none found. Documentation/networking/e100.rst:68: WARNING: Literal block expected; none found. Documentation/networking/e100.rst:75: WARNING: Literal block expected; none found

Re: [PATCH 0/4] docs: e100[0] fix build errors

2018-06-24 Thread Tobin C. Harding
x-next) Add > >>> linux-next specific files for 20180621 > >>> > >>> > >>> I split the patches in between the two drivers to enable use of the > >>> 'Fixes:' tag. > >>> > >>> Tobin C. Harding (4): >

[net-next 02/12] Documentation: e100: Update the Intel 10/100 driver doc

2018-06-04 Thread Jeff Kirsher
documentation. Signed-off-by: Jeff Kirsher Tested-by: Aaron Brown --- .../networking/{e100.txt => e100.rst} | 60 +-- Documentation/networking/index.rst| 1 + MAINTAINERS | 2 +- 3 files changed, 29 insertions(+), 34 deleti

[PATCH v17 2/4] net: e100: Replace PCI pool old API

2018-01-02 Thread Romain Perier
--- drivers/net/ethernet/intel/e100.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 44b3937f7e81..29486478836e 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel

Re: [PATCH v16 2/4] net: e100: Replace PCI pool old API

2017-12-18 Thread David Miller
From: Romain Perier Date: Fri, 15 Dec 2017 20:31:21 +0100 > From: Romain Perier > > The PCI pool API is deprecated. This commit replaces the PCI pool old > API by the appropriate function with the DMA pool API. > > Signed-off-by: Romain Perier > Acked-by: Peter Senna Tschudin > Acked-by: Jef

[PATCH v16 2/4] net: e100: Replace PCI pool old API

2017-12-15 Thread Romain Perier
/e100.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 44b3937f7e81..29486478836e 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -607,7 +607,7

[PATCH] net: intel: e100: Fix warning of passing zero to 'PTR_ERR'

2017-12-07 Thread Vasyl Gomonovych
fw could be NULL and put into PTR_ERR also zero in PTR_ERR will be translated into success return statement Signed-off-by: Vasyl Gomonovych --- drivers/net/ethernet/intel/e100.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers

[PATCH v15 2/5] net: e100: Replace PCI pool old API

2017-11-20 Thread Romain Perier
/e100.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 44b3937f7e81..29486478836e 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -607,7 +607,7

[PATCH v14 3/5] net: e100: Replace PCI pool old API

2017-10-23 Thread Romain Perier
/e100.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 184f11242f56..ba52475b9ff0 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -607,7 +607,7

[PATCH 2/6] e100: Cocci spatch "pool_zalloc-simple"

2017-09-20 Thread Thomas Meyer
Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0. Found by coccinelle spatch "api/alloc/pool_zalloc-simple.cocci" Signed-off-by: Thomas Meyer --- diff -u -p a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c --- a/drivers/net/ethernet/intel/e1

[PATCH v13 3/5] net: e100: Replace PCI pool old API

2017-09-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v12 4/8] net: e100: Replace PCI pool old API

2017-08-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v11 4/8] net: e100: Replace PCI pool old API

2017-08-09 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v10 04/15] net: e100: Replace PCI pool old API

2017-07-06 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v9 04/15] net: e100: Replace PCI pool old API

2017-05-22 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v8 04/15] net: e100: Replace PCI pool old API

2017-04-28 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v7 04/15] net: e100: Replace PCI pool old API

2017-04-07 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

[PATCH v6 04/15] net: e100: Replace PCI pool old API

2017-03-19 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Acked-by: Jeff Kirsher Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12

Re: [PATCH v5 04/19] net: e100: Replace PCI pool old API

2017-03-09 Thread Romain Perier
by the appropriate function with the DMA pool API. >>> >>> Signed-off-by: Romain Perier >>> Acked-by: Peter Senna Tschudin >>> Tested-by: Peter Senna Tschudin >>> --- >>> drivers/net/ethernet/intel/e100.c | 12 ++-- >>> 1 file

Re: [PATCH v5 04/19] net: e100: Replace PCI pool old API

2017-03-08 Thread Peter Senna Tschudin
igned-off-by: Romain Perier > > Acked-by: Peter Senna Tschudin > > Tested-by: Peter Senna Tschudin > > --- > >  drivers/net/ethernet/intel/e100.c | 12 ++-- > >  1 file changed, 6 insertions(+), 6 deletions(-) > > Acked-by: Jeff Kirsher > > My onl

Re: [PATCH v5 04/19] net: e100: Replace PCI pool old API

2017-03-08 Thread Jeff Kirsher
ter Senna Tschudin > --- >  drivers/net/ethernet/intel/e100.c | 12 ++-- >  1 file changed, 6 insertions(+), 6 deletions(-) Acked-by: Jeff Kirsher My only concern is: - what hardware did this get tested with? Since this affects all e100 parts, it would be hard to believe that all the af

[PATCH v5 04/19] net: e100: Replace PCI pool old API

2017-03-08 Thread Romain Perier
The PCI pool API is deprecated. This commit replaces the PCI pool old API by the appropriate function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++-- 1 file changed, 6

[PATCH v4 04/19] net: e100: Replace PCI pool old API

2017-03-01 Thread Romain Perier
The PCI pool API is deprecated. This commits replaces the PCI pool old API by the appropriated function with the DMA pool API. Signed-off-by: Romain Perier Acked-by: Peter Senna Tschudin Tested-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/e100.c | 12 ++-- 1 file changed, 6

Re: [RFC 04/19] net: e100: Replace PCI pool old API

2017-02-08 Thread Peter Senna Tschudin
t; Signed-off-by: Romain Perier > --- > drivers/net/ethernet/intel/e100.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/ethernet/intel/e100.c > b/drivers/net/ethernet/intel/e100.c > index 2b7323d..d1002c2 100644 > --- a/

Re: [PATCH] net: intel: e100: use new api ethtool_{get|set}_link_ksettings

2017-01-09 Thread David Miller
From: Philippe Reynes Date: Sat, 7 Jan 2017 23:18:07 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

[PATCH] net: intel: e100: use new api ethtool_{get|set}_link_ksettings

2017-01-07 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/intel/e100.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c

[net 2/4] e100.txt: Cleanup license info in kernel doc

2015-12-03 Thread Jeff Kirsher
Apparently the e100.txt document contained a "License" section left over from days of old, which does not need to be in the kernel documentation. So clean it up.. CC: John Ronciak Signed-off-by: Jeff Kirsher Tested-by: Aaron Brown --- Documentation/networking/e100.txt | 14 ---

[net-next 07/15] e100: Add a check after pci_pool_create to avoid null pointer dereference

2015-08-18 Thread Jeff Kirsher
Signed-off-by: Jia-Ju Bai Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/e100.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index d2657a4..767c161 100644 --- a/drivers/net/et

[net-next 08/15] e100: Release skb when DMA mapping is failed in e100_xmit_prepare

2015-08-18 Thread Jeff Kirsher
: Aaron Brown Signed-off-by: Jeff Kirsher --- drivers/net/ethernet/intel/e100.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 767c161..068789e 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b

RE: [Intel-wired-lan] [PATCH] e100: Add a check after pci_pool_create to avoid null pointer dereference

2015-08-17 Thread Brown, Aaron F
..@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] e100: Add a check after pci_pool_create > to avoid null pointer dereference > > The driver lacks the check of nic->cbs_pool after pci_pool_create > in e100_probe. When this function is failed, a null pointer dereference > occurs

RE: [Intel-wired-lan] [PATCH] e100: Release skb when DMA mapping is failed in e100_xmit_prepare

2015-08-17 Thread Brown, Aaron F
..@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH] e100: Release skb when DMA mapping is > failed in e100_xmit_prepare > > When pci_dma_mapping_error in e100_xmit_prepare is failed, the skb buffer > allocated by netdev_alloc_skb_ip_align in e100_rx_alloc_skb is not > released, w

[PATCH] e100: Release skb when DMA mapping is failed in e100_xmit_prepare

2015-08-02 Thread Jia-Ju Bai
/e100.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index d2657a4..cc90616 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -1770,8 +1770,11 @@ static int

[PATCH] e100: Add a check after pci_pool_create to avoid null pointer dereference

2015-08-02 Thread Jia-Ju Bai
Ju Bai --- drivers/net/ethernet/intel/e100.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index d2657a4..767c161 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -

Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ...

2008-02-21 Thread Andrey Borzenkov
sysenter_past_esp+0x5f/0xa5 > >>>> [ 8805.292038] === > >>>> [ 8805.347640] ACPI: PCI interrupt for device :00:06.0 disabled > >>>> [ 8805.361128] ACPI: PCI interrupt for device :00:02.0 disabled > >>&g

Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ...

2008-02-21 Thread Kok, Auke
t;>> [ 8805.361128] ACPI: PCI interrupt for device :00:02.0 disabled >>>> [ 8805.376670] hwsleep-0322 [00] enter_sleep_state : Entering sleep >>>> state [S3] >>>> [ 8805.376670] Back to C! >>>> >>>> Interface is unused normally (only for net

Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ...

2008-02-20 Thread Kok, Auke
tering sleep >>> state [S3] >>> [ 8805.376670] Back to C! >>> >>> Interface is unused normally (only for netconsole sometimes). dmesg and >>> config >>> attached. >> Does reverting this: >> >> commit 8543da6672b0994921f014f2250e27ae816

Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ...

2008-02-19 Thread Kok, Auke
mes). dmesg and >> config >> attached. > > Does reverting this: > > commit 8543da6672b0994921f014f2250e27ae81645580 > Author: Auke Kok <[EMAIL PROTECTED]> > Date: Wed Dec 12 16:30:42 2007 -0800 > > e100: free IRQ to remove warningwhenrebooting > &

Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ...

2008-02-18 Thread Andrey Borzenkov
On Monday 18 February 2008, Andrew Morton wrote: > On Sun, 17 Feb 2008 15:36:50 +0300 Andrey Borzenkov <[EMAIL PROTECTED]> wrote: > > > ... and possibly reboot/poweroff (it flows by too fast to be legible). > > > > [ 8803.850634] ACPI: Preparing to enter system sleep state S3 > > [ 8803.853141] S

Re: [2.6.25-rc2] e100: Trying to free already-free IRQ 11 during suspend ...

2008-02-18 Thread Andrew Morton
: Entering sleep > state [S3] > [ 8805.376670] Back to C! > > Interface is unused normally (only for netconsole sometimes). dmesg and config > attached. Does reverting this: commit 8543da6672b0994921f014f2250e27ae81645580 Author: Auke Kok <[EMAIL PROTECTED]> Date: We

[PATCH 4/6] e100: fix spelling errors

2008-02-01 Thread Auke Kok
From: Andreas Mohr <[EMAIL PROTECTED]> Signed-off-by: Andreas Mohr <[EMAIL PROTECTED]> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> --- drivers/net/e100.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/e100.c b/drivers/net/e1

[PATCH 3/6] e100: Fix iomap mem accesses

2008-02-01 Thread Auke Kok
From: Jiri Slaby <[EMAIL PROTECTED]> writeX functions are not permitted on iomap-ped space change to iowriteX, also pci_unmap pci_map-ped space on exit (instead of iounmap). Signed-off-by: Jiri Slaby <[EMAIL PROTECTED]> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> --- drivers

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2008-01-30 Thread Kok, Auke
Andreas Mohr wrote: > Hi, > > On Tue, Jan 29, 2008 at 03:09:25PM -0800, Kok, Auke wrote: >> Andreas Mohr wrote: >>> Perhaps it's useful to file a bug/patch >>> on http://sourceforge.net/projects/e1000/ ? Perhaps -mm testing? >> I wanted to push this though our testing labs first which has not happ

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2008-01-29 Thread Andreas Mohr
Hi, On Tue, Jan 29, 2008 at 03:09:25PM -0800, Kok, Auke wrote: > Andreas Mohr wrote: > > Perhaps it's useful to file a bug/patch > > on http://sourceforge.net/projects/e1000/ ? Perhaps -mm testing? > > I wanted to push this though our testing labs first which has not happened > due to > time con

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2008-01-29 Thread Kok, Auke
Andreas Mohr wrote: > Hi, > > On Tue, Jan 01, 2008 at 09:09:08PM +0100, Andreas Mohr wrote: >> Thanks for your quick reply! >> >> OK, here's part 1, the MII-less support stuff. >> (preliminary posting, for review only) >> >> Note that these diffs apply to 2.6.24-rc6-mm1 without much trouble, >> th

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2008-01-29 Thread Andreas Mohr
Hi, On Tue, Jan 01, 2008 at 09:09:08PM +0100, Andreas Mohr wrote: > Thanks for your quick reply! > > OK, here's part 1, the MII-less support stuff. > (preliminary posting, for review only) > > Note that these diffs apply to 2.6.24-rc6-mm1 without much trouble, > thus might want to do -mm testing

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2008-01-01 Thread Andreas Mohr
bit deeper review after newyears. Part 2, the spelling corrections. Thanks! Signed-off-by: Andreas Mohr <[EMAIL PROTECTED]> --- linux-2.6.24-rc6/drivers/net/e100.c 2008-01-01 18:53:21.0 +0100 +++ linux-2.6.24-rc6/drivers/net/e100.c 2008-01-01 18:53:25.0 +0100 @@ -94,7 +94,7 @@

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2008-01-01 Thread Andreas Mohr
IL PROTECTED]> --- linux-2.6.24-rc6/drivers/net/e100.c 2008-01-01 12:57:06.0 +0100 +++ linux-2.6.24-rc6/drivers/net/e100.c 2008-01-01 16:17:45.0 +0100 @@ -251,6 +251,7 @@ mac_unknown = 0xFF, }; +/* FIXME: these are unused: what the heck?? */ enum phy {

Re: [RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2007-12-29 Thread Kok, Auke
Andreas Mohr wrote: > Hi all, > > I was mildly annoyed when rebooting my _headless_ internet gateway after a > hotplug -> udev migration and witnessing it not coming up again, > which turned out to be due to an eepro100 / e100 loading conflict > since eepro100 supported b

[RFC/PATCH] e100 driver didn't support any MII-less PHYs...

2007-12-28 Thread Andreas Mohr
Hi all, I was mildly annoyed when rebooting my _headless_ internet gateway after a hotplug -> udev migration and witnessing it not coming up again, which turned out to be due to an eepro100 / e100 loading conflict since eepro100 supported both of my Intel-based network cards, whereas e100 o

Re: [PATCH] e100: free IRQ to remove warningwhenrebooting

2007-12-14 Thread Jeff Garzik
Auke Kok wrote: Adapted from Ian Wienand <[EMAIL PROTECTED]> Explicitly free the IRQ before removing the device to remove a warning "Destroying IRQ without calling free_irq" Signed-off-by: Auke Kok <[EMAIL PROTECTED]> Cc: Ian Wienand <[EMAIL PROTECTED]> --- driver

[patch 07/10] e100: free IRQ to remove warning when rebooting

2007-12-13 Thread akpm
think the solution might be to free the IRQ before the pci_device_shutdown Signed-off-by: Ian Wienand <[EMAIL PROTECTED]> Cc: Jesse Brandeburg <[EMAIL PROTECTED]> Cc: Auke Kok <[EMAIL PROTECTED]> Cc: Jeff Garzik <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECT

[PATCH] e100: free IRQ to remove warningwhenrebooting

2007-12-12 Thread Auke Kok
Adapted from Ian Wienand <[EMAIL PROTECTED]> Explicitly free the IRQ before removing the device to remove a warning "Destroying IRQ without calling free_irq" Signed-off-by: Auke Kok <[EMAIL PROTECTED]> Cc: Ian Wienand <[EMAIL PROTECTED]> --- drivers/net/e100.c |

[PATCH 5/7] [NETDEV]: e100 Fix possible causing oops of net_rx_action

2007-12-11 Thread Joonwoo Park
[NETDEV]: e100 Fix possible causing oops of net_rx_action Signed-off-by: Joonwoo Park <[EMAIL PROTECTED]> --- drivers/net/e100.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/e100.c b/drivers/net/e100.c index e1c8a0d..7cb4ed0 100644 --- a/drivers/ne

[PATCH 2/2] e100: cleanup unneeded math

2007-12-05 Thread Auke Kok
No need to convert to bytes and back - cleanup unneeded code. Adapted from fix from 'Roel Kluin <[EMAIL PROTECTED]>' Signed-off-by: Auke Kok <[EMAIL PROTECTED]> --- drivers/net/e100.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/ne

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-28 Thread David Acker
Jeff Garzik wrote: Kok, Auke wrote: David Acker wrote: What is the status of this patch? Jeff merged it in netdev-2.6#upstream so it is queued for 2.6.25. However, we could consider pushing this patch to 2.6.24 since it's a valid fix. Andrew has also been carrying this patch in -mm for a wh

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-28 Thread Jeff Garzik
Kok, Auke wrote: David Acker wrote: What is the status of this patch? Is there anything folks would like me to do in order to move it forward? As an FYI, my company has been using this patch since I posted it and so far we have not had any problems with it. -Ack Jeff merged it in netdev-2.6

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-28 Thread Kok, Auke
next buffer >> and skip this one. If it sees the size set but the el-bit still set, >> it will complete that buffer and then RNR interrupt and wait. >> >> Signed-off-by: David Acker <[EMAIL PROTECTED]> >> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> >>

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-28 Thread David Acker
on to the next buffer and skip this one. If it sees the size set but the el-bit still set, it will complete that buffer and then RNR interrupt and wait. Signed-off-by: David Acker <[EMAIL PROTECTED]> Signed-off-by: Auke Kok <[EMAIL PROTECTED]> --- drivers

RE: [E1000-devel] [PATCH] e100: free IRQ to remove warning whenrebooting

2007-11-20 Thread Brandeburg, Jesse
wn I believe you are correct. Our other drivers appear to do this correctly. > Signed-off-by: Ian Wienand <[EMAIL PROTECTED]> Auke will add this and push it next week. Thanks! > > --- > > e100.c |1 + > 1 file changed, 1 insertion(+) > > diff --git a

[PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-08 Thread Auke Kok
EMAIL PROTECTED]> --- drivers/net/e100.c | 128 1 files changed, 99 insertions(+), 29 deletions(-) diff --git a/drivers/net/e100.c b/drivers/net/e100.c index 3dbaec6..2153058 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c @@ -106,6 +106,13

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-06 Thread Kok, Auke
David Acker wrote: > On the systems that have cache incoherent DMA, including ARM, there is a > race condition between software allocating a new receive buffer and hardware > writing into a buffer. The two race on touching the last Receive Frame > Descriptor (RFD). It has its el-bit set and its n

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-02 Thread Jeff Garzik
using pktgen. I had it sending while a PC sent at it. I also ran it as wireless access point with a 12-hour bidirectional 20 mbps UDP going between an ethernet host on the e100 and a wireless client. looks much simpler to me too, which I like. It's good to see something coming from you! I

Re: [PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-02 Thread Kok, Auke
ang the RU and the > transmit unit sometimes and if the card was restarted it would often crash the > system with memory corruption. This patch was tested on my embedded system > using pktgen. I had it sending while a PC sent at it. I also ran it as > wireless access point with a 12

[PATCH] Fix e100 on systems that have cache incoherent DMA

2007-11-02 Thread David Acker
e a PC sent at it. I also ran it as wireless access point with a 12-hour bidirectional 20 mbps UDP going between an ethernet host on the e100 and a wireless client. --- linux-2.6.24-rc1/drivers/net/e100.c.orig2007-11-01 11:42:35.0 -0400 +++ linux-2.6.24-rc1/drivers/net/e100.c 2007-11-02

Re: e100 problems in .23rc8 ?

2007-10-22 Thread Eric Sandeen
David Mack wrote: > Then I got very, very lucky, since I have successfully rebooted > 2.6.23.1-23.fc8 four times (zero panics) and this is the first time a > 2.6.23 kernel has not panicked on me in months. > > This does not fill me with confidence in the theory that the panics I've > been seeing a

Re: e100 problems in .23rc8 ?

2007-10-22 Thread Chuck Ebbert
On 10/18/2007 01:59 PM, Kok, Auke wrote: > David Mack wrote: >> It appears that the needed e100 fix made it into the Fedora >> 2.6.23.1-23.fc8 kernel. Boots reliably now. >> >> Huge thanks and great work, guys. > > > DaveJ, I didn't push anything upstrea

RE: e100 problems in .23rc8 ?

2007-10-22 Thread David Mack
ition. Dave > -Original Message- > From: Dave Jones [mailto:[EMAIL PROTECTED] > Sent: Sunday, October 21, 2007 6:05 PM > To: Kok, Auke > Cc: David Mack; Herbert Xu; netdev@vger.kernel.org; > [EMAIL PROTECTED] > Subject: Re: e100 problems in .23rc8 ? > > On Thu,

Re: e100 problems in .23rc8 ?

2007-10-21 Thread Herbert Xu
On Sun, Oct 21, 2007 at 09:04:40PM -0400, Dave Jones wrote: > > I included the patch below in the latest build, but I've not had > chance to try it on an e100 box yet.. Looks good to me. Thanks Dave! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~}

Re: e100 problems in .23rc8 ?

2007-10-21 Thread Dave Jones
On Thu, Oct 18, 2007 at 10:59:59AM -0700, Kok, Auke wrote: > David Mack wrote: > > It appears that the needed e100 fix made it into the Fedora > > 2.6.23.1-23.fc8 kernel. Boots reliably now. > > > > Huge thanks and great work, guys. > > DaveJ, I didn&

Re: e100 problems in .23rc8 ?

2007-10-18 Thread Chuck Ebbert
On 10/18/2007 01:59 PM, Kok, Auke wrote: > David Mack wrote: >> It appears that the needed e100 fix made it into the Fedora >> 2.6.23.1-23.fc8 kernel. Boots reliably now. >> >> Huge thanks and great work, guys. > > > DaveJ, I didn't push anything upstre

Re: e100 problems in .23rc8 ?

2007-10-18 Thread Kok, Auke
David Mack wrote: > It appears that the needed e100 fix made it into the Fedora > 2.6.23.1-23.fc8 kernel. Boots reliably now. > > Huge thanks and great work, guys. DaveJ, I didn't push anything upstream. Can you verify this now works? Auke > > Dave > >> --

RE: e100 problems in .23rc8 ?

2007-10-18 Thread David Mack
It appears that the needed e100 fix made it into the Fedora 2.6.23.1-23.fc8 kernel. Boots reliably now. Huge thanks and great work, guys. Dave > -Original Message- > From: Kok, Auke [mailto:[EMAIL PROTECTED] > Sent: Friday, October 12, 2007 10:05 AM > To: Herbert Xu >

RE: e100 problems in .23rc8 ?

2007-10-16 Thread David Mack
6, 2007 7:35 AM > To: Eric Sandeen > Cc: David Mack; [EMAIL PROTECTED]; [EMAIL PROTECTED]; > netdev@vger.kernel.org > Subject: Re: e100 problems in .23rc8 ? > > On Tue, Oct 16, 2007 at 09:33:15AM -0500, Eric Sandeen wrote: > > > > Hm... running 2.6.23-6.fc8, I&#x

Re: e100 problems in .23rc8 ?

2007-10-16 Thread Eric Sandeen
, disabled; I don't think that should >> be affecting anything? > > Well the original problem was caused by spurious interrupts on > the IRQ line where your e100 is so it could well be sporadic. Hah, well, I took the other NIC out and it didn't survive more than a coup

Re: e100 problems in .23rc8 ?

2007-10-16 Thread Herbert Xu
ink that should > be affecting anything? Well the original problem was caused by spurious interrupts on the IRQ line where your e100 is so it could well be sporadic. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://g

Re: e100 problems in .23rc8 ?

2007-10-16 Thread Eric Sandeen
Herbert Xu wrote: > David Mack <[EMAIL PROTECTED]> wrote: >> If I understand the message Dave Jones sent yesterday, the patch you >> mention *was* applied to the e100 driver in 2.6.23-6.fc8? > > Nope, he applied a different one which doesn't have the crucial >

Re: e100 problems in .23rc8 ?

2007-10-12 Thread Herbert Xu
David Mack <[EMAIL PROTECTED]> wrote: > If I understand the message Dave Jones sent yesterday, the patch you > mention *was* applied to the e100 driver in 2.6.23-6.fc8? Nope, he applied a different one which doesn't have the crucial part to disable NAPI polls before regi

Re: e100 problems in .23rc8 ?

2007-10-12 Thread Kok, Auke
Herbert Xu wrote: > On Fri, Oct 12, 2007 at 07:54:33AM -0700, David Mack wrote: >> Still no joy here. See attached capture. What's really weird is that it >> shows *two* kernel panics, one in e100_poll and one in _list_add. > > Yes that's the symptom one would expect from that bug. We really > n

RE: e100 problems in .23rc8 ?

2007-10-12 Thread David Mack
> Cc: Herbert Xu; netdev@vger.kernel.org; [EMAIL PROTECTED]; > David Mack > Subject: Re: e100 problems in .23rc8 ? > > On Thu, Oct 11, 2007 at 09:10:34AM -0700, Kok, Auke wrote: > > Herbert Xu wrote: > > > On Wed, Oct 10, 2007 at 08:36:38PM -0400, Dave Jones wrote

RE: e100 problems in .23rc8 ?

2007-10-12 Thread David Mack
If I understand the message Dave Jones sent yesterday, the patch you mention *was* applied to the e100 driver in 2.6.23-6.fc8? Dave > -Original Message- > From: Herbert Xu [mailto:[EMAIL PROTECTED] > Sent: Friday, October 12, 2007 8:36 AM > To: David Mack > Cc: Dave J

Re: e100 problems in .23rc8 ?

2007-10-12 Thread Herbert Xu
On Fri, Oct 12, 2007 at 07:54:33AM -0700, David Mack wrote: > Still no joy here. See attached capture. What's really weird is that it > shows *two* kernel panics, one in e100_poll and one in _list_add. Yes that's the symptom one would expect from that bug. We really need to apply the same fix th

Re: e100 problems in .23rc8 ?

2007-10-11 Thread Herbert Xu
olling before registering netdevice > > this patch actually called napi_disable() in the probe routine which was > wrong, > but e100 does not do that. Nonetheless e100 doesn't call netif_carrier_off() > and > netif_stop_queue(), so to make e100 the same as e1000 we should pro

Re: e100 problems in .23rc8 ?

2007-10-11 Thread Eric Sandeen
Eric/David, the Fedora 8 RPM version 2.6.23-6.fc8 will have this if you want to give it a shot too. It'll be at http://people.redhat.com/davej/kernels/Fedora/f7.92/ when it's done building in an hour or so. Dave Thanks, I'll give it a whirl this evening. I put a new net card in that

  1   2   3   4   5   >