Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp24328ybl; Thu, 23 Jan 2020 17:15:55 -0800 (PST) X-Google-Smtp-Source: APXvYqxrBfraGjKnkSaW8kSB0ctGp7KmH5zTRlX2RiCGECTR6TcDOs6trdMHsgiyOMDJl+QBTCwj X-Received: by 2002:a05:6808:181:: with SMTP id w1mr524045oic.176.1579828555603; Thu, 23 Jan 2020 17:15:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579828555; cv=none; d=google.com; s=arc-20160816; b=Qu9Z4XsrVzkkXK7376PPPwax/9mnMitiPIluLv3qFF4mBBDxeiVacUEFFBt/KWRpvE 4uWRK65bZy8zSzCA1mj7vYcvSqqbIS0hdmzkC9XOdBSI7X+dfT00/A1uS8FwzNGOuRyV TqEbmUigUY8oQiB/pjc2USLshY3ze9vD1ko0EbroFMq+gtHElhLHt00rf1GeRUugBJyZ iS2D3g+Fo2ntR/+/g9ZkTgB5gz3Nc8emmEDU+21OVPlSjao347twKSKqvtEpUotrCn9E rLs/cwrtIC1zBY9HMzHXTwFGOiZOj2Cw7NErU2+LasZ6ad1qMAu2nTlJU/uVMuOfIYwc 2LIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=Tkd8pzTXEYmsqnkk479d+cDzv62EHU7K6Wa37PqYLKo=; b=WpuhcfjN+FYtGoO3B626uLOgfWZbRC4uYKdUnGkJHRnuIq+HlI/agzA6UK/83xCMux bGd5X4IBrCDkr1Lf9tGTCgT5u2Ymw5JEGBnZcTC11/8ONXMpnA6p3JPKlPz2+6gjbuTt ArWYDAHJANHE0r1h/5cnBVKTbJixAk8oP7beuG9msL9p+GCjioHmZpakhTBdVX1p5h17 yBr/Lsz9LOkMcyt35sfLOQggZcFG3vXn/MW35Y9FfpCv9ca5GOcOgipYRFZfaQ+5vvt1 296kRfDxxtuRaG1TikkbRXSc9LBtnhHygVY20KyVVP8ZwWEhyJrv2iAxDizqZOWoZfkW Ch8w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si1637099oie.150.2020.01.23.17.15.20; Thu, 23 Jan 2020 17:15:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729456AbgAWXr0 (ORCPT + 99 others); Thu, 23 Jan 2020 18:47:26 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:41216 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728655AbgAWXrZ (ORCPT ); Thu, 23 Jan 2020 18:47:25 -0500 Received: from p5b06da22.dip0.t-ipconnect.de ([91.6.218.34] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iumBy-0001hK-2a; Fri, 24 Jan 2020 00:47:18 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 7A542100490; Fri, 24 Jan 2020 00:47:17 +0100 (CET) From: Thomas Gleixner To: Evan Green Cc: Bjorn Helgaas , linux-pci , LKML , Marc Zyngier , Christoph Hellwig , Rajat Jain Subject: Re: [PATCH] PCI/MSI: Avoid torn updates to MSI pairs In-Reply-To: References: <20200116133102.1.I9c7e72144ef639cc135ea33ef332852a6b33730f@changeid> <20200122172816.GA139285@google.com> <875zh3ukoy.fsf@nanos.tec.linutronix.de> <871rrqva0t.fsf@nanos.tec.linutronix.de> Date: Fri, 24 Jan 2020 00:47:17 +0100 Message-ID: <87sgk520sa.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Evan Green writes: > On Thu, Jan 23, 2020 at 12:42 AM Thomas Gleixner wrote: >> Hrm: >> >> Capabilities: [80] MSI-X: Enable+ Count=16 Masked- >> >> So this is weird. We mask it before moving it, so the tear issue should >> not happen on MSI-X. So the tearing might be just a red herring. > > Mmm... sorry what? This is the complete entry for xhci: > > 00:14.0 USB controller: Intel Corporation Device 02ed (prog-if 30 [XHCI]) > Subsystem: Intel Corporation Device 7270 > Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR- FastB2B- DisINTx+ > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >>TAbort- SERR- Interrupt: pin A routed to IRQ 124 > Region 0: Memory at d1200000 (64-bit, non-prefetchable) [size=64K] > Capabilities: [70] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA > PME(D0-,D1-,D2-,D3hot+,D3cold+) > Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME- > Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+ > Address: 00000000fee10004 Data: 402a > Capabilities: [90] Vendor Specific Information: Len=14 > Kernel driver in use: xhci_hcd Bah. I was looking at the WIFI for whatever reason. Thanks, tglx