Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2705211rdb; Fri, 18 Aug 2023 08:14:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeQKSi6wqGQtK6vLsu1V/LglQn71q6lYRVRJZTRdRKub0CAVcb2l8Q3sh2nPeybtgtJKKm X-Received: by 2002:a2e:9882:0:b0:2b5:974f:385 with SMTP id b2-20020a2e9882000000b002b5974f0385mr2157899ljj.9.1692371675466; Fri, 18 Aug 2023 08:14:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692371675; cv=none; d=google.com; s=arc-20160816; b=tGHPe8DRGBrNULLCxi2LaPJCqBbb6YNXS0aUH6yFkU14CMBEvDFzAe9AqmAfieWPXC xy96oZIY6enuS0ZVGlYLYNRH5DsOLI6PpSecRwUs/PYBWuLAUTsjdgOPHuEo5ujVY9Np XN8UGpysSODlOOgHeYjSWfAFOL1SMmLuNcojs7SYDZfwNOS8ZX/M/HkkE84V30TTFnmo 9nqh1MMJiUsL9XNSZW0lu/eZcTaYDZ9kG7eeEm2zwGqwlG6ySbM4dKg74pMiVRNlTh3T fQ5RN9MaY6nDe6BG5dMUKRBjMhWd0zrUcX/SqxRrLvcvobPAXCRa9A9jxawnLt6eLhkM CeLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=pzGyu2s/+4hdjYZul1PaU0bs7DpGWL+xtkPSaDYk4OU=; fh=Yyjn26dHhQBSm4jYH8ySQG7c/khtxILRDDXdd9FMT00=; b=M+R5QKC08zrwdtUPxL4tlLyjgsnFtqjfbIs4Cf7u2j79wRhspJi6xFu7fHCU2/D4AC Dc1F6ZDY5vZ8N/6aklKlOoGLUv46KtDfCPyyWHBLscvLp/veCA+tEhqHCMMfeKGycrXn apiFyui6FPXqGuPARPdTtv/fOn6LVqL7/IR1AivHKh4wQfdbejlQTc0xhBoTtMjKC1Kb 9DQXKqcCAQ1wAeTZ8JISrNEtSF56fxejJ9fKLraqRV54pSVsLs0Xtxch59q/CWg7StwJ 0fjWB7ON6KMAAjaSp3xhDdLzWU7kAa4yud0WDyjAqstNv25QI/a7eA15V8UDuSVXRCLr qMEw== ARC-Authentication-Results: i=1; mx.google.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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x14-20020a1709064bce00b0099df02668eesi1485325ejv.150.2023.08.18.08.14.09; Fri, 18 Aug 2023 08:14:35 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348183AbjHQGTR (ORCPT + 99 others); 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 X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 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/