Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp4057502ybh; Tue, 6 Aug 2019 05:42:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxVTsjCpsFtBtwr2dox3YDQidoJcnRLcUA0rBA8/rZhazyC4zDBTxbr/y7xxJd60vNUq/IW X-Received: by 2002:a63:e44b:: with SMTP id i11mr2799106pgk.297.1565095361274; Tue, 06 Aug 2019 05:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565095361; cv=none; d=google.com; s=arc-20160816; b=vhY82zUuxfuKkVGQh7xnuXScdlGIQAhHGCyzmHNtB1mENnNIxApHtlIef+Zhfpu8kY dAJh9xk4NmpLgFUzU1YT2ChPkL6g0WTOtuDpSmg0hufDB4jkn8uJ0M9Yxq4yHLu2Q5BL ZHSft/TS2vdZn3X5YZLVIq+2arOv6zQ4i+IraooUYh1hsStDwa/84uQ0etTXt4UmGdcx xMvc0APrTTxNMLonsfQ/V8wIZWLQvVIo9uGQJ+d8Q4xalFodKlfRemZMgpsgBtGO8S4b 7COLfpw9f+xoC6s17BArIz0D08JFiLXzftqcd8jnpDphKRZ28q1rNXtF84tSwdi61oU2 Tl6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=u3j7GHBDsYZqcSC8c4X3v5Uqt8dzZQfTUO2AFNMReDw=; b=DmTtkWsE0AnkkqZnbZUzKWXNy8BRMeaUF0jHjiaFb2CmpBy7tLeOKM2f33FI3ZpLCi XuzxgtfP7hXF2X2WN5CBGLxasq54lkkzKJ+I+Mybkpjf7NHmBzHqm5zAxzfC9JnFpYPK arCh0o7b1i0Jf70p+0pK3f0aUGnrRLre/omr9irWdpfVLcQfmPtKFMeE1eyKxLyOodq0 8OQexArC4eA6lBbcM3Kom4T9+/Rq+u6XnLYkcz3Wfr3ALkeNRmW17UnBkBgn7dgKodCt 8oQv4y5xbSuxkeHPudX2Q8+WTLmuvpzdIyRsPW8DFhA2gx/PKgB46Sf98kAnAfcoFQtz VAMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FQiOlIKS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si3336029pgp.507.2019.08.06.05.42.25; Tue, 06 Aug 2019 05:42:41 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FQiOlIKS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731325AbfHFMlb (ORCPT + 99 others); Tue, 6 Aug 2019 08:41:31 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:46037 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726036AbfHFMlb (ORCPT ); Tue, 6 Aug 2019 08:41:31 -0400 Received: by mail-qk1-f193.google.com with SMTP id s22so62772669qkj.12 for ; Tue, 06 Aug 2019 05:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=u3j7GHBDsYZqcSC8c4X3v5Uqt8dzZQfTUO2AFNMReDw=; b=FQiOlIKSS0eD3TNtMvXsXdQcFHSPt4S2/O13HOgIQF3BBpPJEmNhphRaVESxB+/v5C 5qBKNPqAnIj4ckp9pVzB+X1YH4IRmRsnQakvc4frqPJDe7skXyviwbRSZdePcurXFtit oxjolhSUD1cakBBxKrDx9RBqbke20Mi49ynO9U1QqWWooGBS+MUZ4xFkbDqU2yxb3HO7 BW5iBjS+8k/QajGvHuy8V6TrXCrTBwVpUmgqImFyVQbjhHfT0WTImxnJ9vTxADZIzNNq Cy7g42vqtxjAzrmfVgDuIjTO2G7d0JJDjSEgJkcLFpRLqwPKzhWyLFG20xWlOKi1pa5M Y+1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=u3j7GHBDsYZqcSC8c4X3v5Uqt8dzZQfTUO2AFNMReDw=; b=sKLgS6CDTs4AuzQm40RU2k4/iPrd42BsCEo4WKvjxequ4D/y+TSp2otsnkNIyEz+gH xvwFyD8NU/TmRACE+OgFrTAJ/VkfA5x5Vvw7yR/Ks9Q0ENmGW0AGbAfjXcZjUkB9nX0p VP/jkP0gaGpYvYkR6ad4HUV4ODp4q5s1cmN5/2qjX3cx5H+SDhRnOo2z9NYQHyqN6/+C w93nD5vY+naqUN7sPFKNSMexT0viJarOrxddr9EVI4oynK0sp9l7/zxQTBtLchOAuOWs QRhDIwR5uYAja1jMmT6bji0mTfA9s9rLhKBBEs/RTeDDO2DvujMbo4jJLYaW3zhZj029 XJhg== X-Gm-Message-State: APjAAAV4NZMG1hVBDO+n0M+yk8KsrlFl0eHUrrABrVyzxC0OuJnbVGgx q+YLGP0/+62IORIPF8BDgF+Tn3KVxQq5j7LDgqU= X-Received: by 2002:a37:9a0b:: with SMTP id c11mr3085312qke.204.1565095290395; Tue, 06 Aug 2019 05:41:30 -0700 (PDT) MIME-Version: 1.0 References: <20190806030718.29048-1-luaraneda@gmail.com> <20190806030718.29048-2-luaraneda@gmail.com> <17a45e21-8362-e888-d222-812c879a38a8@xilinx.com> In-Reply-To: <17a45e21-8362-e888-d222-812c879a38a8@xilinx.com> From: Luis Araneda Date: Tue, 6 Aug 2019 08:40:37 -0400 Message-ID: Subject: Re: [PATCH 1/2] ARM: zynq: support smp in thumb mode To: Michal Simek Cc: Russell King , linux-arm-kernel , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Tue, Aug 6, 2019 at 2:39 AM Michal Simek wrote: > > On 06. 08. 19 5:07, Luis Araneda wrote: > > Add .arm directive to headsmp.S to ensure that the > > CPU starts in 32-bit ARM mode and the correct code > > size is copied on smp bring-up > > > > Additionally, start secondary CPUs on secondary_startup_arm > > to automatically switch from ARM to thumb on a thumb kernel [...] > > It is really a question if this should go to stable tree. It is pretty > much new feature. > Will be good to also add link to similar patch for example this one > 5616f36713ea77f57ae908bf2fef641364403c9f. Ok, I'm dropping stable from CC. From the previous comments, I thought that the two patches were part of the same fix, but now I realized this is a feature rather than a fix. Michal, do you want a new version with the link to the similar patch or would you take it in its current form? Thanks, Luis Araneda.