Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp809656rwr; Wed, 19 Apr 2023 13:29:03 -0700 (PDT) X-Google-Smtp-Source: AKy350adGAZD5ohEYxVamdYNF2ApRbZSPWqyELt3F9hr9qcU3/05c6c3Hamm+owgGcIDkYXN4SFm X-Received: by 2002:a05:6a20:734c:b0:f0:e574:d865 with SMTP id v12-20020a056a20734c00b000f0e574d865mr6276464pzc.12.1681936143631; Wed, 19 Apr 2023 13:29:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681936143; cv=none; d=google.com; s=arc-20160816; b=lniFIZTBTF+ZrevT3c4bpvXsSQM1O5Los7Wv6cHwJMkqPM2VT20fnWE5+A6mmOvMv4 CwcSWd4iOYWILndNRtsuIukOqvfy6JFIxsFVvLDx8mNuvCvQu8/UZID95tguFMTJwEIw 7wMrrf2omCQsE0r8GzvV0F/Onu1AQaUGnUVzx2UV1EBRvfdTeGMdMK7RnzfsA8Z1kBkr eugY+YD7XmP5CSe9zd26N6XvxxdTHOCHhUv+/GDIpU1K4HFiQ0cjaTVQavnjAbYiomJ9 wOwrJHsI4i4kuIdRsdThsnSH05kbVwWkVRzmAjIfFKvQ6bC0vyv0tm4Evb06v0qdBxvu xY6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=ZDVkBZEcchpCDnJPndKZSVaqY93ccvwAY/GoNfUegkw=; b=hxTG+WZSCoibbAjQ1SNaWz2kbJxHVBe/P9KNCcWcq0mE52WBP5NLENbsqiYPStFcG8 6ngIHRDbJoQM1AGPthSM6aDQ03vCzbus6jOCDaV7CbNcdAWu4rj+s4BVb9Ph7ZiiRiJz nuJHHXTGQR5KC/vnX1k3lgWhbOtIx+VNN8NvoocdfyejaM2YMngVUU5BzwjhKjFbaEPD MIcH5Mq8URWpl8Ijg/jvREG6Svqppv2x4zj0oVJ95qebLS7A3vtVCF1+ktY/rcyvDQje cb0hZXbsOBbt0rvHwrbmiVPmTB828efqwIZhUywvdiXgkYEQe3wmMLFEJJGBIdD1vm1m fGKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=uf1vRGDD; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00517d81adf05si16804454pgq.844.2023.04.19.13.28.52; Wed, 19 Apr 2023 13:29:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=uf1vRGDD; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231254AbjDSU2M (ORCPT + 99 others); Wed, 19 Apr 2023 16:28:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230334AbjDSU2I (ORCPT ); Wed, 19 Apr 2023 16:28:08 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA8885BBF; Wed, 19 Apr 2023 13:28:03 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id DA4F41FD9B; Wed, 19 Apr 2023 20:28:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1681936081; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZDVkBZEcchpCDnJPndKZSVaqY93ccvwAY/GoNfUegkw=; b=uf1vRGDDAONFBHtTTxCRWGk9Sw7dj2G9JJtpXG9AEo6IlMS1IyD9gtUC4yJpg032MAW/pI bOt7tKd9P+c1xsT2WOu39k0TT0aM+JrTccAuUJjqPfTkdp2QIr7hMYk0yuoo7XMvpZcKw3 RS2y8oDXbv9JLv+Ej6zLUKEZHjw9zeQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1681936081; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZDVkBZEcchpCDnJPndKZSVaqY93ccvwAY/GoNfUegkw=; b=WnZRyMrpsitCwSbACOb895+oc1UZpWuzRZJVe0UMbQ4RCDasVEr76YOKe8i6Re9ZZikXmN BU5dS+IuDDSAN8Bw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 5B3FB13580; Wed, 19 Apr 2023 20:28:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id Dy6DCNFOQGS7JAAAMHmgww (envelope-from ); Wed, 19 Apr 2023 20:28:01 +0000 Date: Wed, 19 Apr 2023 17:27:58 -0300 From: Marcos Paulo de Souza To: Joe Lawrence Cc: live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Josh Poimboeuf , Miroslav Benes , Petr Mladek , Marcos Paulo de Souza Subject: Re: [PATCH v7 00/10] livepatch: klp-convert tool Message-ID: References: <20230306140824.3858543-1-joe.lawrence@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230306140824.3858543-1-joe.lawrence@redhat.com> X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Testing > ------- > > The patchset selftests build and execute on x86_64, s390x, and ppc64le > for both default config (with added livepatch dependencies) and a larger > RHEL-9-ish config. > > Using the Intel's Linux Kernel Performance tests's make.cross, > klp-convert builds and processes livepatch .ko's for x86_64 ppc64le > ppc32 s390 arm64 arches. > So I tested using real x86 livepatches, and it worked as expected. The test was done by taking the livepatches, removing all externalized variables (those that we need to call kallsyms_lookup), and compiling as usual and using klp-convert to create the necessary relocation entries. I'll keep testing with more livepatches for now on, and let you know if I find any issue.