From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c0b::22d; helo=mail-it0-x22d.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 16D9822361E6C for ; Mon, 12 Feb 2018 03:59:51 -0800 (PST) Received: by mail-it0-x22d.google.com with SMTP id i144so6354767ita.3 for ; Mon, 12 Feb 2018 04:05:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fWPGBNlT5TMolGwdmsI7Z3Efp+lRxBMzsjH2kJxPuwc=; b=Fx0anoj9Psk4d+XK/qwqssSCZ3+iONTrqkRKgMcvYtLg6ejSIRomAa/Peax27ZbH1v GtY/cu39AM/qBoXZuOgQ8vGWbMI2qcqbo/3jshLc4bjrY6RoP5KCtp+6MVE0NZkr3myp xgtJ7VD5q1wlT6MlpYrLEC1Zmzt9kOF+LaTRE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fWPGBNlT5TMolGwdmsI7Z3Efp+lRxBMzsjH2kJxPuwc=; b=abBNUXYE4l8FsfGnXMDpxGv/MuShnLJsMKhYcnx769DSKZs0irMzKUe+J9nB2it6yK zABXC6dy4RMHItq5LxDWqV7au8IY8lB/OK7Kb2XbQb5ltxPIQLhMhf/oudL1iKgTh1ol 8HluAIzIydCrcKTtm2fmbu0dFor4TnK/5YTWEtnQ5AnxrC2Qt4fXnyrKKtpDIrzWBiS0 gjnkeBlxh1Gd8rXGGiSbVEwmsOYRWJYXVL1PNr5B1U9ocWVvivv33Nxf35/cyVfhbeNR jfXbLPvVVg+R/VxR5xRzYou+FTrtTeHi0u9lAfIlohQn51EkEuRGtfPJ1rJer6BWyEgo gBCg== X-Gm-Message-State: APf1xPCzp3RaM1a2MO4URY8Bvd+iyfm/XbB9DJP1pEioSIgj87yyeTMx pdbHXZYjUfTFclRfUoQna0ZHniaHeDkJ7jOzQ6/bTA== X-Google-Smtp-Source: AH8x226fiTBoGuoqm1DmFmjd0Y0YwgpOeexJZetAGaP7N/4rfkCt0H20ku6AWCmOWgj4co94OH7f4e+OZGmxMeGoHLA= X-Received: by 10.36.228.200 with SMTP id o191mr4950822ith.143.1518437139431; Mon, 12 Feb 2018 04:05:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.112.13 with HTTP; Mon, 12 Feb 2018 04:05:38 -0800 (PST) In-Reply-To: References: <1518197467-32526-1-git-send-email-haojian.zhuang@linaro.org> <1518197467-32526-4-git-send-email-haojian.zhuang@linaro.org> <20180212114506.gfu4hfz566jg7vvw@bivouac.eciton.net> From: Ard Biesheuvel Date: Mon, 12 Feb 2018 12:05:38 +0000 Message-ID: To: Haojian Zhuang Cc: Leif Lindholm , "edk2-devel@lists.01.org" , "heyi.guo@linaro.org" , "ard.sheuvel@linaro.org" , "linaro-uefi@lists.linaro.org" Subject: Re: [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtime lib from common file X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Feb 2018 11:59:52 -0000 Content-Type: text/plain; charset="UTF-8" On 12 February 2018 at 11:47, Haojian Zhuang wrote: >>From: Leif Lindholm >>Sent: Monday, February 12, 2018 11:45 AM >>To: Haojian Zhuang >>Cc: edk2-devel@lists.01.org; linaro-uefi@lists.linaro.org; ard.sheuvel@linaro.org; heyi.guo@linaro.org >>Subject: Re: [PATCH v2 3/4] Platform/Hisilicon: move out dxe runtime lib from common file >> >>On Sat, Feb 10, 2018 at 01:31:06AM +0800, Haojian Zhuang wrote: >>> With the SerialPortLib and DebugLib, Dxe runtime driver can't >>> be executed well on HiKey. Serial logs are missing. >> >>"Can't be executed well"? Does this mean it crashes? > > No crash. Serial output are missing since SerialPortLib is different. > Does this driver take care to only create serial output at boot time? Does it, e.g., call EfiAtRuntime() or use a notification callback at ExitBootServices to make absolutely sure the serial port is no longer used?