Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5934562ybi; Wed, 12 Jun 2019 10:59:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlGuZsBCKbz7inm3f+kN5wf5VF2myFGO6jeKHdlAQn92qXbLq0+f2E9wluFwvTWdMi5aLU X-Received: by 2002:a63:d407:: with SMTP id a7mr978976pgh.113.1560362354093; Wed, 12 Jun 2019 10:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560362354; cv=none; d=google.com; s=arc-20160816; b=abDrPRb4nGhvrM8x2uDaSHZV16ecr8cJSdVLq/CQ8bT9WefMi/G7o7TJYYNckTY3hW oswESMTq+stT4vhzZi18IJmqhuWXlo9R0dk1FLPbvtucSlWycdJW2L/W+mxCZmvVvc/s pNerXQa+z3OrKD433XumQJFppiGtkMXvObe6Q5tuIbBPBJrn8mk9tvlVUqsp7GGOMDTP 3WTeOMOd+Q3yrKfs0qyQKGShE9Hz/pqilp+e30QnsIvoc29Qdwhe0Eqdj3SSHV+o/ixc KYTq1Id636/i70X2bCmHPW3n67mKlEtcffmy6S2Xq5XryEPfyq+vHtFUidhEftL4CMjF ZC2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=PTcG9fvp6K41KfyYlrHWOyEZoG6u8G1vqh0W+fYfF1E=; b=rrn8tqz4om+pBk8i7f9rQxTv3JtChIccpBFpqDO36LjalXya60WNh7HQWq8ux9e+1m uPE8u1+Od6N88osw8WWwDhu4sCEf/QtqvUdptaNevcwySGqYqzFxpV20PvoPrt1qoE6F vevvbxm7WjZZNWdsCg4KqUybBXKPr9WsnTj0+k00teMeOyh+5DadQ9Bouz5Hnv4XN8Ed oJJ99ZnfKqbBMwLhK2MDYiv3yQGzy25pnPXPGWqupgR4YaEROPDHFHDD4AgppvLOIdJJ SR78rNuKMIcGuqega+YOYHRN1TTFqdvHMmTtnxTRUAr1fGQ4BY+w7UlRVLhKf2hOaFtG M9gQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q8si376784pfc.155.2019.06.12.10.58.59; Wed, 12 Jun 2019 10:59:14 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436743AbfFLNpv (ORCPT + 99 others); Wed, 12 Jun 2019 09:45:51 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34366 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726098AbfFLNpv (ORCPT ); Wed, 12 Jun 2019 09:45:51 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5CDiR8S089738 for ; Wed, 12 Jun 2019 09:45:50 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0a-001b2d01.pphosted.com with ESMTP id 2t313fveqg-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 Jun 2019 09:45:40 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 12 Jun 2019 14:42:02 +0100 Received: from b06avi18626390.portsmouth.uk.ibm.com (9.149.26.192) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 12 Jun 2019 14:42:00 +0100 Received: from b06wcsmtp001.portsmouth.uk.ibm.com (b06wcsmtp001.portsmouth.uk.ibm.com [9.149.105.160]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x5CDfq6736700532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 12 Jun 2019 13:41:52 GMT Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0E7DDA405C; Wed, 12 Jun 2019 13:41:59 +0000 (GMT) Received: from b06wcsmtp001.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C4334A405F; Wed, 12 Jun 2019 13:41:56 +0000 (GMT) Received: from JAVRIS.in.ibm.com (unknown [9.85.88.130]) by b06wcsmtp001.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Wed, 12 Jun 2019 13:41:56 +0000 (GMT) Date: Wed, 12 Jun 2019 19:11:53 +0530 From: Kamalesh Babulal To: Miroslav Benes Cc: jpoimboe@redhat.com, jikos@kernel.org, pmladek@suse.com, joe.lawrence@redhat.com, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 2/3] Revert "livepatch: Remove reliable stacktrace check in klp_try_switch_task()" References: <20190611141320.25359-1-mbenes@suse.cz> <20190611141320.25359-3-mbenes@suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190611141320.25359-3-mbenes@suse.cz> User-Agent: Mutt/1.11.3 (2019-02-01) X-TM-AS-GCONF: 00 x-cbid: 19061213-0008-0000-0000-000002F3200B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19061213-0009-0000-0000-00002260220C Message-Id: <20190612134153.GB8298@JAVRIS.in.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-06-12_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=972 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1906120093 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 11, 2019 at 04:13:19PM +0200, Miroslav Benes wrote: > This reverts commit 1d98a69e5cef3aeb68bcefab0e67e342d6bb4dad. Commit > 31adf2308f33 ("livepatch: Convert error about unsupported reliable > stacktrace into a warning") weakened the enforcement for architectures > to have reliable stack traces support. The system only warns now about > it. > > It only makes sense to reintroduce the compile time checking in > klp_try_switch_task() again and bail out early. > > Signed-off-by: Miroslav Benes Reviewed-by: Kamalesh Babulal