Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1479403rwr; Thu, 20 Apr 2023 16:07:39 -0700 (PDT) X-Google-Smtp-Source: AKy350a3VPAk/Ja3cXj5bxzpSXPmo/7711FqXPhbVMGEP4aploFR33LLBsPHF1utMKIfNcJJWUGg X-Received: by 2002:a05:6a20:3d1b:b0:f0:3724:a9b0 with SMTP id y27-20020a056a203d1b00b000f03724a9b0mr5428274pzi.3.1682032059017; Thu, 20 Apr 2023 16:07:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682032058; cv=none; d=google.com; s=arc-20160816; b=H9Ts8ElQyzzdILarWFkMycj3kjEJhHlVmoFDDmadS06ObC+VKp6nv63BILFb6+cPkb VFOZud3h92D030DoqL9260rsirC8T+yvOk2aaIXTEeMXcmAj9LJdbo8jKyjdsxkclqkC 3HJl8RSloCRX+n4iuOIL04iuV/yXeMq/F3mYgO7hI3kk0A2TSbNJfhSHxBVU2XX5qg/b t6auQOE6uZt6EjbA8nA0aI6Ek6+hKR1ycWdbsC4bWxZ67bCrEumc7Mxj7+EP3Yo43/1H ZPxcxTt1fkNYBmHQrPekCIUUMW3C66SnQr+WuYUgXqcWmNn5KwCXbfj32kr6h8pWTvLD fkDw== 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; bh=ghkMkAHQhgF1SwqPMsGPve5tHwg5WqiPTIsxzwL3I2c=; b=AX66w3Xp/42Qc+0OTrf91uW3bTz2XzkBTGC2jf5wHcWWHWC4tfgi+5J/gaol3Z6d5N JlE/7/vl70QIo9rCmdYE9leTtcbdEUl3XNkKDRU8e75W/C77cA9j0MopBdjXLC+iQ5Me tQ3g5bRS0jflc5rXDpnJKDD17YcH1Jh67dG7fsiGv4jIqci7sHMWazcmkPSUDvaxcWzM K3hhCc5OeRdz4ySLREaDDPbwym/jLQaj6zbwl/S5H2ZKSKPnbjXYJd0PELyD6T9WJ/zN YuFx9RaLygjxl7DFT+Ob9ba0O9Bc+mGscqBYFFN/AYOEk7RN6UriL+uyXnGAAlgYpsfi ZyCQ== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a63f045000000b0051b5256a3fdsi2823816pgj.305.2023.04.20.16.07.23; Thu, 20 Apr 2023 16:07:38 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbjDTXFE (ORCPT + 99 others); Thu, 20 Apr 2023 19:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233067AbjDTXEz (ORCPT ); Thu, 20 Apr 2023 19:04:55 -0400 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8D9A1BD8; Thu, 20 Apr 2023 16:04:54 -0700 (PDT) Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-63b4a64c72bso1406815b3a.0; Thu, 20 Apr 2023 16:04:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682031894; x=1684623894; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ghkMkAHQhgF1SwqPMsGPve5tHwg5WqiPTIsxzwL3I2c=; b=XdICJWMsq11rlLygrsWlN84NjUb3lJEZjWtLrmzILj9h/S2Ui8Uh3RkdVh/WyzNUfA qg2JEqFnWvROLWZkVqzAFoc4ddkkzpX/jF0U9VAXqk+Yve1iO6fUy+jtjcCuDKVT2F0d bAvOKRv2ByShSfokfK+HB9wXhkkiGwncseFRyEVuF894Ik9ye4ZJ6gMKyf6D0I6nxrzO klHQz2sG/KSmC7fzKBPZvmlimqbWq2b7G2pw6/lqJtRKZoC1Ti45SEET0LdtRhkXZXdR QmN+UVNjbyeYllkcemiK+j1oBTF51GQKvcrvYtiGbPulS2rTRS3jg/omaScZiHJ2WutM ii9Q== X-Gm-Message-State: AAQBX9cikfLQwDkoQM1JN5u4cgORplDseH4nfH/tKRYUhVx6sGqfijcQ mXL9Do6/Xwc4yjt9G7GH+aQ= X-Received: by 2002:a05:6a20:a5a8:b0:d3:89a1:76d1 with SMTP id bc40-20020a056a20a5a800b000d389a176d1mr3463522pzb.11.1682031894248; Thu, 20 Apr 2023 16:04:54 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([20.69.120.36]) by smtp.gmail.com with ESMTPSA id t3-20020a056a00138300b006338e0a9728sm1731215pfg.109.2023.04.20.16.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 16:04:53 -0700 (PDT) Date: Thu, 20 Apr 2023 23:04:52 +0000 From: Wei Liu To: longli@linuxonhyperv.com Cc: "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Arnd Bergmann , linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Long Li Subject: Re: [PATCH v4] Drivers: hv: move panic report code from vmbus to hv early init code Message-ID: References: <1682030946-6372-1-git-send-email-longli@linuxonhyperv.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1682030946-6372-1-git-send-email-longli@linuxonhyperv.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 On Thu, Apr 20, 2023 at 03:49:06PM -0700, longli@linuxonhyperv.com wrote: > From: Long Li > > The panic reporting code was added in commit 81b18bce48af > ("Drivers: HV: Send one page worth of kmsg dump over Hyper-V during panic") > > It was added to the vmbus driver. The panic reporting has no dependence > on vmbus, and can be enabled at an earlier boot time when Hyper-V is > initialized. > > This patch moves the panic reporting code out of vmbus. There is no > functionality changes. During moving, also refactored some cleanup > functions into hv_kmsg_dump_unregister(). > > Signed-off-by: Long Li > Reviewed-by: Michael Kelley Thanks. Queued up for hyperv-next.