Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp1595196ima; Thu, 25 Oct 2018 01:34:21 -0700 (PDT) X-Google-Smtp-Source: AJdET5esUrndc+fcMYihKy0JkP5DdzEuKajhrD+sI8QWynew7M4Oxieb/YHxBi/RMTtsnQbhQj9m X-Received: by 2002:a17:902:a503:: with SMTP id s3-v6mr613241plq.35.1540456461295; Thu, 25 Oct 2018 01:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540456461; cv=none; d=google.com; s=arc-20160816; b=a8OeJHp+pVqlptzaJVXFQ/N4xWXhvMZLTkIxHXaaTCAdRzI4w9LHY4cfcbRRqa+cHf n+s8/5QZcsg9Ibg86DRE4O8VhF1M5DFmAaISHJLCSGQMz0onrE9ZYZyBNa9tmHYUccHI Hfbv+VvIxSx6GAjgpcBbNKe2g5nJ0wclUJS36zjUM0FmKujZyz3R2glv1U6cDcQDsOz2 +jAWjjNQPCyhs6A2URS3TSHDgLjYQ3b8B6at07uhGyadMhWu6epWIzY6LympXo7+e72O 9Cen9ZozsXnm7SpQYDOCNRlomt81yEEx4Xv/171hLc8o8sZ7XrYIh4tJajseqYyIGzmj PAZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=XMhJyY/UgLIsJwoNwTp/XYMgrJ7VpYu6gxy8wwpb6fs=; b=npfQz4WNTM15VdAgbjlB3ZSXaNU3B1Kx61lPgesydJVX9529vNRbqMNLIw5x4SaT5s /nGfEftxPZ3VlQIKW8pVQ40oe7GNlNiK0+KV24a8c8uFUjTDdsR6PS5u5S8kQwV5sUy2 lmpYnWsUTcnI43IpegA0YsroykU/DWav6FPbmkBqFb0TguRN8kg+R3s4YJlT0k9PVwFl t5/lbk1u8lZTjSntwdz5bFO8faXpfwQ7DSpDiVClNYVIhtNLZWe2XpBYKUj/cRvHS0yt IrQSSXkA1hM+mlgmGgr9fpKfhXSgmzLCwXEpllgrynGzgS18dmP8fcp/mXpVzK1qH79C hv6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=FBYcyBCu; 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 a8-v6si7103584plz.94.2018.10.25.01.34.04; Thu, 25 Oct 2018 01:34:21 -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; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=FBYcyBCu; 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 S1727009AbeJYREA (ORCPT + 99 others); Thu, 25 Oct 2018 13:04:00 -0400 Received: from mail-sn1nam02on0078.outbound.protection.outlook.com ([104.47.36.78]:62144 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726696AbeJYRD7 (ORCPT ); Thu, 25 Oct 2018 13:03:59 -0400 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:X-MS-Exchange-SenderADCheck; bh=XMhJyY/UgLIsJwoNwTp/XYMgrJ7VpYu6gxy8wwpb6fs=; b=FBYcyBCu7/PYk0Bu+neAiBLea1v0TNCZz+ZSrNVoF7Dvua0I1EcBp8LFmg9rsakc53Ly5+NRWGMops3pNsbGsdtvJBg+SAGj5DRFTWUaNia/WA3HNuDiUFd8D1ZtH1IyOb/uTmqD6NNmNc0orYuwP94h5eUeepVRMio5i6Wd7/k= Received: from DM3PR12CA0090.namprd12.prod.outlook.com (2603:10b6:0:57::34) by DM3PR12MB0746.namprd12.prod.outlook.com (2a01:111:e400:5984::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1273.19; Thu, 25 Oct 2018 08:31:57 +0000 Received: from DM3NAM03FT044.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::208) by DM3PR12CA0090.outlook.office365.com (2603:10b6:0:57::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1273.19 via Frontend Transport; Thu, 25 Oct 2018 08:31:57 +0000 Authentication-Results: spf=none (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; 01.org; dkim=none (message not signed) header.d=none;01.org; dmarc=permerror action=none header.from=amd.com; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) Received: from SATLEXCHOV01.amd.com (165.204.84.17) by DM3NAM03FT044.mail.protection.outlook.com (10.152.82.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1273.13 via Frontend Transport; Thu, 25 Oct 2018 08:31:57 +0000 Received: from [10.237.74.158] (10.34.1.3) by SATLEXCHOV01.amd.com (10.181.40.71) with Microsoft SMTP Server (TLS) id 14.3.389.1; Thu, 25 Oct 2018 03:31:55 -0500 Subject: Re: [PATCH] drm: fix call_kern.cocci warnings (fwd) To: "Koenig, Christian" , Maarten Lankhorst , "Zhou, David(ChunMing)" , Julia Lawall CC: "kbuild-all@01.org" , "intel-gfx@lists.freedesktop.org" , "dri-devel@lists.freedesktop.org" , Gustavo Padovan , Sean Paul , David Airlie , "linux-kernel@vger.kernel.org" References: <823eb7cc-ba7e-b816-1821-c73dfd4c70bf@googlemail.com> <8c956766-57ba-c6f7-405c-04a41ae926be@linux.intel.com> <1b153270-c73f-ea6f-6573-b742b81d6c42@amd.com> From: zhoucm1 Message-ID: <2538e7eb-d71d-2c19-a1eb-57701dee03ef@amd.com> Date: Thu, 25 Oct 2018 16:31:47 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1b153270-c73f-ea6f-6573-b742b81d6c42@amd.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [10.34.1.3] X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:165.204.84.17;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(376002)(396003)(39860400002)(136003)(346002)(2980300002)(428003)(189003)(199004)(11346002)(26005)(2906002)(31686004)(64126003)(336012)(186003)(104016004)(14444005)(305945005)(77096007)(7736002)(97736004)(16526019)(72206003)(76176011)(2486003)(65806001)(47776003)(8936002)(5660300001)(65956001)(478600001)(229853002)(23676004)(6246003)(356004)(110136005)(65826007)(8676002)(105586002)(54906003)(16576012)(68736007)(93886005)(81166006)(81156014)(6116002)(316002)(3846002)(106466001)(6666004)(50466002)(58126008)(31696002)(446003)(53936002)(426003)(2870700001)(66574009)(4326008)(36756003)(67846002)(86152003)(126002)(486006)(2616005)(476003);DIR:OUT;SFP:1101;SCL:1;SRVR:DM3PR12MB0746;H:SATLEXCHOV01.amd.com;FPR:;SPF:None;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-Microsoft-Exchange-Diagnostics: 1;DM3NAM03FT044;1:e9ef643BtJhzN0cYg0UNqV5tvYlRcpazuM+wBdTpk4RJEr/pSOOYxXhDOZdtmwyVJj59gfKaNJRKgMLBtcx8KNCnyup1pOPkmVi8AIAMsbBVyozYjyVQSsDfm3uZ0lX5 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 172f8bd3-84c6-452f-cbfc-08d63a5453cf X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:DM3PR12MB0746; X-Microsoft-Exchange-Diagnostics: 1;DM3PR12MB0746;3:7/JYofgow/wA86KT+MDGlGF3ZvqTG4g7ybJ+lKuSk+u+UEzJKkdRWh/NOObMANaeuUFWIyJnnUwXWr/8t6zwTkDHlOJv44tAGQFQtKqi4hy6W8DCWEnBKD4A6YIWlyZx1q/QULHXUgmq2Ka+My5Hpaebdatm8GN/r9u3VVAG09twdyfT1V9DV9x6RAgICiLMuj3FJTJDYjZwk1M5D05ZscK+rKcHq9dr69rlSaHHdGYug9pwxHfooaLRMGtbv/n4rSo/uTckK4NsDnTqevHE2uY2wQ3hbDgOlnk1dxnmO1XQ4KC4PRDDYXI6r8UYIgIUWq3e56u9YPVWw1a1VKleN1O+QzlpKk2IbMrKiHusxGg=;25:X30ZF0XwOieVxrlVQz4l2EJTyWLKN+pzUAvxw9JSXMI2QheU/fOe6d9QHIVB0GisdM0DxsU8u567r9LtXeKf/1apANSjAkWW8MIPYEcOTkIhBeYJ9iQOyQFTySv23QhsNozMqOEt5XpXGmB/9IvrXvwEgsP4VNy9ML4nWJwyb+smfAn3nayTMvC82/78y844cvYXFEbKudbrlt3fIVebZLDcBph60sFlImxVtdd8HEcHhdZ15HWHLUg2VcZUtl0YnRXVFJXTSRCP206iAdJfvQnhLSEt4tEIXeDz5sxUpIeQpEWxO9nQxyvZuG6rJA0UTiLRDQNmV7ag/XPMi7aHMSfdSJRUgQzqebRkQ7SLv4Y= X-MS-TrafficTypeDiagnostic: DM3PR12MB0746: X-Microsoft-Exchange-Diagnostics: 1;DM3PR12MB0746;31:tiohR1Fl9XscL1Ha/+ebz2N/L/uSx3uDyRgO+axcNH6OlEXIe5KI2M/JUXJe+fM2TyUasE8ZI0J03bHuKxicwbxlhj9gfGcGe/GisqGN9/la2Lneu5uTe68LLVgER9YnKX10VunFPy/Dt7pTDEuPdDoqLUIrHxy/W9hMR2LBGDtbULNbHPNrl+jKZjDtCOpt05Q74v828Ff3k+IlSd8aZiYc85Vy0FkjzJJvS8yL7Ew=;20:5Blfy+07ueadmUCcO6GSWfuNAhlITQfK61+mipXO6CpTY6EokrFxns3aCwoR0WjitLbDwx1qxT60CahCj1R1w2VQj5/L0w+ntVsIY3ign7nAREIF3j1mS64e9WqwRnmkyAFomW9nviiIQrjAbcoqrQrWQ5Sm3sf47MX+dGPCmGNzL25K5B8qaC+NXsSCg65fy1SdqE6H7Yyt79Y+SmcU8+jDjy7MAwo5Nx0gTyAKiyNClUmQKJWSELd8iKIKHzs0MHEKHWoXefuackwZm1Jn83N1+qM9oK2HMTn0YxQPrvH3Dxs9yM1s8P/0vg493NHhtr3t0sOibSS9r8TNAkTRybiNmi2qF1MCxGNGB5NuIDI5V/cMJkMGgJi7XIepKxiMsIt+PLagBv1NVEtqnEAtJ1GPjPbCdXXoaisHfkqfVJxuzhOSPqpfeiol9KT2IjYQ22cS+Cxv1HHhaNjhHB0xd5ppDAHrZmeoR882TbCg5BYdnl8DCHQPGY0IKcAIc7BG X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(93006095)(93003095)(10201501046)(6055026)(148016)(149066)(150057)(6041310)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:DM3PR12MB0746;BCL:0;PCL:0;RULEID:;S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XViuZYdWOoJKH5Ib0g54HuFbr0uQDCfTkOlDhrTLIeAZVsXG3rnYT/vfh4zTyTkTUkp7q6pt5NQqzvZf X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2018 08:31:57.1513 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 172f8bd3-84c6-452f-cbfc-08d63a5453cf X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXCHOV01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM3PR12MB0746 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org will send a fix soon. Thanks, David On 2018年10月25日 15:57, Koenig, Christian wrote: > Am 25.10.18 um 09:51 schrieb Maarten Lankhorst: >> Op 25-10-18 om 08:53 schreef Christian König: >>> Am 25.10.18 um 03:28 schrieb Zhou, David(ChunMing): >>>> Reviewed-by: Chunming Zhou >>> NAK, GFP_ATOMIC should be avoided. >>> >>> The correct solution is to move the allocation out of the spinlock or drop the lock and reacquire. >> Yeah +1. Especially in a case like this where it's obvious to prevent. :) > Another possibility would to not allocate the dummy fence at all. > > E.g. we just need a global instance of that which is always signaled and > has a reference count of +1. > > Christian.