2013-03-24 21:30:49

by Hans de Bruin

[permalink] [raw]
Subject: regression: grass turns red

commit 49cb25e9290 x86: 'get rid of pt_regs argument in vm86/vm86old'
somehow breaks the colors when I play 'civilization I' under xdosemu.
During the intro of the game something the colors get messed up. When
the game begins the grass of the earth is red. Reverting the commit
fixes the problem.

--
Hans


2013-03-26 21:15:30

by Alexander van Heukelum

[permalink] [raw]
Subject: Re: regression: grass turns red

Hi Hans,

Could you check if the attached patch solves your problem?

Greetings,
Alexander van Heukelum

On Sun, Mar 24, 2013, at 22:19, Hans de Bruin wrote:
> commit 49cb25e9290 x86: 'get rid of pt_regs argument in vm86/vm86old'
> somehow breaks the colors when I play 'civilization I' under xdosemu.
> During the intro of the game something the colors get messed up. When
> the game begins the grass of the earth is red. Reverting the commit
> fixes the problem.
>
> --
> Hans
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
>


Attachments:
0001-x86-vm86-fix-VM86-syscalls-use-asmlinkage-calling-co.patch (2.43 kB)

2013-03-27 13:25:09

by Hans de Bruin

[permalink] [raw]
Subject: Re: regression: grass turns red

On 03/26/2013 10:15 PM, Alexander van Heukelum wrote:
> Hi Hans,
>
> Could you check if the attached patch solves your problem?
>

Yep, the grass is green again.

--
Hans

2013-03-27 19:31:07

by Alexander van Heukelum

[permalink] [raw]
Subject: [PATCH] x86, vm86: fix VM86 syscalls: use asmlinkage calling convention

Hi Al,

Hans de Bruin found a regression due to one of your changes. I asked him to test a fix and he reported back that it worked. (Thanks!) Can you see if you agree with the fix? Patch is attached due to webmail...

Greetings,
Alexander


Attachments:
0001-x86-vm86-fix-VM86-syscalls-use-asmlinkage-calling-co.patch (2.83 kB)

2013-03-27 19:46:19

by Al Viro

[permalink] [raw]
Subject: Re: [PATCH] x86, vm86: fix VM86 syscalls: use asmlinkage calling convention

On Wed, Mar 27, 2013 at 08:31:02PM +0100, Alexander van Heukelum wrote:
> Hi Al,
>
> Hans de Bruin found a regression due to one of your changes. I asked him to test a fix and he reported back that it worked. (Thanks!) Can you see if you agree with the fix? Patch is attached due to webmail...

Use SYSCALL_DEFINE{1,2} for vm86_old and vm86, please.

2013-03-27 21:18:08

by Alexander van Heukelum

[permalink] [raw]
Subject: [PATCH v2] x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)

On Wed, Mar 27, 2013, at 20:46, Al Viro wrote:
> On Wed, Mar 27, 2013 at 08:31:02PM +0100, Alexander van Heukelum wrote:
> > Hi Al,
> >
> > Hans de Bruin found a regression due to one of your changes. I asked him to test a fix and he reported back that it worked. (Thanks!) Can you see if you agree with the fix? Patch is attached due to webmail...
>
> Use SYSCALL_DEFINE{1,2} for vm86_old and vm86, please.

Like this?

Greetings,
Alexander


Attachments:
0001-x86-vm86-fix-VM86-syscalls-use-SYSCALL_DEFINEx.patch (3.24 kB)

2013-04-12 20:16:23

by Hans de Bruin

[permalink] [raw]
Subject: Re: [PATCH v2] x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)

On 03/27/2013 10:18 PM, Alexander van Heukelum wrote:
> On Wed, Mar 27, 2013, at 20:46, Al Viro wrote:
>> On Wed, Mar 27, 2013 at 08:31:02PM +0100, Alexander van Heukelum wrote:
>>> Hi Al,
>>>
>>> Hans de Bruin found a regression due to one of your changes. I asked him to test a fix and he reported back that it worked. (Thanks!) Can you see if you agree with the fix? Patch is attached due to webmail...
>>
>> Use SYSCALL_DEFINE{1,2} for vm86_old and vm86, please.
>
> Like this?
>
> Greetings,
> Alexander
>

Is there any progress?

--
Hans

2013-04-15 08:39:28

by Alexander van Heukelum

[permalink] [raw]
Subject: Re: [PATCH v2] x86, vm86: fix VM86 syscalls: use SYSCALL_DEFINEx(...)

On Fri, Apr 12, 2013, at 22:15, Hans de Bruin wrote:
> On 03/27/2013 10:18 PM, Alexander van Heukelum wrote:
> > On Wed, Mar 27, 2013, at 20:46, Al Viro wrote:
> >> On Wed, Mar 27, 2013 at 08:31:02PM +0100, Alexander van Heukelum wrote:
> >>> Hi Al,
> >>>
> >>> Hans de Bruin found a regression due to one of your changes. I asked him to test a fix and he reported back that it worked. (Thanks!) Can you see if you agree with the fix? Patch is attached due to webmail...
> >>
> >> Use SYSCALL_DEFINE{1,2} for vm86_old and vm86, please.
> >
> > Like this?

Hi Al,

Could you comment on the patch for the problem with the VM86 calls? I changed it to use SYSCALL_DEFINEx at the definition sites, and I changed the declarations in asm/syscalls.h to fit. If things are ok, can you take care of sending it to Linus?

Greetings,
Alexander

> > Greetings,
> > Alexander
> >
>
> Is there any progress?
>
> --
> Hans


Attachments:
0001-x86-vm86-fix-VM86-syscalls-use-SYSCALL_DEFINEx.patch (3.24 kB)