Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1171224yba; Thu, 9 May 2019 11:56:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXTiYyT0GAVtAiFTE32ePbwdPOiA1BHukMttH4WH7KGekJyKTsgEQ1ie4cbNtu7SYObZ9+ X-Received: by 2002:aa7:8d89:: with SMTP id i9mr7742092pfr.77.1557428214238; Thu, 09 May 2019 11:56:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557428214; cv=none; d=google.com; s=arc-20160816; b=xL4e2qbupOQJgronfTeKdqNKvsqxxSzZ9BnvYFyPnqiCdBunz3T6Ke1wtOmB0axXvO PPgRJZKdsus28GMBRllnb9xP17vfJWYdMz2SNIMQ1+4RVgBmdMqN/FrxCNa5sfqheCcX JosmkzBJDokkYqNCp7bl9k7vUPGRx3ItxtDXmWMQ2skRWZNoYjL5/5RR6ijlDIOeAL0t wruqspLTfS6PSmVbgK8WeLRkXmIrW3A5Ljl8G9LNgKU4Ee8eJ0vK/Vm/blkFFX/HnL0Z tGoEtKr6ACGbf1dEy0/Tkh9yVRjToC9i41dt6UN8GBEy41iZujAOYimxGz5Ybwj4Z8bx aqXA== 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=4JFPFXVDH7pJ9CJTfoL2qJ+K7zcKHZ5roJuaHINr0fU=; b=EjShwS8t/QN71YFA3UyHTnj/UpobzjSB9QqVkBDmK4SJZckJ9tH/rz9lGEFzlA7Ot3 Afr6d4mVhUBK4oRDMhVRk6/KbPCBpYskJ3hraYbHg4Y6XpgTvQFIh5CmrH/Z6eiiXZ/t oIpdDtFC7XLD/7E/HuqgO5YntDlqRZ7uJaAP0nGt8ni6DotfcYVKixyBCKx5mIffyh3j 5tVHWdDcJxdnH7yeGZnwwRKkGe18Fxcu5s53PHaIB7lIe9H8/zwsTQmZDrYS/BQP+suR UEMRSMoTQgZYyzCATnB4h/M9Rqm0wK7g09AYZcV+K5IzyqQ8bAXHIHg+JcKou57PP8+r X8Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VkBo2kat; 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 s1si4187879pgj.114.2019.05.09.11.56.37; Thu, 09 May 2019 11:56:54 -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=VkBo2kat; 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 S1729270AbfEISzp (ORCPT + 99 others); Thu, 9 May 2019 14:55:45 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:40329 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728067AbfEISzn (ORCPT ); Thu, 9 May 2019 14:55:43 -0400 Received: by mail-yw1-f67.google.com with SMTP id 18so2699857ywe.7; Thu, 09 May 2019 11:55:43 -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=4JFPFXVDH7pJ9CJTfoL2qJ+K7zcKHZ5roJuaHINr0fU=; b=VkBo2kat9T4exVnlUA1bHK14ozicDJbZ7bEF/zNTVnMg+kDzu1jvmAWAkbD0Hyr+kr dxeWekWbRiXvQtRC+ezW0VrSfDxmTqS5rVLLXtgQWs6YYHfDjrGOw0ORNZCkfyho8D/0 203ElUp4T/6HItf2fiinS4NkeaOj59/tYEbBnIxv3DOablRikKYSKZ9AMNFo1AwK0TYd 5PpgWFvp2hu9+eTd9mO7KKHMNKi1iyp5lnTTyv0b/Ig5nrVmCdnKM2NF0hJgQWFdMrGo cd20NCP8uCgeAlj3PCgBGmHSovzlODFAkM/zwIcAHqiCyKNpBrq6hcLQJDf0fFSmu2Xj pIqA== 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=4JFPFXVDH7pJ9CJTfoL2qJ+K7zcKHZ5roJuaHINr0fU=; b=KBYgJ+GCkAyVtQ29NDt4VSVZfiJbwf0RKrs9RQfaMLFot/S3riS1blQt1A+dDCnep9 X9N9N5VHEqgBTnIeV3eW9sM0wF7pYkPI41i5lJh8fy8C2SoJPm4GDwtuzgr8lQpuNxuL o39i5HZRLIuJH0IjgRKtpw0FAApNJkZ1KKa9j8Zj/0czkrG+NCtiv9XvKIoBQLqbNDkI pC9dw8uE5eldey/LzFZD0Ld6cpqDHKcyPF4kgnMf8JutyZjrsHuIHKNcbOinqdkeeuvL 7lpGnhUpLt95y2hT5X3hCw6wYSJkiSdoLjqMuqOIQ8rgxKxY6lgXVo+jjcWL1Igv7xTK 0ozg== X-Gm-Message-State: APjAAAW2lHJShkn0Nk0X75pt2lFWjwjrLUQbbzNa4BDwcCqgOk0JEeoI dgk9qu0QwYuGh0akw2lOalkRbA9wmU2mGFP3PR4= X-Received: by 2002:a0d:d7d0:: with SMTP id z199mr3300615ywd.468.1557428143045; Thu, 09 May 2019 11:55:43 -0700 (PDT) MIME-Version: 1.0 References: <20190509181301.719249738@linuxfoundation.org> <20190509181305.327667203@linuxfoundation.org> In-Reply-To: <20190509181305.327667203@linuxfoundation.org> From: Max Filippov Date: Thu, 9 May 2019 11:55:31 -0700 Message-ID: Subject: Re: [PATCH 4.19 32/66] xtensa: fix initialization of pt_regs::syscall in start_thread To: Greg Kroah-Hartman Cc: LKML , stable@vger.kernel.org, Sasha Levin 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 Hello, On Thu, May 9, 2019 at 11:48 AM Greg Kroah-Hartman wrote: > > [ Upstream commit 2663147dc7465cb29040a05cc4286fdd839978b5 ] > > New pt_regs should indicate that there's no syscall, not that there's > syscall #0. While at it wrap macro body in do/while and parenthesize > macro arguments. > > Signed-off-by: Max Filippov > Signed-off-by: Sasha Levin > --- > arch/xtensa/include/asm/processor.h | 21 ++++++++++++--------- > 1 file changed, 12 insertions(+), 9 deletions(-) This patch should not be taken to any of the stable trees, except maybe 5.0.y, because NO_SYSCALL was introduced to arch/xtensa in 5.0. This patch doesn't have any cc:stable tags, I'm curious why was it chosen for stable and what can I do to prevent that in the future? -- Thanks. -- Max