Re: [PATCH][next] treewide: uapi: Replace zero-length arrays with flexible-array members

2022-06-27 Thread Stephen Hemminger
On Mon, 27 Jun 2022 20:04:32 +0200 "Gustavo A. R. Silva" wrote: > There is a regular need in the kernel to provide a way to declare > having a dynamically sized set of trailing elements in a structure. > Kernel code should always use “flexible array members”[1] for these > cases. The older style

Re: [RFC PATCH 00/10] Device Memory TCP

2023-07-19 Thread Stephen Hemminger
On Wed, 19 Jul 2023 08:10:58 -0700 Mina Almasry wrote: > On Tue, Jul 18, 2023 at 3:45 PM Jakub Kicinski wrote: > > > > On Tue, 18 Jul 2023 16:35:17 -0600 David Ahern wrote: > > > I do not see how 1 RSS context (or more specifically a h/w Rx queue) can > > > be used properly with memory from di

log splat from Intel DRM driver on resume

2016-09-23 Thread Stephen Hemminger
When I resume my desktop from suspend, the following shows up in the log. Running 4.8.0-rc6 (net-next branch).dme Everything appears to be working ok. [148349.793696] PM: Syncing filesystems ... done. [148350.599336] PM: Preparing system for sleep (mem) [148350.599623] Freezing user space processe

Re: [PATCH 01/15] net: hbl_cn: add habanalabs Core Network driver

2024-06-14 Thread Stephen Hemminger
> +#define HBL_AUX2NIC(aux_dev) \ > + ({ \ > + struct hbl_aux_dev *__aux_dev = (aux_dev); \ > + ((__aux_dev)->type == HBL_AUX_DEV_ETH) ? \ > + container_of(__aux_dev, struct hbl_cn_device, en_aux_dev) : \ > + container_of(__aux_dev, struct hbl_c

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-14 Thread Stephen Hemminger
On Thu, 13 Jun 2024 11:22:02 +0300 Omer Shpigelman wrote: > +static int hbl_en_ports_reopen(struct hbl_aux_dev *aux_dev) > +{ > + struct hbl_en_device *hdev = aux_dev->priv; > + struct hbl_en_port *port; > + int rc = 0, i; > + > + for (i = 0; i < hdev->max_num_of_ports; i++) { > +

Re: [PATCH 09/15] net: hbl_en: add habanalabs Ethernet driver

2024-06-14 Thread Stephen Hemminger
> + > +/* get the src IP as it is done in devinet_ioctl() */ > +static int hbl_en_get_src_ip(struct hbl_aux_dev *aux_dev, u32 port_idx, u32 > *src_ip) > +{ > + struct hbl_en_port *port = HBL_EN_PORT(aux_dev, port_idx); > + struct net_device *ndev = port->ndev; > + struct in_device *in_

lockdep splat with current 3.3 kernel in

2012-01-19 Thread Stephen Hemminger
This showed when just moving around and doing normal activity. [17580.856410] skge :09:00.0: eth3: disabling interface [18640.814641] [18640.814646] == [18640.814649] [ INFO: possible circular locking dependency detected ] [18640.814654] 3

cascade panic in cirrus framebuffer mode setting

2013-05-16 Thread Stephen Hemminger
I use KVM VM's to test kernels, and lately with 3.9.2 when my code panic's the kernel mode setting panic's as well. In this example, the first one is my fault; but then cirrus framebuffer DRM modesetting craps out. [ 66.440071] kernel tried to execute NX-protected page - exploit attempt? (uid

Re: cascade panic in cirrus framebuffer mode setting

2013-05-16 Thread Stephen Hemminger
ok, i will merge and retest On Thu, May 16, 2013 at 9:49 PM, David Airlie wrote: >> >> I use KVM VM's to test kernels, and lately with 3.9.2 when my code panic's >> the >> kernel mode setting panic's as well. >> >> In this example, the first one is my fault; but then cirrus framebuffer DRM >> mod

lockdep splat with current 3.3 kernel in

2012-01-19 Thread Stephen Hemminger
This showed when just moving around and doing normal activity. [17580.856410] skge :09:00.0: eth3: disabling interface [18640.814641] [18640.814646] == [18640.814649] [ INFO: possible circular locking dependency detected ] [18640.814654] 3

Warning on resume

2014-04-20 Thread Stephen Hemminger
I got this on my desktop (Haswell) box when resuming from suspend with Debian testing kernel (3.13). [147765.739493] [ cut here ] [147765.739501] WARNING: CPU: 1 PID: 29426 at /build/linux-oxWk_8/linux-3.13.7/drivers/gpu/drm/i915/intel_ddi.c:763 intel_ddi_pll_mode_set+0x

cascade panic in cirrus framebuffer mode setting

2013-05-16 Thread Stephen Hemminger
I use KVM VM's to test kernels, and lately with 3.9.2 when my code panic's the kernel mode setting panic's as well. In this example, the first one is my fault; but then cirrus framebuffer DRM modesetting craps out. [ 66.440071] kernel tried to execute NX-protected page - exploit attempt? (uid

cascade panic in cirrus framebuffer mode setting

2013-05-16 Thread Stephen Hemminger
ok, i will merge and retest On Thu, May 16, 2013 at 9:49 PM, David Airlie wrote: >> >> I use KVM VM's to test kernels, and lately with 3.9.2 when my code panic's >> the >> kernel mode setting panic's as well. >> >> In this example, the first one is my fault; but then cirrus framebuffer DRM >> mod