Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2346007ybl; Sun, 26 Jan 2020 00:12:06 -0800 (PST) X-Google-Smtp-Source: APXvYqw8RFViHofcNg+HCkvAQ7ZB71pDi9YqkHuUrLjfnc1udne4j3JQTccbOUrNjstWJIuVtGRl X-Received: by 2002:a9d:6289:: with SMTP id x9mr7171054otk.8.1580026326429; Sun, 26 Jan 2020 00:12:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580026326; cv=none; d=google.com; s=arc-20160816; b=qT65iqBK8o1OUOirDxCPMtfiNQGubHE9tDmUijKNLH2mHYuMQ702SVwCDEjPWsaH3O wgXoncJwclMY5JJFTvy7koZtU3Fr6icL65g5DIl3yZp0ncIsXU4M5X0xeoz1Amk6KYrf TWpEJIwO/cW6HnuvwtWSQjvGt0CCAzYcgzKOpEJZVEf5+BHtXgwauzPVGRRavxUMUEAM ABPI3v7fQRlEMYeIf2IHZDIejABcKAXYC/XZE01IY/Fz1NT1uXMSvAuPkGVElSAnXlt9 itYGBsd6faHpSb2y1wn+IevBrYBya3y712/xbkMV/czqKW9nnkaKJkvhwZHn2Y33hKNa YCQw== 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=KmPmbR8hpkFcYZL0gBMkezSAjC9f1KF5nxVTLg9f5gs=; b=I8J+zrPN03aRlfDe5jWgWNDDICFnwEvQrxfR2wi1Y0R02DN/kYXcOyrQ91KN7coOen RR5TYI3FKkRxgkgLhlhL8s7ij17p0ygMGrgmUM9xQEEhOOayfD7wjoT0e8G+i3rQHh5E +FPgQ3M0YX03m5VxkMbg5bkgcGKo3neaBhUhwmeTpJe6mnMyubEKcPShOZrDeFVkRzgq VvNl+NBzdzJRZUmFOgKVPaJ2huvReF71tbRE1wabll0E+tf+P2f9kHqO+uCMICf3ZaMv aGG2B1lLE1k6pMizYLySkVjTNtVC17W6HJxG2JxZpodzZJMJ+R6DRitpwbma2ae5UNgF swNQ== 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 s17si5821208otq.78.2020.01.26.00.11.42; Sun, 26 Jan 2020 00:12:06 -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 S1727773AbgAZIJ6 (ORCPT + 99 others); Sun, 26 Jan 2020 03:09:58 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:45173 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726438AbgAZIJ6 (ORCPT ); Sun, 26 Jan 2020 03:09:58 -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 1ivczT-0004Yw-Fn; Sun, 26 Jan 2020 09:09:55 +0100 Received: by nanos.tec.linutronix.de (Postfix, from userid 1000) id 7F883100490; Sun, 26 Jan 2020 09:09:54 +0100 (CET) From: Thomas Gleixner To: Jacob Pan , LKML Cc: Evan Green Subject: Re: [PATCH v2] PCI/MSI: Avoid torn updates to MSI pairs In-Reply-To: <1579977166-63618-1-git-send-email-jacob.jun.pan@linux.intel.com> References: <20200117162444.v2.1.I9c7e72144ef639cc135ea33ef332852a6b33730f@changeid> <1579977166-63618-1-git-send-email-jacob.jun.pan@linux.intel.com> Date: Sun, 26 Jan 2020 09:09:54 +0100 Message-ID: <8736c2myel.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 Jacob Pan writes: > It seems we could avoid force_retrigger once IR is turned on. I have tried > this patch with IR turned on, still seeing force_retrigger=1 for MSIs w/o > masking. Yes. That patch was a POC and surely not a final solution. Aside of that I'm still looking into a solution to avoid that which does not involve horrible locking and tons of scary code. Thanks, tglx