Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1283889pxa; Thu, 13 Aug 2020 05:27:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLH6FX2aGQLUKJwJJvyermcFH75SwtyXOXlNRi+KdFbDxnZB7CZbRVZo/KP0cksXsf6RmN X-Received: by 2002:a05:6402:12c4:: with SMTP id k4mr4371008edx.358.1597321674401; Thu, 13 Aug 2020 05:27:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597321674; cv=none; d=google.com; s=arc-20160816; b=weNPzoYYE8X3TGNsuEmKPzgfC4rGZ+0QHn5BLiHru7JuJWxXzsb7Xo7WkDRBhFHUP0 XmKMmucekYiwC/SbL7pn4fSp3UhJSnqIvq1JybheF/4NceVMosrZ9K4lr4X0ruUQAiXy oScjI0h16ckQj6KAm62NmmClK7dbF+quZRZX+bqysopzXAt/3dTxmCi1PQkgbVdV9Uld 2wGYiX65BxyJvjWtOs/esOaz/w7M1BbsvRllGow7ShIaQ7w9vcyhLp6wQoZ6XDLiTDB/ E8fTLdsk1PQRFMreC5TXh84N3afno1nXBnwy5ok47CENKoGkjDgX/tHtpmpQ9lDef08v 2CoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=e41c5oYHqFyVyE7RzGdj+2oNjx9zrZ3d7b52Xcy+lRI=; b=jzmGVVNA4UGI7N0ALGVK+oxeDXfgtoyP/EHXwD3FWYMxuDnCKfu0mLpwXbT6oct0Zu 5aVWfAHZ1XGD39YmStairjF1cmkoqjW0BxoN0D4Vf5s0ZTwvT8Hn+1Sd/gK8X+RggL2e SRkpH3Ld7iGFvyS6VxXoXFlJSquuowW3PKT2zqpiari9J+7nq3DgA5ka3tYlFV7hZSPW aL4WGY8V8ZRCj2l9+DV8ZKROFR8JMkiZO3vaH8wqsBx4G/N1045bBVzILzkTWuPoyL0t FQQBhcTrfKlKVUPU9QnhFTYomgZBsAdilBwGc9NR437Q58zCCnfwHraLPBwYnopPEcys ZFiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GmWMcG+B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id oz27si3122291ejb.27.2020.08.13.05.27.30; Thu, 13 Aug 2020 05:27:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=GmWMcG+B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726531AbgHMM0F (ORCPT + 99 others); Thu, 13 Aug 2020 08:26:05 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:17825 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726100AbgHMM0E (ORCPT ); Thu, 13 Aug 2020 08:26:04 -0400 X-UUID: 9372ecbb5ab74080b5bf5f10feeba9a3-20200813 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=e41c5oYHqFyVyE7RzGdj+2oNjx9zrZ3d7b52Xcy+lRI=; b=GmWMcG+BIBGO22uTdBbkrn4zxhcIScGQV8kNkFh3aoyvpEBcuhLidVJYbbOhI7ChlNj7U0MR6x8qdXG3THfdCkFhm7VpvhPJEMlezo1v5OQOoERcGV2c9B+IZGSLTcjzEh7wEH6hX8AF+hKfpd2LTpG5oADKtYgSGq3d9Cca9V0=; X-UUID: 9372ecbb5ab74080b5bf5f10feeba9a3-20200813 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 316300702; Thu, 13 Aug 2020 20:25:58 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 13 Aug 2020 20:25:54 +0800 Received: from [172.21.84.99] (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 13 Aug 2020 20:25:54 +0800 Message-ID: <1597321556.9999.27.camel@mtksdccf07> Subject: Re: [PATCH 1/5] timer: kasan: record and print timer stack From: Walter Wu To: Thomas Gleixner CC: Andrey Ryabinin , Alexander Potapenko , Dmitry Vyukov , Matthias Brugger , John Stultz , "Stephen Boyd" , Andrew Morton , , , , , wsd_upstream , Date: Thu, 13 Aug 2020 20:25:56 +0800 In-Reply-To: <87d03ulqbp.fsf@nanos.tec.linutronix.de> References: <20200810072313.529-1-walter-zh.wu@mediatek.com> <87d03ulqbp.fsf@nanos.tec.linutronix.de> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 6EB2F04DEDD30544E1EE481F458926A2139F49991264C64715B53AF6C629549C2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDIwLTA4LTEzIGF0IDEzO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