[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ryzen 6000 (Mobile)


  • To: Dylanger Daly <dylangerdaly@xxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 6 Sep 2022 13:51:10 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=KuqUDT6vQvR3rdyDHnxL7NjaJgm9JF/D6ix3Nnbj8to=; b=OYFT5i8UX2113QK9/yL3FMA5eEToVgBbzUZOLTkXkfIHNanTflMyqO7vGbY6H21C1AToTrJ5KTN/Q4+n+Mtv0OgtgPXCW2Z9pyTZ4lFN+3F0owgG26p8GRm6GD+c7QbGpCT6huJt2+MwjgMMaRhZklsH+/SBQ7lVC24uABaIWkkoq09Mb0yT9vdlrKddBwA+EkcqbbIJeLWyar8BiFf6JBv8Zn8XyhMdqmWbSBZC8bDlUGn9HL1iiGC+RTJ3y7oh6E2cYwf/cxWx2v8GhlTXhpJhLvkxj8ZGdlUwFffuBB8gcJR7NBaOUI2afvrikJL2K9QKGe5J8mvcqYxHGH/IMg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mCIQAkJ1XB3iG7Pf9U8yolHSHiKhDevwi4qmyZVk07KmJIMoyTtIthp3TUzlrsYJfqRpd8VeX8rC3fV1z1E+CFthFRGSkM18V8lPLoIWVfz5jL2tmMD6F0478sY0hLFC23nQmwiAAVFmYWbOaFSljebDCXz0eczAgrLhhOZ7HoQOu/WzNA3Qo+CCICUJ1UVh5JoBqRE5vko30KZUqAIHTvYFPw79lopVl7Nl9V9P52MLnY2XbzErPtJQjNN8PIywNx50ysdwM7JbtuZFWOSoQmtDiBegcEWS84Qmv4ORkWKVgP2xrmCydOOQul0gQhqwqihMYz6bCWb3gV7XQ9TFEg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Andrew.Cooper3@xxxxxxxxxx
  • Delivery-date: Tue, 06 Sep 2022 21:37:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 27.08.2022 19:52, Dylanger Daly wrote:
> Thank you for your reply, Xen appears to crash immediately on startup and 
> appears to hit the patch

Oh, yes, silly me - map_domain_page() can't be used that way. You
may want to give the replacement patch (below) a try, albeit later
replies of yours have hinted in a different direction now anyway.

Jan

--- sle15sp3.orig/xen/arch/x86/e820.c
+++ sle15sp3/xen/arch/x86/e820.c
@@ -700,3 +700,16 @@ unsigned long __init init_e820(const cha
 
     return find_max_pfn();
 }
+
+#include <xen/domain_page.h>//temp
+static int __init ryzen6000_init(void) {//temp
+ if(e820_all_mapped(0x7AF67000, 0x7AF68000, E820_NVS)) {
+  mfn_t mfn = _mfn(0x7AF67);
+  const uint32_t*p = vmap(&mfn, 1);
+  printk("0x7AF67000: %08x %08x %08x %08x\n", p[0], p[1], p[2], p[3]);
+  printk("0x7AF67010: %08x %08x %08x %08x\n", p[4], p[5], p[6], p[7]);
+  vunmap(p);
+ }
+ return 0;
+}
+__initcall(ryzen6000_init);





 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.