Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5814019ybp; Tue, 15 Oct 2019 05:33:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxb6LStjGKWuJ/u69nLxqG8U1v60qcQ0ckn4s6sj9tSck5h62aXePNs91RkSryo3coU7cGt X-Received: by 2002:a05:6402:1612:: with SMTP id f18mr33575116edv.66.1571142822217; Tue, 15 Oct 2019 05:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571142822; cv=none; d=google.com; s=arc-20160816; b=whwEFsgdgnvhOGKh6TXdRYfPFnDF3iUrio5WEyTSy6NbR0TD9cPau8nEgNlT2WIm4X R7N/drHics9RV0ngdLj4USTf7tQ2ur7VxOfoneHOs1nnYrzqbdAs0QRwt25DM+pCT1Vp oAo7si1VSHh0pNkSCHQgPmHAkSHGFH48wzwUB0Fn+nDKNZfr1JPUMgAkL4dfFfYNu7Vl 4eB6HT1CjwL4NsnWmYDXFbmAMTX0fE1VlfZEOBa8YE74wSw+pKi/K9ld4b45yxurDRle a3pcM5gBzM1peHpw4lUf0t1f0TKNIIzgSb77b0Ex9VozBqAZ9QVWFMsylfyxSe8wAdll OV8A== 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:references:message-id:subject:cc :to:from:date; bh=RjQ8Fe0r2rzzl18rRr1yN2aklXQZQBIl6YuPeO6ubC4=; b=PLf7dIHhZSsKKuOZqnO5YNxOrUfYaHOhdWzn0/3NAWOVl9ohJPoY4oBGOhVoe6SDyj bmCdZZj3cP+EvDg7MlNwgBpJGVNDmgSk1yVh7wKolXhbxnlqRQKRZnrj1uTXZ+LLhchO thmorKrpwcL46BSqu8hpKNgrBnjw7Ags9wyHRqhnRqVXJhTnyJC6eDxkIxwTqGg5+0YY vcIyCzWzJFqqcEciEqKcJLuc2upk0irf9Ixu/q/UHtd4dTO3CUkADp9Rmr5kMO+EwU/A hwKWucOwnGPahMab5qGz6PFIh3g37+PvvXnip+A5oruhdcZYpn7/nS44dEY6xOyVPHnu a1vQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si14682964edj.220.2019.10.15.05.33.18; Tue, 15 Oct 2019 05:33:42 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728376AbfJOMOq (ORCPT + 99 others); Tue, 15 Oct 2019 08:14:46 -0400 Received: from 8bytes.org ([81.169.241.247]:47520 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727412AbfJOMOq (ORCPT ); Tue, 15 Oct 2019 08:14:46 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id 00D702D9; Tue, 15 Oct 2019 14:14:44 +0200 (CEST) Date: Tue, 15 Oct 2019 14:14:43 +0200 From: "joro@8bytes.org" To: "Suthikulpanit, Suravee" Cc: "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , Joerg Roedel , "Hook, Gary" Subject: Re: iommu: amd: Simpify decoding logic for INVALID_PPR_REQUEST event Message-ID: <20191015121443.GN14518@8bytes.org> References: <1571083569-105988-1-git-send-email-suravee.suthikulpanit@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571083569-105988-1-git-send-email-suravee.suthikulpanit@amd.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, Oct 14, 2019 at 08:06:19PM +0000, Suthikulpanit, Suravee wrote: > Reuse existing macro to simplify the code and improve readability. > > Cc: Joerg Roedel > Cc: Gary R Hook > Signed-off-by: Suravee Suthikulpanit > --- > drivers/iommu/amd_iommu.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Applied for v5.5, thanks.