Message ID | 20231012094706.21565-1-hejunhao3@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp1100740vqb; Thu, 12 Oct 2023 02:47:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLxdXwjSJQwrL08fBK9lrfiXTMAfLRVi1/OJWpwTrQV696nHX0lwXf4m4zs39blSj9lb2G X-Received: by 2002:a05:6808:138b:b0:3ad:aadd:6cbf with SMTP id c11-20020a056808138b00b003adaadd6cbfmr28597882oiw.0.1697104053078; Thu, 12 Oct 2023 02:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697104053; cv=none; d=google.com; s=arc-20160816; b=L9ikydNY+SinGYyhqvU5RobaO7Mby5fdUQVvtfbD6B0OrttDNRoQISU1/cJyTMlMWG Q83iMFIufV94vkAjSVr833CGLN7zn0AgQ/zscWn2dlegZULS8f8InbXUPhWwv0XeVAc6 z5dACbNYD5a1OKDofmZxNP0I2jKat/+EG9n3TX0JG6SpsEYlurBofStxxnxMNDnZMHd/ 49zie5ZVQ1oo7jdAomtUhbSXtLBfOAh7fm7DAYZ8q+x4/YFV4+ujjTfb75p0Vz/L3ePG NkfaTQKLP888j+++ILJYNRT4V85flrD20uOd+jQH3l/G9rjewENgI5byaJtqeKJ969Sm RlKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=rJTgY3pdESir2V2lRvZ1csC5QRdVFLdJ0mewmyEBZyI=; fh=DAAgJLf4s0smpgJqxZKr7c0el7KScJ0FbfhkC9eFTa4=; b=DIIPZH+AI4aQbDc+6ZrWzIbOEBQEJpDJnpXgcSoyWb2CgeQc6LRlK/JwIpmdAoiEMA vaz8CWgFPB4L8XKdgyI9SQXnw3GYPKHGg8gavjhfhytE9PO43S3t6XZKSrQW/dhlLBTA F1BNg/tzd9eiMPLnBzE+skOFHaxcbL6T/n1unQQcH8HPzOIaJYvV1S8kWzJTTp5R6ocs mvLFwCMSilKcrpAP8YAlxFYT1KM1LZk+EV8l6XOjBoTFUH/7ulEld0Y5HJcSHwz+AoDK fW5jwJeV1fYay+z7AL6qqyfFwI77iYe/uywyO87gAUuTsJ9D8cbXZo1qjqgqMQOMg3ya +Hhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id z22-20020a63ac56000000b0056aea4cc1c9si1904993pgn.653.2023.10.12.02.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 02:47:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 25598803F122; Thu, 12 Oct 2023 02:46:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235480AbjJLJqf (ORCPT <rfc822;rua109.linux@gmail.com> + 19 others); Thu, 12 Oct 2023 05:46:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232594AbjJLJqe (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 12 Oct 2023 05:46:34 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A089E91 for <linux-kernel@vger.kernel.org>; Thu, 12 Oct 2023 02:46:32 -0700 (PDT) Received: from dggpeml500002.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4S5l6f0SNhz9tG6; Thu, 12 Oct 2023 17:42:34 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by dggpeml500002.china.huawei.com (7.185.36.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Thu, 12 Oct 2023 17:46:30 +0800 From: Junhao He <hejunhao3@huawei.com> To: <suzuki.poulose@arm.com>, <james.clark@arm.com> CC: <coresight@lists.linaro.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <linuxarm@huawei.com>, <jonathan.cameron@huawei.com>, <yangyicong@huawei.com>, <prime.zeng@hisilicon.com>, <hejunhao3@huawei.com> Subject: [PATCH 0/3] Fixed some issues and cleanup of ultrasoc-smb Date: Thu, 12 Oct 2023 17:47:03 +0800 Message-ID: <20231012094706.21565-1-hejunhao3@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500002.china.huawei.com (7.185.36.158) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 12 Oct 2023 02:46:51 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779542579218396151 X-GMAIL-MSGID: 1779542579218396151 |
Series | Fixed some issues and cleanup of ultrasoc-smb | |
Message
hejunhao
Oct. 12, 2023, 9:47 a.m. UTC
Fix the two issues listed below and code cleanup a) Fixed the BUG of atomic-sleep b) Fixed uninitialized before use buf_hw_base Junhao He (3): coresight: ultrasoc-smb: fix sleep while close preempt in enable_smb coresight: ultrasoc-smb: simplify the code for check to_copy valid coresight: ultrasoc-smb: fix uninitialized before use buf_hw_base drivers/hwtracing/coresight/ultrasoc-smb.c | 49 +++++++++------------- drivers/hwtracing/coresight/ultrasoc-smb.h | 6 +-- 2 files changed, 23 insertions(+), 32 deletions(-)