From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Morse Subject: Re: [PATCH] PM / Hibernate: Don't let kasan instrument snapshot.c Date: Wed, 15 Jun 2016 11:25:18 +0100 Message-ID: <57612D0E.5050209@arm.com> References: <1464870032-12289-1-git-send-email-james.morse@arm.com> <7230305.BYjCFel4WC@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from foss.arm.com ([217.140.101.70]:36252 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932356AbcFOK1g (ORCPT ); Wed, 15 Jun 2016 06:27:36 -0400 In-Reply-To: <7230305.BYjCFel4WC@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Catalin Marinas , Pavel Machek Hi Rafael, On 15/06/16 00:26, Rafael J. Wysocki wrote: > Does the arch code need to be annotated in a similar way too? Only if you do the restore copying from C, both 32bit and 64bit x86 do this copy in assembly code, which doesn't get instrumented. Thanks, James From mboxrd@z Thu Jan 1 00:00:00 1970 From: james.morse@arm.com (James Morse) Date: Wed, 15 Jun 2016 11:25:18 +0100 Subject: [PATCH] PM / Hibernate: Don't let kasan instrument snapshot.c In-Reply-To: <7230305.BYjCFel4WC@vostro.rjw.lan> References: <1464870032-12289-1-git-send-email-james.morse@arm.com> <7230305.BYjCFel4WC@vostro.rjw.lan> Message-ID: <57612D0E.5050209@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Rafael, On 15/06/16 00:26, Rafael J. Wysocki wrote: > Does the arch code need to be annotated in a similar way too? Only if you do the restore copying from C, both 32bit and 64bit x86 do this copy in assembly code, which doesn't get instrumented. Thanks, James