Message ID | 20180308124901.83533-2-brijesh.singh@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <kvm-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2795560211 for <patchwork-kvm@patchwork.kernel.org>; Thu, 8 Mar 2018 12:49:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 174C7298FD for <patchwork-kvm@patchwork.kernel.org>; Thu, 8 Mar 2018 12:49:36 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B9F1298FF; Thu, 8 Mar 2018 12:49:36 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E1476298FD for <patchwork-kvm@patchwork.kernel.org>; Thu, 8 Mar 2018 12:49:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755071AbeCHMtd (ORCPT <rfc822;patchwork-kvm@patchwork.kernel.org>); Thu, 8 Mar 2018 07:49:33 -0500 Received: from mail-cys01nam02on0070.outbound.protection.outlook.com ([104.47.37.70]:38208 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751614AbeCHMt3 (ORCPT <rfc822;kvm@vger.kernel.org>); Thu, 8 Mar 2018 07:49:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=5wh5sKoS1Kacg2awiZ/kpoN2AfQkpAPFPoXLNyQ12p0=; b=ZTEM0m3Um+pIkF7tkwO08Q8em2hBwTt3+DPcQnsiQVZpHKsZXvxGZVGa/widu64V69Z4XdZ6tT16N1HLgadxlzOCgrHRIfeETL09OcqlHUeQEmNmZQdgcVs13PtWZ5qHLdD2dog/0PWRIFeZAyU2H6rjAuFXbQvgsxVfWRkpS4w= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from wsp141597wss.amd.com (165.204.78.1) by DM2PR12MB0156.namprd12.prod.outlook.com (2a01:111:e400:50ce::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.548.13; Thu, 8 Mar 2018 12:49:24 +0000 From: Brijesh Singh <brijesh.singh@amd.com> To: qemu-devel@nongnu.org Cc: Alistair Francis <alistair.francis@xilinx.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Cornelia Huck <cornelia.huck@de.ibm.com>, "Daniel P . Berrange" <berrange@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>, Eduardo Habkost <ehabkost@redhat.com>, Eric Blake <eblake@redhat.com>, kvm@vger.kernel.org, Marcel Apfelbaum <marcel@redhat.com>, Markus Armbruster <armbru@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Crosthwaite <crosthwaite.peter@gmail.com>, Peter Maydell <peter.maydell@linaro.org>, Richard Henderson <richard.henderson@linaro.org>, Stefan Hajnoczi <stefanha@gmail.com>, Thomas Lendacky <Thomas.Lendacky@amd.com>, Borislav Petkov <bp@suse.de>, Alexander Graf <agraf@suse.de>, Bruce Rogers <brogers@suse.com>, Brijesh Singh <brijesh.singh@amd.com> Subject: [PATCH v12 01/28] memattrs: add debug attribute Date: Thu, 8 Mar 2018 06:48:34 -0600 Message-Id: <20180308124901.83533-2-brijesh.singh@amd.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180308124901.83533-1-brijesh.singh@amd.com> References: <20180308124901.83533-1-brijesh.singh@amd.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: BN6PR14CA0031.namprd14.prod.outlook.com (2603:10b6:404:13f::17) To DM2PR12MB0156.namprd12.prod.outlook.com (2a01:111:e400:50ce::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: a3e526aa-fb23-48d7-5c3a-08d584f30668 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DM2PR12MB0156; X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0156; 3:6QikbbWUIO02wD09iwiSWrsBStXRbjGSBB1IeWvEKKqFAbz9BiOAPUo2fuzs6mZ3unnnq0aPxaxZ14Y+CH1AeZUvHsPuzcCxRI2XwIiXkF9rn7qzfF0MV2jpgGZBNLHbJFi3HUNyPP2JvN1GxVoi2D2C3qK6eRLOPYeyMln1yX88SB7gkMkVF2ZeMbOdugVX3aCgqZy8rqhBDQV0cdchMx7aa4H/4aO38ksNbe9S24DNwpMzuFv2sgxdj5QmPNKm; 25:UNym4tedWzwRP/6VpeUpLs5kW7rLKdjpoN3YRteSJsfcBaEGAV+YFKLA2NK0jEtJhUZDJCvQLBTICMLuL0DlTeNO51fxDzuJRDyMCLNyKz1l0rcj3HgHezSWnip4l6+vO27XKoPzhPALbfD0LN8tOLKjxG7+frPklABvUT14grfUEe/X+RFnqANLixF0wQPFaTcMT3+grIxfLODNPDidzVn7FUbXIIbw4hUZnx0yMJDbvii2TWSRAKQ09w0hLtvxEy8XPQHHqJ6YJQGFx/1aMzDgcBKPTS8S84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RaDZ4XHcqkHfVhn1D6Mn5Bp/GK1OEEGT94XOsGsPeDoNLMvJxH/gLHY0T4yA2iX44RIya5D6eC6O8G2VOJd4QsilDLQoEmD+MZDxpWpih/TAIoyvWWR2MlDc9lNB2MtcKS38A2RPJsa9BLKEvbjBAgZ9z58m2hPrwgx81vQr8= X-Microsoft-Antispam-PRVS: <DM2PR12MB01561864951AAA9572C11094E5DF0@DM2PR12MB0156.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(767451399110)(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231220)(944501244)(52105095)(3002001)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DM2PR12MB0156; BCL:0; PCL:0; RULEID:; SRVR:DM2PR12MB0156; X-Forefront-PRVS: 060503E79B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(376002)(396003)(346002)(366004)(199004)(189003)(50226002)(53936002)(2950100002)(6916009)(2906002)(2361001)(6666003)(2351001)(106356001)(81156014)(53416004)(8676002)(81166006)(7736002)(36756003)(305945005)(8936002)(105586002)(48376002)(50466002)(68736007)(97736004)(47776003)(66066001)(25786009)(4326008)(39060400002)(6486002)(7416002)(5660300001)(3846002)(478600001)(76176011)(51416003)(7696005)(52116002)(6116002)(16586007)(16526019)(186003)(26005)(1076002)(8656006)(386003)(54906003)(86362001)(316002)(59450400001)(8666007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR12MB0156; H:wsp141597wss.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR12MB0156; 23:1i6jdGBi2x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R6R1RcD3G2+M4akqLhaEERTQbHGykCQM5Q6jNYAy1COTKIzg=; 5:Cs0cvi8KIxHIOV2rShhudBg69R1HWOsjrHPiZZF2rIjmOhQrbde7Ad3oC8ebwx+toLBOMX1Kk3r45YxwwiDzBmrCwEtxBFSvC9FBr29yUX9geJ5nu+Yzf2H+godx51skKOGTQMpIBFRWXUo+A6uLKZoZTXKJtfdlbQgZsDkL65w=; 24:25toNgI0kbQqnT7R/fPpr3+Sb6JtIUTquR25ynsq0bkY5IHQlQN6ng7YoyprmHU6VRML9705WeLmMd2eem47LbxI8OQSZuacPaL2uey5kHk=; 7:zbeGJa33W/K0GKkYhoJk3op8tkgKqzB6cEMOVbu19HgNY7W34+XZmrk1SIjzSfos+4S8f23FLoeJS5G6hHsFG96D4F5HU0qTIhdgfXfXsbqeWnkYIiRnFOae6GuqxK1AuF0UH4dccSNzXavE4sZPndUV5FVNza+k65ogFah+AA6++VubyxzGpdqJoFl8tATk84ph5qRrVfZukgqTFmwQOzZZdMWRQ5FrX8MdiLrvRJJt8arZsUx1Mfk8gVlrPNNJ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR12MB0156; 20:ObIx44ObnTuhrZvxfEKXtJQ9RGtjFtVEonOIMTh0Kl6E23IDRsGqF3RtwZVwc+NHnfxU7Jz0mGdz1uTZVn9DIGzNuLecARaX/OjBUtQ2DiEVHRqaix22eI9jDeB0iZ6oWi29lOrhHbjo+P9w/UPo27ZB4eQK/aOtFqzZiOtWyNAQxcf0spt9Mz69J2AxM9NG0vzZe0ho8aR7L5a5uBTkes8Fc6sn478k0ioA+0GpQS4Qph045rG8lLWrx/vStyEr X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Mar 2018 12:49:24.2215 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a3e526aa-fb23-48d7-5c3a-08d584f30668 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR12MB0156 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: <kvm.vger.kernel.org> X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/exec/memattrs.h b/include/exec/memattrs.h index d4a16420984b..08099e4f7e72 100644 --- a/include/exec/memattrs.h +++ b/include/exec/memattrs.h @@ -37,6 +37,8 @@ typedef struct MemTxAttrs { unsigned int user:1; /* Requester ID (for MSI for example) */ unsigned int requester_id:16; + /* Memory access request from the debugger */ + unsigned int debug:1; } MemTxAttrs; /* Bus masters which don't specify any attributes will get this,