All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 00/10] Wangxun interrupt and RxTx support
@ 2023-01-18  6:54 Jiawen Wu
  2023-01-18  6:54 ` [PATCH net-next 01/10] net: libwx: Add irq flow functions Jiawen Wu
                   ` (9 more replies)
  0 siblings, 10 replies; 17+ messages in thread
From: Jiawen Wu @ 2023-01-18  6:54 UTC (permalink / raw)
  To: netdev, mengyuanlou; +Cc: Jiawen Wu

Configure interrupt, setup RxTx ring, support to receive and transmit
packets.

Jiawen Wu (7):
  net: txgbe: Add interrupt support
  net: libwx: Configure Rx and Tx unit on hardware
  net: libwx: Allocate Rx and Tx resources
  net: txgbe: Setup Rx and Tx ring
  net: libwx: Support to receive packets in NAPI
  net: libwx: Add transmit path to process packets
  net: txgbe: Support Rx and Tx process path

Mengyuan Lou (3):
  net: libwx: Add irq flow functions
  net: ngbe: Add irqs request flow
  net: ngbe: Support Rx and Tx process path

 drivers/net/ethernet/wangxun/Kconfig          |    1 +
 drivers/net/ethernet/wangxun/libwx/Makefile   |    2 +-
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    |  675 +++++-
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |    5 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   | 1993 +++++++++++++++++
 drivers/net/ethernet/wangxun/libwx/wx_lib.h   |   32 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  315 +++
 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c |  249 +-
 drivers/net/ethernet/wangxun/ngbe/ngbe_type.h |   18 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  271 ++-
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   |   21 +
 11 files changed, 3564 insertions(+), 18 deletions(-)
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_lib.c
 create mode 100644 drivers/net/ethernet/wangxun/libwx/wx_lib.h

-- 
2.27.0


^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [PATCH net-next 01/10] net: libwx: Add irq flow functions
@ 2023-01-20 12:57 kernel test robot
  0 siblings, 0 replies; 17+ messages in thread
From: kernel test robot @ 2023-01-20 12:57 UTC (permalink / raw)
  To: oe-kbuild; +Cc: lkp

:::::: 
:::::: Manual check reason: "low confidence static check warning: drivers/net/ethernet/wangxun/libwx/wx_hw.c:890:9: sparse: sparse: shift too big (32) for type unsigned int"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <20230118065504.3075474-2-jiawenwu@trustnetic.com>
References: <20230118065504.3075474-2-jiawenwu@trustnetic.com>
TO: Jiawen Wu <jiawenwu@trustnetic.com>
TO: netdev@vger.kernel.org
TO: mengyuanlou@net-swift.com

Hi Jiawen,

I love your patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    https://github.com/intel-lab-lkp/linux/commits/Jiawen-Wu/net-libwx-Add-irq-flow-functions/20230118-154258
patch link:    https://lore.kernel.org/r/20230118065504.3075474-2-jiawenwu%40trustnetic.com
patch subject: [PATCH net-next 01/10] net: libwx: Add irq flow functions
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: openrisc-randconfig-s052-20230120 (https://download.01.org/0day-ci/archive/20230120/202301202015.flTHtz9f-lkp@intel.com/config)
compiler: or1k-linux-gcc (GCC) 12.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # https://github.com/intel-lab-lkp/linux/commit/f807094d578ff552800fe8f9fd9f29ad766384b6
        git remote add linux-review https://github.com/intel-lab-lkp/linux
        git fetch --no-tags linux-review Jiawen-Wu/net-libwx-Add-irq-flow-functions/20230118-154258
        git checkout f807094d578ff552800fe8f9fd9f29ad766384b6
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=openrisc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=openrisc SHELL=/bin/bash drivers/net/ethernet/wangxun/libwx/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>

sparse warnings: (new ones prefixed by >>)
>> drivers/net/ethernet/wangxun/libwx/wx_hw.c:890:9: sparse: sparse: shift too big (32) for type unsigned int

vim +890 drivers/net/ethernet/wangxun/libwx/wx_hw.c

b08012568ebb20 Jiawen Wu    2022-10-27  885  
f807094d578ff5 Mengyuan Lou 2023-01-18  886  static void wx_configure_isb(struct wx *wx)
f807094d578ff5 Mengyuan Lou 2023-01-18  887  {
f807094d578ff5 Mengyuan Lou 2023-01-18  888  	/* set ISB Address */
f807094d578ff5 Mengyuan Lou 2023-01-18  889  	wr32(wx, WX_PX_ISB_ADDR_L, wx->isb_dma & DMA_BIT_MASK(32));
f807094d578ff5 Mengyuan Lou 2023-01-18 @890  	wr32(wx, WX_PX_ISB_ADDR_H, wx->isb_dma >> 32);
f807094d578ff5 Mengyuan Lou 2023-01-18  891  }
f807094d578ff5 Mengyuan Lou 2023-01-18  892  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-01-23 15:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-18  6:54 [PATCH net-next 00/10] Wangxun interrupt and RxTx support Jiawen Wu
2023-01-18  6:54 ` [PATCH net-next 01/10] net: libwx: Add irq flow functions Jiawen Wu
2023-01-18  9:27   ` kernel test robot
2023-01-19 18:14   ` kernel test robot
2023-01-23 15:13   ` Andrew Lunn
2023-01-18  6:54 ` [PATCH net-next 02/10] net: ngbe: Add irqs request flow Jiawen Wu
2023-01-18  6:54 ` [PATCH net-next 03/10] net: txgbe: Add interrupt support Jiawen Wu
2023-01-18  6:54 ` [PATCH net-next 04/10] net: libwx: Configure Rx and Tx unit on hardware Jiawen Wu
2023-01-18  6:54 ` [PATCH net-next 05/10] net: libwx: Allocate Rx and Tx resources Jiawen Wu
2023-01-22  3:05   ` kernel test robot
2023-01-23 15:27   ` Andrew Lunn
2023-01-18  6:55 ` [PATCH net-next 06/10] net: txgbe: Setup Rx and Tx ring Jiawen Wu
2023-01-18  6:55 ` [PATCH net-next 07/10] net: libwx: Support to receive packets in NAPI Jiawen Wu
2023-01-18  6:55 ` [PATCH net-next 08/10] net: libwx: Add transmit path to process packets Jiawen Wu
2023-01-18  6:55 ` [PATCH net-next 09/10] net: txgbe: Support Rx and Tx process path Jiawen Wu
2023-01-18  6:55 ` [PATCH net-next 10/10] net: ngbe: " Jiawen Wu
  -- strict thread matches above, loose matches on Subject: below --
2023-01-20 12:57 [PATCH net-next 01/10] net: libwx: Add irq flow functions kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.