From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=FAKE_REPLY_C, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3478EC43331 for ; Sun, 29 Mar 2020 19:23:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 056D720675 for ; Sun, 29 Mar 2020 19:23:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728558AbgC2TXB (ORCPT ); Sun, 29 Mar 2020 15:23:01 -0400 Received: from mail.computer-surgery.co.uk ([82.69.253.61]:60075 "EHLO nicole.computer-surgery.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727370AbgC2TXB (ORCPT ); Sun, 29 Mar 2020 15:23:01 -0400 X-Greylist: delayed 2565 seconds by postgrey-1.27 at vger.kernel.org; Sun, 29 Mar 2020 15:23:00 EDT Received: from [10.94.89.11] (helo=kilburn) by nicole.computer-surgery.co.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1jIcqy-0006gg-30; Sun, 29 Mar 2020 19:40:12 +0100 Received: from roger by kilburn with local (Exim 4.92) (envelope-from ) id 1jIcqs-00033T-8L; Sun, 29 Mar 2020 18:40:06 +0000 Date: Sun, 29 Mar 2020 18:40:06 +0000 From: Roger Gammans To: Sandeep Singh Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org Subject: Re: [PATCH v4 4/4] SFH: Create HID report to Enable support of AMD sensor fusion Hub (SFH) Message-ID: <20200329184006.GA8199@kilburn.gammascience.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Thu, Feb 27, 2020 at 05:10:57AM +0000, Sandeep Singh wrote: > From: Sandeep Singh > > +#include "amd_sfh_hid_report_descriptor.h" > +#include "amd_mp2_pcie.h" I had to change the last line to #include "../amd_mp2_pcie.h" to make it compile out of tree. After that I got a clean compile. Also I don't seem to be getting any data through to monitor-sensor in user space when I do install it, but I am gettting logs of log messages similar to this: pcie_mp2_amd 0000:04:00.7: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000c address=0x5267f000 flags=0x0020] pcie_mp2_amd 0000:04:00.7: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x000c address=0x5267f000 flags=0x0020] This is compiled against the debian 5.4.0 kernel, on a HP ENVY x360 Convertible 15-ds0xxx, SKU 6TD07EA#ABU I can run other tests or try other kernels if you think it might help, let me know what you need. -- Roger Gammans