Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp815333pxb; Fri, 22 Apr 2022 11:45:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyh72mskslgjb09NqYWfrlUMnsbGkN9X7x84byGNRhcqq8rkpmlXNzl3RxrDACztKnSgLZ6 X-Received: by 2002:aa7:8385:0:b0:4f6:ef47:e943 with SMTP id u5-20020aa78385000000b004f6ef47e943mr6468106pfm.38.1650653154903; Fri, 22 Apr 2022 11:45:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650653154; cv=none; d=google.com; s=arc-20160816; b=G/O0xH/NOc65/sIzw3FOWFCFE6XjnGhYzR/MnX/wpOBGGnDY8SOc6W3gleLIWUgLqv zkRVn1c6rLDb7JhDSk1czefS70WjES3raWsVE3QL47SsqB0HmIKOdTU+01XajzURMgyi e3/UF5fXm+DqE4zAhSazvDq9EXssSlREHX+FRbqMGx+LM5pL8TpQP90Ack281QwV4fwj a7rQY5olWMsVO0n25/QImJ+rtXEcZwJMRDw02uNJort4NYpCQwneD6yxWLNbRgFKpjEC VGVmIvVt4jOH42L3E1BmsGfW0OGcrqGHlog4ByvuS6opjzFfc0x9NnmbUwKKJfO7llLU JiSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YNSgtDutgXBKFRUzsOLQYL/Y2ayJ1UKMXk1V0nRM3dI=; b=pxzVVJucJiquLP5l+uBN3e5Qf+dPdAP5hB55ji3NiLi8KackSvFT6tDMfk5BHZnAXm 3qhsFgCYYfekQRFD7tHIzDYl3oKFD06CXZ1QOFITulAIuFIFn/6+oFplPY7wir1O3e3o E18UqlHk6HMOaiEY+7GIa2+uZJQl706T5eYd+ILUGuforDf9x3u15V9ecHtcG0gjmLrj bcsKpHsmkxAf5jFmcxvI3OFzKugD2ghTDkN0pjE+wrY6PjOH1AMbP7dN9Rw3M/Qn9Fjq 7J+AH1Z5A9CR/VedSagXkBv7FW/oGHAEgswfcgUm9pGQUTVNnW/Y/IIl6mZ5O0p6JDs5 9Uiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DQs/mb56"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h18-20020a631212000000b003862e2b721dsi8967547pgl.129.2022.04.22.11.45.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:45:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="DQs/mb56"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3BABEFC417; Fri, 22 Apr 2022 11:13:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358942AbiDTCeA (ORCPT + 99 others); Tue, 19 Apr 2022 22:34:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358939AbiDTCd6 (ORCPT ); Tue, 19 Apr 2022 22:33:58 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 758411EEC6 for ; Tue, 19 Apr 2022 19:31:13 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id be5so471000plb.13 for ; Tue, 19 Apr 2022 19:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YNSgtDutgXBKFRUzsOLQYL/Y2ayJ1UKMXk1V0nRM3dI=; b=DQs/mb56MKVnT+JWASoC/4hBPp1+3eGdQy+CDXoiqsVITkb7mU1pePfify1OL9PWa9 Q/7dGTJsn80TGm0THysvzwU5AzjqqaR7skn1FqhBi7u2tm+fqwlQ2RUNqicsePzp2Yj/ Uhdbn0RLchkkWdIvSwAV2QYP8dMRFFaILOxd8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=YNSgtDutgXBKFRUzsOLQYL/Y2ayJ1UKMXk1V0nRM3dI=; b=wS8OUyBfQRw0pBv6hw5zBQyPurtB5mxwsuWKwCHpCtXnbTahtwppfrttLSveBjHa5Q xcImUJ2Ytssyo5bwAO/UseGwCuQDI9F1pLPxI7uNxxha5hP28Fm6VnAvw6qkC6C97rjk BN0xDChWGq1RPHhUCN6wZl4kDQ8/wKdBxIHGYHwL5TTmuXa1Fd0U931icHJawn6yYnfE fkD62lxD/adBI4El+n6gX2u7VIpHDWQ/MPAZYH9LZgT6pdE6HR7ydQ/eAszroSvfbHae 0IdxTV0IkTGZw2ZDtkVjzzs5Ghkp+obsyfIwyiUYGKh5aClFK/wMS1V2S2Z3oiREe6SH LkuQ== X-Gm-Message-State: AOAM530K6bGYw81lAMCx95QkXxw2UzYWM+gc1mdQudL1wRjxQobiSQpn oPEXmR4EQHiVKNE3ED/974HXOw== X-Received: by 2002:a17:902:7205:b0:156:1a0a:2c39 with SMTP id ba5-20020a170902720500b001561a0a2c39mr18791861plb.88.1650421872674; Tue, 19 Apr 2022 19:31:12 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id n184-20020a6227c1000000b0050a3bbd36d6sm16576294pfn.204.2022.04.19.19.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 19:31:12 -0700 (PDT) Date: Tue, 19 Apr 2022 19:31:11 -0700 From: Kees Cook To: Allen Pais Cc: olivier.dautricourt@orolia.com, sr@denx.de, vkoul@kernel.org, linux-hardening@vger.kernel.org, ludovic.desroches@microchip.com, tudor.ambarus@microchip.com, f.fainelli@gmail.com, rjui@broadcom.com, sbranden@broadcom.com, bcm-kernel-feedback-list@broadcom.com, nsaenz@kernel.org, paul@crapouillou.net, Eugeniy.Paltsev@synopsys.com, gustavo.pimentel@synopsys.com, vireshk@kernel.org, andriy.shevchenko@linux.intel.com, leoyang.li@nxp.com, zw@zh-kernel.org, wangzhou1@hisilicon.com, shawnguo@kernel.org, s.hauer@pengutronix.de, sean.wang@mediatek.com, matthias.bgg@gmail.com, afaerber@suse.de, mani@kernel.org, logang@deltatee.com, sanju.mehta@amd.com, daniel@zonque.org, haojian.zhuang@gmail.com, robert.jarzmik@free.fr, agross@kernel.org, bjorn.andersson@linaro.org, krzysztof.kozlowski@linaro.org, green.wan@sifive.com, orsonzhai@gmail.com, baolin.wang7@gmail.com, zhang.lyra@gmail.com, patrice.chotard@foss.st.com, linus.walleij@linaro.org, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 1/1] drivers/dma/*: replace tasklets with workqueue Message-ID: <202204191929.B475B3426@keescook> References: <20220419211658.11403-1-apais@linux.microsoft.com> <20220419211658.11403-2-apais@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220419211658.11403-2-apais@linux.microsoft.com> X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 On Tue, Apr 19, 2022 at 09:16:58PM +0000, Allen Pais wrote: > The tasklet is an old API which will be deprecated, workqueue API > cab be used instead of them. > > This patch replaces the tasklet usage in drivers/dma/* with a > simple work. Thanks for working on this! Can you describe the process for the replacement? For example, was it a 1:1 replacement from one set of functions to another, or something more nuanced? Did you do this by hand, or with the help of something like Coccinelle? Including these details will help maintainers with review, and will help others do other conversions in the future. Thanks! -Kees -- Kees Cook