2018-01-13 2:56 GMT+09:00 Masami Hiramatsu :
> Support in-kernel fault-injection framework via debugfs.
> This allows you to inject a conditional error to specified
> function using debugfs interfaces.
>
> Here is the result of test script described in
> Documentation/fault-injection/fault-injectio
2018-01-12 1:15 GMT+09:00 Masami Hiramatsu :
> On Thu, 11 Jan 2018 23:44:57 +0900
> Akinobu Mita wrote:
>
>> 2018-01-11 9:51 GMT+09:00 Masami Hiramatsu :
>> > Support in-kernel fault-injection framework via debugfs.
>> > This allows you to inject a conditional
2018-01-11 9:51 GMT+09:00 Masami Hiramatsu :
> Support in-kernel fault-injection framework via debugfs.
> This allows you to inject a conditional error to specified
> function using debugfs interfaces.
>
> Here is the result of test script described in
> Documentation/fault-injection/fault-injectio
2016-05-16 18:33 GMT+09:00 David Laight :
> From: netdev-ow...@vger.kernel.org Akinobu Mita
>> Sent: 14 May 2016 06:56
>> This increases TX timeout period from one second to 5 seconds which is
>> the default value if the driver doesn't explicitly set
>> net_devic
W5500 has different bit position for MAC filter in Socket n mode
register from W5100 and W5200.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* No changes from v1
drivers/net/ethernet/wiznet/w5100.c | 17 +
1 file changed, 13 insertions(+), 4
This adds support to specify the MAC address by 'mac-address' or
'local-mac-address' properties in the device tree. These are common
properties for the Ethernet controller.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* No changes from v1
transfer.
If the packet is transmitted while RX packets are being received at a
very high rate, the TX transmittion work in the workqueue is delayed
and the watchdog timer is expired.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* v2
- Remove the watchdong_timeo assi
This patch series is the collection of relatively small changes for
w5100 driver which includes a cleanup with no functional change,
two fixes, and adding a functionality.
* Changes from v1
- Remove the watchdong_timeo assignment to set default tx timeout,
suggested by David Miller.
Akinobu
The is_w5200() function is not used anymore by the commit which adds
the W5500 support.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* No changes from v1
drivers/net/ethernet/wiznet/w5100.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/ethernet
2016-05-12 8:49 GMT+09:00 David Miller :
> From: Akinobu Mita
> Date: Wed, 11 May 2016 15:30:26 +0900
>
>> This increases TX timeout period from one second to 5 seconds which is
>> default value defined in net/sched/sch_generic.c.
>>
>> The one second timeou
W5500 has different bit position for MAC filter in Socket n mode
register from W5100 and W5200.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wiznet/w5100.c | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a
This adds support to specify the MAC address by 'mac-address' or
'local-mac-address' properties in the device tree. These are common
properties for the Ethernet controller.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wi
while RX packets are being received at a
very high rate, the TX transmittion work in the workqueue is delayed
and the watchdog timer is expired.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wiznet/w5100.c | 2 +-
1 file changed, 1 insertion(
This patch series for w5100 driver includes a cleanup with no functional
change, two fixes, and adding a functionality. Each change is relatively
small.
Akinobu Mita (4):
net: w5100: remove unused is_w5200()
net: w5100: fix MAC filtering for W5500
net: w5100: increase TX timeout period
The is_w5200() function is not used anymore by the commit which adds
the W5500 support.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wiznet/w5100.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/drivers/net/ethernet/wiznet/w5100.c
b
.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wiznet/Kconfig | 2 +-
drivers/net/ethernet/wiznet/w5100-spi.c | 192 +++--
drivers/net/ethernet/wiznet/w5100.c | 243 +++-
drivers/net/ethernet
register to be
automatically cleared because the latency of the register access with
SPI transfer can be interfered by other contexts.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* No changes from v2
drivers/net/ethernet/wiznet/w5100.c | 190
ingle pointer instead of SKB queue, spotted by David S. Miller
- Correct timeout period in w5100_command
- Use spi_write_then_read instead of spi_write which needs DMA-safe buffer
- Support W5200
Akinobu Mita (5):
net: w5100: move mmiowb into register access callbacks
net: w5100: add ability to su
and w5100-spi drivers.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* v3
- Allocate w5200 ops specific data structure to put DMA-safe buffer
- Add missing chip_id assignment for w5100_*_ops
drivers/net/ethernet/wiznet/Kconfig | 2 +-
drivers/net/ethernet/wiznet
Instead of sprinkle mmiowb over the driver code, move it into primary
register write callbacks. (w5100_write, w5100_write16, w5100_writebuf)
This is a preparation for supporting SPI interface which doesn't use
MMIO for accessing w5100 registers.
Signed-off-by: Akinobu Mita
Cc: Mike Sink
driver can use w5100 driver as core module.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* v3
- Add comment for reg_lock
- Add ability to allocate ops specific data structure
drivers/net/ethernet/wiznet/w5100.c | 604
drivers/net
This adds new w5100-spi driver which shares the bus interface
independent code with existing w5100 driver.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* No changes from v2
drivers/net/ethernet/wiznet/Kconfig | 14
drivers/net/ethernet/wiznet/Makefile
2016-04-08 1:29 GMT+09:00 David Miller :
>
> Where is your "[PATCH v2 0/5] ..." header posting explaing what this series
> is doing, at a high level, how it is doing that, and why it is doing it
> that way?
>
> This is mandator for patch series submissions.
I see. I'll surely include the explanat
driver can use w5100 driver as core module.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* No changes from v1
drivers/net/ethernet/wiznet/w5100.c | 588
drivers/net/ethernet/wiznet/w5100.h | 26 ++
2 files changed, 415 insertions
Instead of sprinkle mmiowb over the driver code, move it into primary
register write callbacks. (w5100_write, w5100_write16, w5100_writebuf)
This is a preparation for supporting SPI interface which doesn't use
MMIO for accessing w5100 registers.
Signed-off-by: Akinobu Mita
Cc: Mike Sink
This adds new w5100-spi driver which shares the bus interface
independent code with existing w5100 driver.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* v2
- Use spi_write_then_read instead of spi_write which needs DMA-safe buffer
drivers/net/ethernet/wiznet
register to be
automatically cleared because the latency of the register access with
SPI transfer can be interfered by other contexts.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* v2
- Use a plain single pointer instead of SKB queue, spotted by David S. Miller
and w5100-spi drivers.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
* New patch from this version
drivers/net/ethernet/wiznet/Kconfig | 2 +-
drivers/net/ethernet/wiznet/w5100-spi.c | 115 +++-
drivers/net/ethernet/wiznet/w5100.c | 153
2016-04-01 4:30 GMT+09:00 David Miller :
> From: Akinobu Mita
> Date: Thu, 31 Mar 2016 01:38:39 +0900
>
>> + struct sk_buff_head tx_queue;
>
> The way the queueing works in this driver is that it is only possible
> to have one SKB being transmitted at one time.
>
&
Instead of sprinkle mmiowb over the driver code, move it into primary
register write callbacks. (w5100_write, w5100_write16, w5100_writebuf)
This is a preparation for supporting SPI interface which doesn't use
MMIO for accessing w5100 registers.
Signed-off-by: Akinobu Mita
Cc: Mike Sink
SPI transfer routines are callable only from contexts that can sleep.
This adds ability to tell the core driver that the interface mode
cannot access w5100 register on atomic contexts. In this case,
workqueue and threaded irq are required.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc
This adds new w5100-spi driver which shares the bus interface
independent code with existing w5100 driver.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wiznet/Kconfig | 14
drivers/net/ethernet/wiznet/Makefile| 1 +
drivers/net
driver can use w5100 driver as core module.
Signed-off-by: Akinobu Mita
Cc: Mike Sinkovsky
Cc: David S. Miller
---
drivers/net/ethernet/wiznet/w5100.c | 588
drivers/net/ethernet/wiznet/w5100.h | 26 ++
2 files changed, 415 insertions(+), 199 deletions
2015-11-28 21:45 GMT+09:00 Nikolay Aleksandrov :
> From: Nikolay Aleksandrov
>
> This module allows to insert errors in some of netdevice's notifier
> events. All network drivers use these notifiers to signal various events
> and to check if they are allowed, e.g. PRECHANGEMTU and CHANGEMTU
> afte
Check pci_register_driver() error and clean up debugfs entries
if error happened.
Cc: Stephen Hemminger <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
drivers/net/sky2.c |9 -
1 file changed, 8 insertions(+), 1 deletion(-)
Index: 2.6-git/driver
Use iov_length() instead of tun's homemade iov_total().
Cc: Maxim Krasnyansky <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
drivers/net/tun.c | 15 ++-
1 file changed, 2 insertions(+), 13 deletions(-)
Index: 2.6-mm/
2007/7/4, Jan-Bernd Themann <[EMAIL PROTECTED]>:
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c
index bdb5241..f8c0908 100644
--- a/drivers/net/ehea/ehea_main.c
+++ b/drivers/net/ehea/ehea_main.c
@@ -2923,6 +2923,15 @@ static int check_module_parm(void)
return r
This patch checks return values:
- irlmp_register_client()
- irlmp_register_service()
- irlan_open()
Cc: Samuel Ortiz <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
net/irda/irlan/irlan_common.c | 23 ---
1 file changed, 20 inse
This patch checks return value of memory allocation functions
for irda subsystem and fixes memory leaks in error cases.
Cc: Samuel Ortiz <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
net/irda/irias_object.c | 40
The return value of crypto_alloc_comp() should be checked by
IS_ERR().
Cc: David Miller <[EMAIL PROTECTED]>
Cc: Hideaki YOSHIFUJI <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
net/ipv4/ipcomp.c |2 +-
net/ipv6/ipcomp6.c |2 +-
2 files cha
The return value of crypto_alloc_hash() should be checked by
IS_ERR().
Cc: David Miller <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
---
net/sctp/socket.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Index: work-fault-inject/net/s
On Thu, Oct 19, 2006 at 01:39:51PM -0700, Andrew Morton wrote:
> A bunch of drivers.
>
> > ===
> > --- work-fault-inject.orig/drivers/net/Kconfig
> > +++ work-fault-inject/drivers/net/Kconfig
> > @@ -2500,6 +2500,7 @@ config DEFXX
>
Use bitrev8 for bmac, mace, macmace, macsonic, and skfp drivers.
Cc: Jeff Garzik <[EMAIL PROTECTED]>
Cc: Paul Mackerras <[EMAIL PROTECTED]>
Cc: Mirko Lindner <[EMAIL PROTECTED]>
Cc: Thomas Bogendoerfer <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTEC
(Resending due to local mail server trouble)
This patch limits the warning messages when socket allocation
failures happen. It happens under memory pressure.
Cc: David Miller <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
net/socket.c |3 ++-
1 fil
This patch makes crash happen if initialization of nl_table fails
in initcalls. It is better than getting use after free crash later.
Cc: Patrick McHardy <[EMAIL PROTECTED]>
Cc: David Miller <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
Index: work-fail
This patch invalidates nl_table by setting NULL when netlink
initialization failed. Otherwise netlink_kernel_create() would
access nl_table which has already been freed.
CC: "David S. Miller" <[EMAIL PROTECTED]>
Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
net/netli
On Thu, Nov 17, 2005 at 07:26:22AM -0800, Stephen Hemminger wrote:
> On Thu, 17 Nov 2005 20:14:48 +0900
> Akinobu Mita <[EMAIL PROTECTED]> wrote:
>
> > I'm using sky2 driver on 2.6.14-mm2.
> > It works fine, but I got this message repeatedly.
> >
> > h
I'm using sky2 driver on 2.6.14-mm2.
It works fine, but I got this message repeatedly.
hw tcp v4 csum failed
I can suppress these messages by
# ethtool -K eth0 tx off rx off
And, These messages cannot be seen with sk98lin v8.16.2.3
(on 2.6.14-mm2 with a little changes to build it)
Motherboard:
48 matches
Mail list logo