Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1829807rwb; Mon, 7 Nov 2022 06:20:01 -0800 (PST) X-Google-Smtp-Source: AMsMyM4eyCS0/GR6kjRy99AyWJxebB48DGcjq1pB636oKzHO/byEW7H1h6mjHfQS3OTlPRNqS+ce X-Received: by 2002:a17:907:2da3:b0:7ad:ffba:a8e4 with SMTP id gt35-20020a1709072da300b007adffbaa8e4mr27491717ejc.684.1667830801429; Mon, 07 Nov 2022 06:20:01 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1667830801; cv=pass; d=google.com; s=arc-20160816; b=L6kME6Du4B7zBy4u6cFGamZA/a2LRWsNUN7rgOY+/UGMct0NGT60WlPur2j25y/xdU 5oVX4vDREGEX2Wq3qx/w4FxDUs/9j7vpMbPbA8AmCIK/VFWBe7BQcI+pOv6hSf3lLlGz jOE0xxWQIwSSYSruSkn+4b8r3kcV92OWW3lBjXRC82Bfv+sQeVhK8d4oSGzix3uKLM3Z Gb9DD2mP5hd+Yhlow5ySbKpg501D06P4fLHA67u9Cck0V34upgz8RQ95dOnYWLhWcJIc Vv6cJsHzXIuyJY82yIq5+foL4BZNiWG2AbQHqih6RSa7o1vKD7I3tF4UT6CQf9zQLZIQ 6syg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=Ql8iMkSU+8aDD1+DxdykrLn3lHixabxtbxK2cnvomIg=; b=z5+kDwwYwOkBsQtYQf1nBTUOYC5AT2tdtOiyrX2AbrKqLV9ayx+o0+eYG/2eSPSkT7 5UHSfECCaFuG191gWTNSWTQFCdhlKq49TrfhnYlugVnOClwFYTEmft1eAAUkGmyBXk88 5N6tE8nwHdxVGHMyYUFaJqpwD69A7cfQvOI9I8toncfYYX4lAJ2Ug+JbVC38qOzW5pDy P5daglz9qnQbhMHG7Aenw32bxVS6vVs2PmHF7sD9XRw4LQRYgc2CD5zl0OPEWR5tBcNE /LCvYSvH1pjc2j6eh9PjyyOZ9ENV68dbnal7YrMV0e9T3N8MFQenyyWc+VhTdvUg4ezc j7Ow== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=VdupVe7W; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id js20-20020a17090797d400b00767e24156dbsi5983156ejc.256.2022.11.07.06.19.37; Mon, 07 Nov 2022 06:20:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=VdupVe7W; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231953AbiKGONK (ORCPT + 93 others); Mon, 7 Nov 2022 09:13:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54224 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbiKGONH (ORCPT ); Mon, 7 Nov 2022 09:13:07 -0500 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2086.outbound.protection.outlook.com [40.107.244.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB97F1CFD3; Mon, 7 Nov 2022 06:13:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F1S2qKBE/Ud15knIJZPEhAiEL4o8MI4IdH5wiE702oJm6VLk5oPM5EVufMr2vuHutxUwojvRSdyvE+4MrwNNdcv6iWGyExRjgYfg2qYd5nC0UKiAUM2YgHST+PXgjM7EF21AL70kLZfJMph3bFnr7I+nOCtxTBs7X1roXiW/6pOSy748MsUN3xFDEDO2CARdMZs184VVJFn6m9jsPf1focV80Uh0zIhXM8s++gsL9HRXMOeL479HyzXZLY4JbDISE80qm3KIFquxZIRXQN9fZC4wirK3MaLh3Zm/CEIQ5Ju5p6XTHEIzSpzhOyL+Q+LYnBdPHhiZFY+zoVkqOXoZ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Ql8iMkSU+8aDD1+DxdykrLn3lHixabxtbxK2cnvomIg=; b=NrBL/b/nIwOZu+g/urCUeE4DwKO3iOz2+3ZjUKk9hDFIwlwCr0kc2ZOMaks2Xrp+N+5JqhkkC1Gr73aIq7JhiMVQirJHOUZSLZr2W3QLatKgXozv9e4+vrojtbO3VOvOuzuVSN9TInIzGaFTQL0t2e2fwA+T+DfMB3sIneP2mA2PmIG9Nx4kMnDYAKuQwMOTpYJ+T0K+Knts+YAVjjGFyOYrYIusCKSNzWhB9pyw2s5F1q5W7KZgXec9+xAApZSMfxjChucpIWKcONiN1oMpdEbOOCwxyrIhfPggUl1fQ2+u46KJ2PQ6gEI+tgKL0rANGO4gbzY/ZMIKsJPOIVAKtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ql8iMkSU+8aDD1+DxdykrLn3lHixabxtbxK2cnvomIg=; b=VdupVe7WFojTLZxrMc2Sv6BIASMWDWZRQ8FEkQra3/uCs54R5kSlks1rXQNSO0iqztghagaeTUQO0gcSW7fQEI/QcbZMXrcihrE9tMz8Yf2m8tsJY/dzPIIUBc7TjHG8Q9ynsZi72SfqHZNKU3dpVvlj401L4iKzjL0m8kotZOs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) by DM6PR12MB4531.namprd12.prod.outlook.com (2603:10b6:5:2a4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.26; Mon, 7 Nov 2022 14:13:03 +0000 Received: from BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::7d43:3f30:4caf:7421]) by BN8PR12MB3587.namprd12.prod.outlook.com ([fe80::7d43:3f30:4caf:7421%7]) with mapi id 15.20.5791.026; Mon, 7 Nov 2022 14:13:03 +0000 Message-ID: Date: Mon, 7 Nov 2022 15:12:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH v4a 30/38] timers: dma-buf: Use timer_shutdown_sync() for on stack timers Content-Language: en-US To: Steven Rostedt , linux-kernel@vger.kernel.org Cc: Linus Torvalds , Thomas Gleixner , Stephen Boyd , Guenter Roeck , Anna-Maria Gleixner , Andrew Morton , Sumit Semwal , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org References: <20221105060024.598488967@goodmis.org> <20221105060200.357061890@goodmis.org> From: =?UTF-8?Q?Christian_K=c3=b6nig?= In-Reply-To: <20221105060200.357061890@goodmis.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: FR0P281CA0106.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::7) To BN8PR12MB3587.namprd12.prod.outlook.com (2603:10b6:408:43::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8PR12MB3587:EE_|DM6PR12MB4531:EE_ X-MS-Office365-Filtering-Correlation-Id: 0afc4d13-d90b-4e92-a6ed-08dac0ca2f3c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: igPtnsWhTDGoPW0r+/sLsU+B8nGZilZVER3uNM8hKCWcW6F4zkD3EemdDTaGAoxKwUpBoOT9Xf0SSkGryOGlWCnnSwTzJ0Or4kdA9NQ5yAbLCdTx3l8kppeAL0ZowIT4meFc//BgdprlTTnOZS5vEOKZA/IAFvrIQBm/xhIJCuDLg//Adp+qHvvc1uyoVGIxcWwmupUDoUuQZrkhbQJyefn6dyZoDtdHe/LNlakwBE9YB49G5cfuT+Fr/+EHbVlp1cm3DGUAtXv+IuOYuQ07E1j4H0PoPVGvUkelbDd8jxVUg44FKs7Y16uQTXLAxiOCPaPWfTqjSGproIsQ6dLFmzc9yGayv79fQ33CJPL5q2URP7F8jaQLHAkTu6I6ydrDTQu1zlhOlLUOWtXb8NhzjuJHY8rTTlDZN3xD4bvhSvUArBqJYFHZkw/ZggiNq0knGt7wkoZ9V1/sT0tQdLKX7nDN/Ky6d4grztwg4n2TbezCT9B0B5uly3oydwAT2Lx2f/cMnVPnF417JBzsQGpe0Cp40WOJY/wYWWVSsZkV4gHbEX4+gcpa1TlwbRHJOzKVJLdw53cZQzuv+vMK/UrK6oQsrjyJ0YSrjnhwz4Bdq4weQVekvKPAvKASJDbe2HVK9yJbXZNJFBPOWGPrncEsCzDIUc6pAANyyNXQCv/YoJUKjIg8YGlZb14TyZo452FPGpXfvUEu3voXe1mbJTSgtpv8s0oLvJvgcyXg4pwO6ZXge7QCiicfSOD65M7NHedElDCQPuHLNrmEFFPPNR+AuuBqKt+9+koHuRrvBgQ3thfJM3yt4umM66tBAtIe6vLvrcNQOuV5rBsHiIrEg7zt7OTmJqOAT9VC25Ho+JoaHX8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BN8PR12MB3587.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(346002)(136003)(39860400002)(366004)(376002)(451199015)(36756003)(31686004)(86362001)(31696002)(2906002)(6506007)(7416002)(5660300002)(66574015)(6512007)(26005)(83380400001)(38100700002)(186003)(2616005)(8676002)(4326008)(66556008)(8936002)(41300700001)(66946007)(66476007)(316002)(478600001)(6486002)(45080400002)(54906003)(6666004)(966005)(42413004)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SnlVMkIyRUovbTdJd0JkY2Z0ZHp0OGlGa0Z1YmVsVC9tNFIreCtrOStYcXhp?= =?utf-8?B?YnFsTlV1bFEyNmR3MHhTM1pRSkRac1NiMTdwTEtUZGpQRUZNWUZsVzFIQkZI?= =?utf-8?B?OU1yTldiQkFTU2UzK3k1NllKVUVnaENzYXlCcXRFK2lQa29tT0g1OTUzb0hE?= =?utf-8?B?cmU4clFiaE9RODhrMHVsaE5DZUlOazZyRVBDd3BRSjc2RERZMHRDZXZSeDhl?= =?utf-8?B?WWFWbWVLNnFQVFVxdTRQV01vSTJGOEI4YkR6bU9HU3Z6ZWF5MFA5REJqYW5l?= =?utf-8?B?SjZsVi9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LV25wdEUr?= =?utf-8?Q?e02Q=3D?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0afc4d13-d90b-4e92-a6ed-08dac0ca2f3c X-MS-Exchange-CrossTenant-AuthSource: BN8PR12MB3587.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2022 14:13:03.7433 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 4gvJIo1JOyHcnEFohV9OttjXZMlQVuClPW6K0L3xPOgLt5xe9RlJBnWY9ybMQl3d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4531 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am 05.11.22 um 07:00 schrieb Steven Rostedt: > From: "Steven Rostedt (Google)" > > Before a timer is released, timer_shutdown_sync() must be called. > > Link: https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Fall%2F20221104054053.431922658%40goodmis.org%2F&data=05%7C01%7Cchristian.koenig%40amd.com%7Cfdadde8d801e48fecafa08dabef330f4%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C638032248997820518%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mEL3bFU7fZ7kSrz3vv96opdAyt7Ew4UeY2nNF%2BhDmfc%3D&reserved=0 > > Cc: Sumit Semwal > Cc: "Christian König" > Cc: linux-media@vger.kernel.org > Cc: dri-devel@lists.freedesktop.org > Cc: linaro-mm-sig@lists.linaro.org > Signed-off-by: Steven Rostedt (Google) Reviewed-by: Christian König > --- > drivers/dma-buf/st-dma-fence.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma-buf/st-dma-fence.c b/drivers/dma-buf/st-dma-fence.c > index fb6e0a6ae2c9..5d3e7b503501 100644 > --- a/drivers/dma-buf/st-dma-fence.c > +++ b/drivers/dma-buf/st-dma-fence.c > @@ -412,7 +412,7 @@ static int test_wait_timeout(void *arg) > > err = 0; > err_free: > - del_timer_sync(&wt.timer); > + timer_shutdown_sync(&wt.timer); > destroy_timer_on_stack(&wt.timer); > dma_fence_signal(wt.f); > dma_fence_put(wt.f);