Message ID | DM5PR12MB1818B0CD8989138A894C9DEEFF590@DM5PR12MB1818.namprd12.prod.outlook.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.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 C569160572 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 13 Feb 2017 03:17:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AE7242811C for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 13 Feb 2017 03:17:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A30A828159; Mon, 13 Feb 2017 03:17:11 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, HTML_MESSAGE, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D2DAD2811C for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 13 Feb 2017 03:17:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 740366E164; Mon, 13 Feb 2017 03:17:09 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 5615 seconds by postgrey-1.35 at gabe; Mon, 13 Feb 2017 03:17:07 UTC Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0062.outbound.protection.outlook.com [104.47.37.62]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5B78A6E164 for <dri-devel@lists.freedesktop.org>; Mon, 13 Feb 2017 03:17:07 +0000 (UTC) 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=O/70vLtk7L44OFzQeHkX9Z28/NcasXjP0KOhoo7Vi/8=; b=XVby2Aovrpa+NvTZdZOtWVESD2GkTnTmAaE2doDkFIJrgebCey88vA5frOKQEb7u3Vvn3Ss92T2FAyDzzwpBgz5gH2Dy4e16ASghSeSWAowpgAO9TNB1ofqwmrrUWEQWtIDhjxMpi5DKPwnlVfhBWwbWAVq+NBOESOaa2qPw/8U= Received: from DM5PR12MB1818.namprd12.prod.outlook.com (10.175.91.147) by DM5PR12MB1307.namprd12.prod.outlook.com (10.168.237.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Mon, 13 Feb 2017 01:43:30 +0000 Received: from DM5PR12MB1818.namprd12.prod.outlook.com ([10.175.91.147]) by DM5PR12MB1818.namprd12.prod.outlook.com ([10.175.91.147]) with mapi id 15.01.0888.026; Mon, 13 Feb 2017 01:43:29 +0000 From: "Zhang, Jerry" <Jerry.Zhang@amd.com> To: =?utf-8?B?Q2hyaXN0aWFuIEvDtm5pZw==?= <deathsimple@vodafone.de> Subject: RE: [radeon-alex:drm-next-4.12-wip 34/40] drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:620:4: warning: left shift count >= width of type Thread-Topic: [radeon-alex:drm-next-4.12-wip 34/40] drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:620:4: warning: left shift count >= width of type Thread-Index: AQHSg9bVndF14yjNwEa2cMIi3wGl2KFjcNcAgAK8YxA= Date: Mon, 13 Feb 2017 01:43:28 +0000 Message-ID: <DM5PR12MB1818B0CD8989138A894C9DEEFF590@DM5PR12MB1818.namprd12.prod.outlook.com> References: <201702110342.VxXxgZZq%fengguang.wu@intel.com> <66324f2c-cb75-5c11-42b6-c47c5456b52b@vodafone.de> In-Reply-To: <66324f2c-cb75-5c11-42b6-c47c5456b52b@vodafone.de> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Jerry.Zhang@amd.com; x-originating-ip: [116.228.147.241] x-microsoft-exchange-diagnostics: 1; DM5PR12MB1307; 7:Gc20ZQvzCs9cUJlgTx3vpPGR/NrWUfsNt6ZgDSw1f7TaWyLkBXHCiHkXz5NOeyQJju0Hsb7rUvyNAditLALSEShaUBs4kedIIqf7Pa8iBUlhk8RpuANYA5Ef6/3XgjZRzSDYDV1/8THwEVbamrpsR8b/QdpBJQx7HPNanX0jxXacBkmxogUjzo4qbXJIz6fcOlXztKQwSLPnID3OU/hkyCtAb1Is+dg/mRfdQptVGNZy7nI0I6p9yZlNbSuqNJq91MSiMwN8tbKmU6pxtQKS51CNhisAS9pPkScVYcgsoa6gUBY+G5Oha+cPrdCDGw+Uuj3z+SqUxWOkGOgqsw2cHnUQeuXsEepESv73O8i1eumLvH3pekjr+AXk8z4fDL1TTBbh0ww2Xy6h1ku70fkhElTGlQt7oisYxfT8scZdQie77/q1zEWVqjD8l2ErS4HZyuDLmI58hVHiCno9zYme4hvPy84RpOsam6faqRhs2qUpJMJ3nCJe/Q0R5MpswppJ37LPwrY4cGfjcyHbbrQM1Q==; 20:KeUEzBi38Rt5fR2o3NVjmOSouZglt88wNeiBjoWJQTFiqinNTXb9FqyKtWgHx1GMupYNPyxk2i9TgSX6jHGd0TymRHWDly91KELsqaDezKEX4WeMAjBjipnJrernlOhrn9aaSJLhqJwM3LyABEmvFc6DXZF+mUAwHKHPO2M/s1BQ32Y4pVTS0nrn12XLGvjxodidwkmDNPZbhi4AxYd2GoslQ5/vJ5+bivYHRHdu1Qo63+apRMoi9hV0BIesxiGe x-forefront-antispam-report: SFV:SKI; SCL:-1SFV:NSPM; SFS:(10009020)(7916002)(39840400002)(39450400003)(39410400002)(39850400002)(39860400002)(189002)(199003)(122556002)(7736002)(68736007)(7906003)(236005)(92566002)(2906002)(189998001)(102836003)(97736004)(77096006)(9686003)(106116001)(2900100001)(106356001)(105586002)(230783001)(5890100001)(6116002)(3846002)(790700001)(74316002)(606005)(25786008)(76176999)(54356999)(50986999)(6506006)(229853002)(53936002)(3660700001)(4326007)(6246003)(33656002)(3280700002)(54896002)(99286003)(55016002)(6306002)(54906002)(66066001)(6436002)(81166006)(81156014)(9326002)(38730400002)(110136004)(5660300001)(8676002)(7696004)(101416001)(2950100002)(8936002)(6916009)(86362001)(575784001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR12MB1307; H:DM5PR12MB1818.namprd12.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: 0b6a5cec-3cff-4797-a63c-08d453b1b5d3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:DM5PR12MB1307; x-microsoft-antispam-prvs: <DM5PR12MB13079F7E460F46325EA6C168FF590@DM5PR12MB1307.namprd12.prod.outlook.com> x-exchange-antispam-report-test: UriScan:(162533806227266)(217544274631240)(84791874153150)(21748063052155); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123555025)(20161123558025)(20161123564025)(20161123562025)(20161123560025)(6072148); SRVR:DM5PR12MB1307; BCL:0; PCL:0; RULEID:; SRVR:DM5PR12MB1307; x-forefront-prvs: 02176E2458 received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Feb 2017 01:43:28.7943 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1307 Cc: "Deucher, Alexander" <Alexander.Deucher@amd.com>, "dri-devel@lists.freedesktop.org" <dri-devel@lists.freedesktop.org>, "Haehnle, Nicolai" <Nicolai.Haehnle@amd.com>, "Koenig, Christian" <Christian.Koenig@amd.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: multipart/mixed; boundary="===============0446419626==" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h index 4d26e9b..fb5448b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h @@ -65,7 +65,7 @@ #define AMDGPU_PTE_FRAG(x) ((x & 0x1f) << 7) -#define AMDGPU_PTE_PRT (1UL << 63) +#define AMDGPU_PTE_PRT (1ULL << 63) /* How to programm VM fault handling */ #define AMDGPU_VM_FAULT_STOP_NEVER 0