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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 092B4C64EC4 for ; Mon, 6 Mar 2023 16:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8+tQJuh5CisfFf7u7Ft4ZrjA8eV7gufE6azhP0lwMGo=; b=oX+i5jAk3DvzQS DCxRd6TNSw2YWH+0islnD7ZOd3f8bromLUX3jsq37VC62CB54b8YNFIOQzo8eQ1EYMYTnrxn/XJsy tm/YazSie6PnZms5f4fTjX1Y+MK6BCQYP4Z8oLlvtYWi450PIRVt6dYrqeOyzNjDhC9dIwatc65fW /zXUd12ZZo4Lq3BH09gOLj3vpPhlnmIeCFaySWkOj9cN96ZiuteJygtnUcAlpd5Do44h6c0BFTB6W zpzixA3r8GuY2CG9KEXHwlnSJG51UzvItMFvSY6Y/A2iMuyANG7USN0Sd4ZEbuljP9ZAtJE5U0SDX wuthfMQ8KoAnlRRXgvUA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZE94-00E1MJ-Pz; Mon, 06 Mar 2023 16:57:06 +0000 Received: from linux.microsoft.com ([13.77.154.182]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZE90-00E1Kv-Ur for linux-arm-kernel@lists.infradead.org; Mon, 06 Mar 2023 16:57:04 +0000 Received: from [192.168.254.32] (unknown [47.187.203.192]) by linux.microsoft.com (Postfix) with ESMTPSA id 985FA205749B; Mon, 6 Mar 2023 08:57:01 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 985FA205749B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1678121822; bh=i6l9g1ghHiwdY5t9KntYL9655PJdj/oTf5R90V8m63k=; h=Date:Subject:To:References:From:In-Reply-To:From; b=nPVOWCj+I7dKE2js3uhg45Vt7ZVHUntccn8shQ0DZg2Gq9JbtCZYAJhKppUNX5thC rCbTc2DWMWDW42tnS56iErm35CnJqfGBR2dCjrUNX5+ZhY74r86M/DdDWqDJiPrQYK Z/MuQ5PyBo2S1V5CyHxFS5ArMCZX9+sLmP8ZFKfk= Message-ID: Date: Mon, 6 Mar 2023 10:57:00 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [RFC PATCH v3 00/22] arm64: livepatch: Use ORC for dynamic frame pointer validation Content-Language: en-US To: "Tomohiro Misono (Fujitsu)" , "jpoimboe@redhat.com" , "peterz@infradead.org" , "chenzhongjin@huawei.com" , "mark.rutland@arm.com" , "broonie@kernel.org" , "Keiya Nobuta (Fujitsu)" , "sjitindarsingh@gmail.com" , "catalin.marinas@arm.com" , "will@kernel.org" , "jamorris@linux.microsoft.com" , "linux-arm-kernel@lists.infradead.org" , "live-patching@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <0337266cf19f4c98388e3f6d09f590d9de258dc7> <20230202074036.507249-1-madvenka@linux.microsoft.com> From: "Madhavan T. Venkataraman" In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230306_085703_088856_83E165C1 X-CRM114-Status: GOOD ( 16.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/28/23 21:12, Tomohiro Misono (Fujitsu) wrote: > >> Testing >> ======= >> >> - I have run all of the livepatch selftests successfully. I have written a >> couple of extra selftests myself which I will be posting separately > Hi, > > What test configuration/environment you are using for test? > When I tried kselftest with fedora based config on VM, I got errors > because livepatch transition won't finish until signal is sent > (i.e. it takes 15s for every transition). > Sorry for not responding earlier. I was out sick. I tested on a bare metal system (thunderx) running Ubuntu. I will try to reproduce the error you are seeing on a VM running fedora. Madhavan > [excerpt from test result] > ``` > $ sudo ./test-livepatch.sh > TEST: basic function patching ... not ok > > --- expected > +++ result > @@ -2,11 +2,13 @@ > livepatch: enabling patch 'test_klp_livepatch' > livepatch: 'test_klp_livepatch': initializing patching transition > livepatch: 'test_klp_livepatch': starting patching transition > +livepatch: signaling remaining tasks > livepatch: 'test_klp_livepatch': completing patching transition > ``` > > Thanks, > Tomohiro > >> >> - I have a test driver to induce a NULL pointer exception to make sure >> that unwinding through exception handlers is reliable. >> >> - I use the test driver to create a timer to make sure that unwinding through >> the timer IRQ is reliable. >> >> - I call the unwinder from different places during boot to make sure that >> the unwinding in each of those cases is reliable. >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel