Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2287013imm; Thu, 7 Jun 2018 08:13:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLf9h8Vu1e3Z+DGo0E1MGpVtFk8ZO34Ke0y92Uu0/3MxKQnDsE7sIs10+D4dtViEyh5hGgU X-Received: by 2002:a65:654a:: with SMTP id a10-v6mr1906167pgw.107.1528384386840; Thu, 07 Jun 2018 08:13:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528384386; cv=none; d=google.com; s=arc-20160816; b=UVt6AEHzvT1b/Ts4AHNsuNLflq/spX0YYTj3Rq6bPeWSYowjmh0Aq6C4Ox0/+YOpHI 2MBvg4RMe5i2WI0gLdVAfkRPW5r5r4cuuWFxyV8NUocrgi9Wp1Zgwpg9ITC9/UC0cO3M 8gm1yUbnl4vv3tshoJ5gPh2GC9p0a4dRlqinQ5bpSBEqbp59sncHrqWecxKl1YoYcjbD 5oeHWzlXubWM5B8BtFY77PJPa5g6r4u/VbSuKdw/SsDPL5kJ21AFQfBGvfgrXPd1xzE+ RC6iW45ZpJ4mikrU6D2jkG/vFF5NuuEBpgpKihHXY3P/vK2O/U5cQ/x3V4jePT97Da1I QPgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=ZP2MA6UrpdYl8zK/h9XJuuqrwaI+iLvaE+U1/ugqPIc=; b=wNhiI2uz6aKM6j71fEk5noc/zIdAzChEZSAmE97GckNc5cSXgcRHxxGzqi/kIgt5ur HISzEIn4obcBRZxsK4PGFBab/lAkx/QOOOkbArQdgMVwSXBmno+p/GYS2/qQexJlma4h e+hSsKq7TczCn8lr1SOKRYxBpNC3+/iYUvDddskD0hWOibu4hljIwMqTOz7vRz2HxLKg jZWgmdIHG/ZaMGCfv5SZyHNM8x02jr+cWG4ClAHG1+tRS20dT7sBzN74hofpsOpEWdXQ mRu1Yv/xTIz0ElEg5YmxaYxTZzR+XCTvMfKIw9ngRi3w3DBM20truLdClP2Jko2x+0gp jOLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12-v6si44983484pgs.560.2018.06.07.08.12.52; Thu, 07 Jun 2018 08:13:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935788AbeFGPKp (ORCPT + 99 others); Thu, 7 Jun 2018 11:10:45 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:41481 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965016AbeFGPDH (ORCPT ); Thu, 7 Jun 2018 11:03:07 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbV-0005hL-SR; Thu, 07 Jun 2018 15:09:30 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvbA-0003AU-SV; Thu, 07 Jun 2018 15:09:08 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Boris Ostrovsky" , "Michal Suchanek" , "David Vrabel" , "Stefano Stabellini" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 310/410] xen/arm: Define xen_arch_suspend() In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Boris Ostrovsky commit ffb7dbed47da6ac4460b606a3feee295bbe4d9e2 upstream. Commit 2b953a5e994c ("xen: Suspend ticks on all CPUs during suspend") introduced xen_arch_suspend() routine but did so only for x86, breaking ARM builds. We need to add it to ARM as well. Signed-off-by: Boris Ostrovsky Reported-by: Michal Suchanek Tested-by: Stefano Stabellini Signed-off-by: David Vrabel Signed-off-by: Ben Hutchings --- arch/arm/xen/enlighten.c | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen/enlighten.c @@ -344,6 +344,7 @@ void xen_arch_pre_suspend(void) { } void xen_arch_post_suspend(int suspend_cancelled) { } void xen_timer_resume(void) { } void xen_arch_resume(void) { } +void xen_arch_suspend(void) { } /* In the hypervisor.S file. */