From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E01B7C2FC04 for ; Thu, 17 Aug 2023 06:19:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348190AbjHQGTR (ORCPT ); Thu, 17 Aug 2023 02:19:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346827AbjHQGTH (ORCPT ); Thu, 17 Aug 2023 02:19:07 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7838012B for ; Wed, 16 Aug 2023 23:19:05 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1261FD75; Wed, 16 Aug 2023 23:19:46 -0700 (PDT) Received: from [10.163.56.113] (unknown [10.163.56.113]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A2E8D3F762; Wed, 16 Aug 2023 23:19:01 -0700 (PDT) Message-ID: Date: Thu, 17 Aug 2023 11:48:53 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 0/2] Fix some issues with TRBE building as a module Content-Language: en-US To: Junhao He , suzuki.poulose@arm.com, mike.leach@linaro.org, leo.yan@linaro.org, jonathan.cameron@huawei.com Cc: coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, yangyicong@huawei.com, prime.zeng@hisilicon.com References: <20230814093813.19152-1-hejunhao3@huawei.com> From: Anshuman Khandual In-Reply-To: <20230814093813.19152-1-hejunhao3@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/14/23 15:08, Junhao He wrote: > The TRBE driver support is build as a module, we found some driver issues > based on the patchset [1] and set CONFIG_CORESIGHT_TRBE=m. > 1. TRBE driver potential sleep in atomic context when unregister device > 2. Multiple free the platform data resource when rmmod coresight TRBE > driver > > [1] "coresight: trbe: Enable ACPI based devices" > https://lore.kernel.org/all/20230808082247.383405-1-anshuman.khandual@arm.com/ I am glad that ACPI based device enablement is already helping in getting more test coverage for the TRBE driver itself. I have just posted a new version for the above series. https://lore.kernel.org/all/20230817055405.249630-1-anshuman.khandual@arm.com/