Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp7119743yba; Thu, 2 May 2019 04:43:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqw2Re6BwYO1a4nNMJsRdy/ihhb/h2yKsalEguPWtrm7zMpMC1h3MBRhm18N8pq+Uz+zOP1x X-Received: by 2002:a63:d10:: with SMTP id c16mr3444820pgl.156.1556797412322; Thu, 02 May 2019 04:43:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556797412; cv=none; d=google.com; s=arc-20160816; b=tudhLbUpODBpTrXYzNx7HnxkDHj3644sOXeRBiZRW+vwNc7Fiu80EWJLBBZOC46/PZ cd3kcdjfHolj54ueuwMHcToZc2Xb9QEEHxqYotcaMvVA+Ot0DRUFHyZTi4ucYU8fFfw3 KhAP2Xdme8K4OsLuKDPbK2roPudgCt2DKzCxR69qxq9/Sxi6FjmEcXhfM3gsf7TeAhoZ TfIRWAdZNjjG6RY9BpdM+fVu6rdvESrh8TmnIrlZcn+HRaClrlXa4u9W1VoXTp93ezye ioDqjXiUfqPetFeRz8iulby+0dBPTsI6yQ+2GZ6VXnXxuE6Qthfsf+9F9OClJKb6QDzQ V2Lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=6kkvLGtMcUTDBNlbzr4+8CycE6eYevuO+3m220yf7MA=; b=TjBuIX+FMSJ6fRxle51R91Y0YzErY8oMXAMePqDqADA5I1k9YdURfeVkDQH/oaIRVA Pxc3X+kflRKQwe44mn5N3WI0EKJj1k0KaUx/RUHoAK2WQG2Ywi3S5QZwy4enMq/7+IOF SSJBwTl4QRtauBvQtj7sgFcu5kkpcEEjriYgfAKlb4AE6Q0tfvXr8dnxcbEFtUeb/F5S rsUA6cgbGnbdq69fOGWRPfiAnA0qLLZtYebU3//Ijsngcml44kimzIIVvZjlV9LSrohf iExgDlatbwdqeo+1EmZc1L9Jdd283MngqershBKbpR2IFT3+o8sXEa8NDcEItMWo0C6V wkdA== 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 d30si47237689pld.342.2019.05.02.04.43.17; Thu, 02 May 2019 04:43:32 -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 S1726353AbfEBLmW (ORCPT + 99 others); Thu, 2 May 2019 07:42:22 -0400 Received: from mx2.suse.de ([195.135.220.15]:49786 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726189AbfEBLmW (ORCPT ); Thu, 2 May 2019 07:42:22 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 3B850AE92; Thu, 2 May 2019 11:42:21 +0000 (UTC) Date: Thu, 2 May 2019 13:42:20 +0200 (CEST) From: Miroslav Benes To: "Tobin C. Harding" cc: Josh Poimboeuf , Jiri Kosina , Petr Mladek , Greg Kroah-Hartman , "Rafael J. Wysocki" , Joe Lawrence , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 0/5] kobject: Add and use init predicate In-Reply-To: <20190502023142.20139-1-tobin@kernel.org> Message-ID: References: <20190502023142.20139-1-tobin@kernel.org> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Testing > ------- > > Kernel build configuration > > $ egrep LIVEPATCH .config > CONFIG_HAVE_LIVEPATCH=y > CONFIG_LIVEPATCH=y > CONFIG_TEST_LIVEPATCH=m > > $ egrep FTRACE .config > CONFIG_KPROBES_ON_FTRACE=y > CONFIG_HAVE_KPROBES_ON_FTRACE=y > CONFIG_HAVE_DYNAMIC_FTRACE=y > CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y > CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y > CONFIG_FTRACE=y > CONFIG_FTRACE_SYSCALLS=y > CONFIG_DYNAMIC_FTRACE=y > CONFIG_DYNAMIC_FTRACE_WITH_REGS=y > CONFIG_FTRACE_MCOUNT_RECORD=y > # CONFIG_FTRACE_STARTUP_TEST is not set > > Builds fine but doesn't boot in Qemu. I've never run dynamic Ftrace, it > appears to crash during this. Was hoping to run the livepatch tests but > not sure how to at this moment. Is dynamic Ftrace and livepatch testing > something that can even be done in a VM or do I need to do this or > baremetal? It definitely should work in VM/qemu. We use it like that all the time. Miroslav