Received: by 2002:a17:90a:9103:0:0:0:0 with SMTP id k3csp1193643pjo; Wed, 8 Jan 2020 13:34:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxpcPU4TAndaLlSRuU6ZLBKkTniJfPCbXzphey7Jih+Ap7drWXQXsECcMarhxrOUNBBlS54 X-Received: by 2002:a9d:2de5:: with SMTP id g92mr5707565otb.217.1578519287471; Wed, 08 Jan 2020 13:34:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578519287; cv=none; d=google.com; s=arc-20160816; b=0KKthOkeRD2Q2/i9kf4OWBb8gKflH7qBBKK+QnU/wbwsnJ2lKm3Ehwyb6Z9viG5e/n cLDHk/0atLDy8XcWHN1nGX9aM6+/z0LaZZm3zaMUIm6GMW/pMDdJCDO+iIoRmgaNvK0T uCJDHTxNKnyEjGNOvNls3h4FboQXdsnMIND9l2s6VFBRbISqr+/93DyETTFf/T9u/PM3 GXgwWKuKNDaM3+MxxmRticJq7+jKOy5yzo2Xppok3HyM1oQS/YD/cGp2Wfb23O8F+WuG rx5y2ytrfE5add+fA5iSmoiTIXfvcUDjLp6pCffuyN8LpscqWemcswJ9wlX3cbYaOxdi 4SiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=IR/WY8hN02KUiJNQVttgGymvx819mbLI0lTboyUUu8M=; b=eNGR7S4G1DebYqsiByqEsh5eO7FhKley7BhgPMLPds9I8UR/bGJ5KB/h/1XtfjfXkF JTfAtC6WEXMbufHujT1u6nuT0oa5Iv3n6H/amCUhBX4EKyx49NykuJQJcmc5MDwpJlnj flqjnTd+dTknTxCRr9mqI2r5pFokr3YMFrq24NDr9U3JSFhvHZ73gU30yM/xsFti/uZH OKAduzY9a2eSiSrPczE1XSK4mWzQQJwIJuAa7Kc64MJZCmfhbMzwAdcLZ8UTyaXCpjJj H2RUWFqIPH96juNLdydxjdi/HalJt8R8GRciRgoIYMFc5bwZEFDQrX/vz3bAbqfjouGR uwew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZzrWYV06; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u84si2361361oib.34.2020.01.08.13.34.35; Wed, 08 Jan 2020 13:34:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ZzrWYV06; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726707AbgAHVdk (ORCPT + 99 others); Wed, 8 Jan 2020 16:33:40 -0500 Received: from mail.kernel.org ([198.145.29.99]:42516 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbgAHVdk (ORCPT ); Wed, 8 Jan 2020 16:33:40 -0500 Received: from localhost (mobile-166-170-223-177.mycingular.net [166.170.223.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 34063206DA; Wed, 8 Jan 2020 21:33:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1578519219; bh=Ebgnz0xt6ViRBHyLUIfMT2DAdw3EQ6/qLeN7bxMH+rI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=ZzrWYV06AEpqVgipROVFGbWVF7YaQsxGsNst9/hRWgrFLEsJbXMb8iHFYY8sk4kPk 3/GTM93KmUfLw3VOVAlZRFRLgTwCbBELU4S5g7YhW1XpZHhYERLwS6Rn8ymiYeEA/E a1Ai/iI5uKQehToCu0HUzZTVNV4P3Kl/cFzXSWM0= Date: Wed, 8 Jan 2020 15:33:37 -0600 From: Bjorn Helgaas To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Kelvin.Cao@microchip.com, Eric Pilmore , Doug Meyer Subject: Re: [PATCH 03/12] PCI/switchtec: Add support for new events Message-ID: <20200108213337.GA210184@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200106190337.2428-4-logang@deltatee.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jan 06, 2020 at 12:03:28PM -0700, Logan Gunthorpe wrote: > The intercomm notify event was added for PAX variants of switchtec > hardware and the UEC Port was added for the MR1 release of GEN3 firmware. Do they actually spell it "intercomm" in the datasheet? Seems like the most common English spelling is "intercom". Is there some meaningful expansion of "UEC"? > Signed-off-by: Logan Gunthorpe > --- > drivers/pci/switch/switchtec.c | 3 +++ > include/linux/switchtec.h | 7 +++++-- > include/uapi/linux/switchtec_ioctl.h | 4 +++- > 3 files changed, 11 insertions(+), 3 deletions(-) > > diff --git a/drivers/pci/switch/switchtec.c b/drivers/pci/switch/switchtec.c > index 9c3ad09d3022..218e67428cf9 100644 > --- a/drivers/pci/switch/switchtec.c > +++ b/drivers/pci/switch/switchtec.c > @@ -751,10 +751,13 @@ static const struct event_reg { > EV_PAR(SWITCHTEC_IOCTL_EVENT_MRPC_COMP, mrpc_comp_hdr), > EV_PAR(SWITCHTEC_IOCTL_EVENT_MRPC_COMP_ASYNC, mrpc_comp_async_hdr), > EV_PAR(SWITCHTEC_IOCTL_EVENT_DYN_PART_BIND_COMP, dyn_binding_hdr), > + EV_PAR(SWITCHTEC_IOCTL_EVENT_INTERCOMM_REQ_NOTIFY, > + intercomm_notify_hdr),