[Xen-devel] [BUG] Characters on the screen are broken on Linux >= 3.19 with VT-d enabled

2015-06-15 Thread Ting-Wei Lan
When using Linux >= 3.19 as the dom0 kernel, characters on the screen become broken after the graphic driver is loaded. The commit that breaks it is (found by git bisect): https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=47591df Screenshot when the system run in sin

Re: [Xen-devel] Is: graphics corruption with 'xen: Support Xen pv-domains using PAT." Was:Re: [BUG] Characters on the screen are broken on Linux >= 3.19 with VT-d enabled

2015-06-15 Thread Ting-Wei Lan
於 一,2015-06-15 於 14:55 -0400,Konrad Rzeszutek Wilk 提到: > On Sat, Jun 13, 2015 at 12:43:14AM +0800, Ting-Wei Lan wrote: > > When using Linux >= 3.19 as the dom0 kernel, characters on the > > screen become > > broken after the graphic driver is loaded. The commit that brea

Re: [Xen-devel] Is: graphics corruption with 'xen: Support Xen pv-domains using PAT." Was:Re: [BUG] Characters on the screen are broken on Linux >= 3.19 with VT-d enabled

2015-06-16 Thread Ting-Wei Lan
Juergen Gross 於 西元2015年06月16日 12:30 寫道: On 06/15/2015 09:03 PM, Ting-Wei Lan wrote: 於 一,2015-06-15 於 14:55 -0400,Konrad Rzeszutek Wilk 提到: On Sat, Jun 13, 2015 at 12:43:14AM +0800, Ting-Wei Lan wrote: When using Linux >= 3.19 as the dom0 kernel, characters on the screen become broken af

Re: [Xen-devel] Is: graphics corruption with 'xen: Support Xen pv-domains using PAT." Was:Re: [BUG] Characters on the screen are broken on Linux >= 3.19 with VT-d enabled

2015-06-28 Thread Ting-Wei Lan
於 二,2015-06-16 於 11:58 +0200,Juergen Gross 提到: > On 06/16/2015 11:32 AM, 藍挺瑋 wrote: > > 於 二,2015-06-16 於 11:06 +0200,Juergen Gross 提到: > > > On 06/16/2015 10:55 AM, Ting-Wei Lan wrote: > > > > Juergen Gross 於 西元2015年06月16日 12:30 寫道: > > > > &g

[Xen-devel] [PATCH v3] VT-d: add iommu=igfx option to workaround graphics issues

2015-08-05 Thread Ting-Wei Lan
lem before a fix is available for i915 driver. Signed-off-by: Ting-Wei Lan Reviewed-by: Andrew Cooper --- Changed since v2: * Make no-igfx available for all Intel devices, not just Calpella/Ironlake Changed since v1: * Replace igfx_off with igfx docs/misc/xen-command-line.markdown |

[Xen-devel] [PATCH v4] VT-d: add iommu=igfx option to workaround graphics issues

2015-08-05 Thread Ting-Wei Lan
lem before a fix is available for i915 driver. Signed-off-by: Ting-Wei Lan Reviewed-by: Andrew Cooper Release-acked-by: Wei Liu --- Changed since v3: * Fix typo in xen-command-line.markdown Changed since v2: * Make no-igfx available for all Intel devices, not just Calpella/Ironlake Changed since

Re: [Xen-devel] Work-arounds in Xen code for Intel GFX?Re: Is: graphics corruption with 'xen: Support Xen pv-domains using PAT." Was:Re: [BUG] Characters on the screen are broken on Linux >= 3.19 with

2015-07-16 Thread Ting-Wei Lan
> > > > But Linux provides 'intel_iommu=igfx_off' to workaround the > > > > problem. > > > > Does Xen provide similar things? > > > > > > Not that I know of. The question is whether you really need VT-d, > > > and > > > if > > > yes, why. You could still switch the iommu off for dom0 by > > >

[Xen-devel] [PATCH] build: use correct qemu path in systemd service file and init script

2015-07-16 Thread Ting-Wei Lan
When --with-system-qemu is used, it is possible that we cannot find qemu-system-i386 in LIBEXEC_BIN, which can cause error in xencommons init script and xen-qemu-dom0-disk-backend.service systemd service. --- tools/configure | 11 +++ tools/con

[Xen-devel] [PATCH] build: use correct qemu path in systemd service file and init script

2015-07-16 Thread Ting-Wei Lan
When --with-system-qemu is used, it is possible that we cannot find qemu-system-i386 in LIBEXEC_BIN, which can cause error in xencommons init script and xen-qemu-dom0-disk-backend.service systemd service. Signed-off-by: Ting-Wei Lan --- tools/configure

