Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1298592pxa; Thu, 13 Aug 2020 05:50:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzkykCfpNK/JOk6vccHBaDuWxjOlDp4olp7mx73sQG7ePcGikutONGSsVEhSKj0uMMHUG2x X-Received: by 2002:a17:906:c7d2:: with SMTP id dc18mr1021646ejb.135.1597323021742; Thu, 13 Aug 2020 05:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597323021; cv=none; d=google.com; s=arc-20160816; b=rgCLnKnNGfWYCQYy6gwc4iO7PMikAWBNY7ysDBSnDWx/aFnpnMp4iRpUu0GdgL9S0a p48ZFWqLgZzbxRDBP0qU80AA+6Qy4+9umBcALIYWB8XQjSyufE9JCwMDe3M1TjbHQF38 fARpq4yh9Gi6wgC3TMc5/fEmsS5jDjYjE/zvJfummo0W3zBpdpWgB+9vJ54YWxZ8REc0 JrKRfA1oIu3H4U4XygsPDayo9lnfNnLkvwYKVuXUnbAKelmw/7I2IHi03zIJkzXUleCV xm3WP0cIUlGB3+bOnVhDuwL1pujvwVZUodbgTrcs8U/LEBZoyDfgUCT6YeYGo4jMmaLt jgug== 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=aaE6HcSMNBLCW8HhXQtINfxBXNzqkMSqUtGQrGAVPSM=; b=Wpn+T5Y0j/U2MDLD09iAwNCjS6d/5l7I7WgEP7IHSSGFb6hzxBUUH1kCf4OBaWMZtv E1HzMgxKzKSoYWBqP3f0g9ZNFP08PeeKGWXi/nHvthhrjalCxb6+h7t+Bslg3f1DceKs Ma2njhAwPEJdUVDc8VbRyKr1dsRftxNEXIz0aNWmSp1Cq/z1nMeUDbmmaUrasETe3Oig kJiAWA5VJ5CsIStry+rRG6h0yk5mm1xeliBnGEk3b07Mp3c8UjA6wFi8gUiMkhrEVe0Y UjFxZhKV7NXiYZcJ+oYefD15KCrWDCaBe6jMTwrdszW0wtrWbtapst49IY6g4/8Z/1+N Ukyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=BOIL1Rth; 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 n2si3136409edy.473.2020.08.13.05.49.59; Thu, 13 Aug 2020 05:50:21 -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=BOIL1Rth; 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 S1726334AbgHMMtP (ORCPT + 99 others); Thu, 13 Aug 2020 08:49:15 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45107 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726658AbgHMMtE (ORCPT ); Thu, 13 Aug 2020 08:49:04 -0400 X-UUID: f4c7400723df461b99ba43db2a1c039f-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=aaE6HcSMNBLCW8HhXQtINfxBXNzqkMSqUtGQrGAVPSM=; b=BOIL1Rthkq9dh/cIjPy+2394BryYEPZfVPl/p+WsDexLcm3qgQzNuBPsL0vAbg37mWo9/dLo2BbPnRGsW8DFgSdQLfM7yeckhVTy/TqVPueTsFo02M+ubzkfdnErZR0RGBMNia4m2X8yPfKS1hN2oImOc4oPWc9W6sKsqNaEzNA=; X-UUID: f4c7400723df461b99ba43db2a1c039f-20200813 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 388844126; Thu, 13 Aug 2020 20:48:58 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs01n1.mediatek.inc (172.21.101.68) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 13 Aug 2020 20:48:55 +0800 Received: from [172.21.84.99] (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 13 Aug 2020 20:48:57 +0800 Message-ID: <1597322937.9999.42.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:48:57 +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-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 SGkgVGhvbWFzLA0KDQpQbGVhc2UgaWdub3JlIG15IHByZXZpb3VzIG1haWwuIFRoYW5rcy4NCg0K DQpPbiBUaHUsIDIwMjAtMDgtMTMgYXQgMTM6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