[Xen-devel] [PATCH] VT-d: add iommu=igfx_off option to workaround graphics issues

2015-07-17 Thread Ting-Wei Lan
d a proper fix for this problem, this patch adds iommu=igfx_off option that is similar to Linux intel_iommu=igfx_off for users to manually workaround the problem. Signed-off-by: Ting-Wei Lan --- docs/misc/xen-command-line.markdown | 10 +- xen/drivers/passthrough/iommu.c | 3 +++

Re: [Xen-devel] [PATCH] VT-d: add iommu=igfx_off option to workaround graphics issues

2015-07-20 Thread Ting-Wei Lan
於 一,2015-07-20 於 09:21 +0100,Andrew Cooper 提到: > On 20/07/2015 02:28, Tian, Kevin wrote: > > > From: Ting-Wei Lan [mailto:lant...@gmail.com] > > > Sent: Saturday, July 18, 2015 3:06 AM > > > > > > When using Linux >= 3.19 (commit 47591df) as dom0 on some

Re: [Xen-devel] [PATCH] VT-d: add iommu=igfx_off option to workaround graphics issues

2015-07-23 Thread Ting-Wei Lan
Jan Beulich 於 西元2015年07月21日 15:33 寫道: On 21.07.15 at 09:23, wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, July 21, 2015 3:17 PM On 21.07.15 at 09:05, wrote: From: Jan Beulich [mailto:jbeul...@suse.com] Sent: Tuesday, July 21, 2015 2:57 PM On 21.07.15 at 02:57, wr

Re: [Xen-devel] [PATCH] build: use correct qemu path in systemd service file and init script

2015-07-23 Thread Ting-Wei Lan
Ian Campbell 於 西元2015年07月21日 23:10 寫道: On Fri, 2015-07-17 at 00:15 +0800, Ting-Wei Lan wrote: This all looks pretty good. One comment: +if test "x$qemu_xen_path" = "x" || test "x$qemu_xen_path" = "xqemu"; then : + +qemu_xen_path_service="$LI

Re: [Xen-devel] [PATCH] build: use correct qemu path in systemd service file and init script

2015-07-25 Thread Ting-Wei Lan
Ian Campbell 於 西元2015年07月24日 16:57 寫道: On Fri, 2015-07-24 at 01:38 +0800, Ting-Wei Lan wrote: Ian Campbell 於 西元2015年07月21日 23:10 寫道: On Fri, 2015-07-17 at 00:15 +0800, Ting-Wei Lan wrote: This all looks pretty good. One comment: +if test "x$qemu_xen_path" = "x" || t

[Xen-devel] [PATCH v2] VT-d: add iommu=igfx option to workaround graphics issues

2015-07-25 Thread Ting-Wei Lan
lly workaround the problem before a fix is available for i915 driver. Signed-off-by: Ting-Wei Lan --- Changed since v1: * Replace igfx_off with igfx This patch is currently only build-tested because I don't have access to the hardware that have graphics issues this week. I will test this n

[Xen-devel] [PATCH v2] build: use correct qemu path in systemd service file and init script

2015-07-29 Thread Ting-Wei Lan
When --with-system-qemu is used, it is possible that we cannot find qemu-system-i386 in LIBEXEC_BIN, which can cause error in xencommons init script and xen-qemu-dom0-disk-backend.service systemd service. Signed-off-by: Ting-Wei Lan --- Changed since v1: * Don't repeat qemu-system

Re: [Xen-devel] [PATCH v2] build: use correct qemu path in systemd service file and init script

2015-07-30 Thread Ting-Wei Lan
於 四,2015-07-30 於 16:01 +0100,Ian Campbell 提到: > On Thu, 2015-07-30 at 11:30 +0100, Wei Liu wrote: > > On Thu, Jul 30, 2015 at 11:24:47AM +0100, Ian Campbell wrote: > > > On Thu, 2015-07-30 at 14:51 +0800, Ting-Wei Lan wrote: > > > > When --with-system-qemu is used,

Re: [Xen-devel] [PATCH v2] VT-d: add iommu=igfx option to workaround graphics issues

2015-07-31 Thread Ting-Wei Lan
Tian, Kevin 於 西元2015年07月31日 09:26 寫道: From: Ting-Wei Lan [mailto:lant...@gmail.com] Sent: Sunday, July 26, 2015 12:58 AM When using Linux >= 3.19 (commit 47591df) as dom0 on some Intel Ironlake devices, It is possible to encounter graphics issues that make screen unreadable or crash the sys