Denis Kirjanov | 6 Jul 2012 14:45
Picon
Gravatar

Bring up UML PowerPC port

Hi guys,

So I want to bring up powerpc port which has never been in working
state. I've created git tree on github:
https://github.com/dkirjanov/uml-powerpc

Thanks!

--

-- 
Regards,
Denis

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
richard -rw- weinberger | 6 Jul 2012 16:19
Picon

Re: Bring up UML PowerPC port

Hi!

On Fri, Jul 6, 2012 at 2:45 PM, Denis Kirjanov <kirjanov <at> gmail.com> wrote:
> So I want to bring up powerpc port which has never been in working
> state. I've created git tree on github:
> https://github.com/dkirjanov/uml-powerpc

Awesome!
What do you have so far?
The tree on github seems to be only clone from Linus' tree.
Please send patches are early as possible.
I have access to various PPC systems and can help/test.

Are you targeting PPC32 or 64 or both?
Also please coordinate yourself with Al, AFAIK he did already some UML/PPC work.

--

-- 
Thanks,
//richard

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Rob Landley | 17 Jul 2012 19:19

Re: feature-removal-schedule entry from 2009

That should be over on _this_ list then...

(Discussion of IRQF_SAMPLE_RANDOM removal.)

On 07/16/2012 10:21 AM, Theodore Ts'o wrote:
> On Sun, Jul 15, 2012 at 03:41:53PM -0500, Rob Landley wrote:
>> Does it become a "please add a call to sample_interrupt_randomness()"
>> reminder, or will the infrastructure figure out when to do that outside
>> the driver?
> 
> The patches in the random.git tree unconditionally call
> add_interrupt_randomness() in handle_irq_event_percpu(), so the
> drivers don't need to do anything at this point.
> 
>> And will this upcoming patch set remove 'em, or leave the NOP debris
>> there?
> 
> The current status is here:
> 
> http://git.kernel.org/?p=linux/kernel/git/tytso/random.git;a=summary
> 
> At this point the flag is a no-op, and can be removed.  This close to
> the merge window, I don't think I'm going to have time to create
> patches which remove the flag from all of the drivers, but it's
> basically clean up work, and having the extra bit set isn't going to
> harm anyone.
> 
> The only thing that might require a bit of care is the usage in
> arch/um, where someone needs to do a bit more analysis to see if it's
> just a matter of removing the flag from the call to request_irq().  My
(Continue reading)

Theodore Ts'o | 17 Jul 2012 23:29
Picon
Picon
Favicon
Gravatar

Re: feature-removal-schedule entry from 2009

On Tue, Jul 17, 2012 at 12:19:38PM -0500, Rob Landley wrote:
> That should be over on _this_ list then...
> 
> (Discussion of IRQF_SAMPLE_RANDOM removal.)

I took a closer look at the arch/um code, and it wasn't as hard as I
thought.  I have a proposed set of patches to completely remove
IRQF_SAMPLE_RANDOM that I will be sending out shortly....

		   	       	  	      - Ted

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Richard Weinberger | 18 Jul 2012 00:29
Picon

Re: feature-removal-schedule entry from 2009

Am Tue, 17 Jul 2012 17:29:46 -0400
schrieb Theodore Ts'o <tytso <at> mit.edu>:

> On Tue, Jul 17, 2012 at 12:19:38PM -0500, Rob Landley wrote:
> > That should be over on _this_ list then...
> > 
> > (Discussion of IRQF_SAMPLE_RANDOM removal.)
> 
> I took a closer look at the arch/um code, and it wasn't as hard as I
> thought.  I have a proposed set of patches to completely remove
> IRQF_SAMPLE_RANDOM that I will be sending out shortly....
> 

I'll happily test them, please CC me.

BTW: On UML we have anyway CONFIG_UML_RANDOM to get good random numbers.
It reads from thes host's /dev/random.

Thanks,
//richard

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Picon
Gravatar

[PATCH] um: fix missing include with glibc 2.16

From: Vianney le Clément de Saint-Marcq <vleclement <at> gmail.com>

As of glibc 2.16, sys/wait.h does no longer include sys/resource.h,
which is needed for getrlimit(). This patch fixes compiling UML with
glibc 2.16.

Signed-off-by: Vianney le Clément de Saint-Marcq <vleclement <at> gmail.com>
---
--- linux-3.5/arch/um/os-Linux/start_up.c.orig	2012-07-21 22:58:29.000000000 +0200
+++ linux-3.5/arch/um/os-Linux/start_up.c	2012-07-30 15:39:22.771190664 +0200
 <at>  <at>  -13,6 +13,7  <at>  <at> 
 #include <signal.h>
 #include <string.h>
 #include <sys/mman.h>
+#include <sys/resource.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
 #include <asm/unistd.h>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
(Continue reading)

Martin Pärtel | 31 Jul 2012 14:05
Picon

Re: [PATCH v3] um: pass siginfo to guest process

What's the status with this?

On 06/21/2012 11:09 AM, Martin Pärtel wrote:
> UML guest processes now get correct siginfo_t for SIGTRAP, SIGFPE,
> SIGILL and SIGBUS. Specifically, si_addr and si_code are now correct
> where previously they were si_addr = NULL and si_code = 128.
>
> Signed-off-by: Martin Pärtel <martin.partel <at> gmail.com>
> ---
> Removed _ignore_siginfo wrappers as requested.
>
> diff -uprN -X linux-3.4.1/Documentation/dontdiff -x config.c -x config.tmp
linux-3.4.1/arch/um/include/shared/as-layout.h linux-3.4.1-mod/arch/um/include/shared/as-layout.h
> --- linux-3.4.1/arch/um/include/shared/as-layout.h	2012-06-01 10:18:44.000000000 +0300
> +++ linux-3.4.1-mod/arch/um/include/shared/as-layout.h	2012-06-15 13:55:32.817111341 +0300
>  <at>  <at>  -60,7 +60,8  <at>  <at>  extern unsigned long host_task_size;
>
>   extern int linux_main(int argc, char **argv);
>
> -extern void (*sig_info[])(int, struct uml_pt_regs *);
> +struct siginfo;
> +extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *);
>
>   #endif
>
> diff -uprN -X linux-3.4.1/Documentation/dontdiff -x config.c -x config.tmp
linux-3.4.1/arch/um/include/shared/irq_user.h linux-3.4.1-mod/arch/um/include/shared/irq_user.h
> --- linux-3.4.1/arch/um/include/shared/irq_user.h	2012-06-01 10:18:44.000000000 +0300
> +++ linux-3.4.1-mod/arch/um/include/shared/irq_user.h	2012-06-21 10:40:17.579071501 +0300
>  <at>  <at>  -20,7 +20,8  <at>  <at>  struct irq_fd {
(Continue reading)

Richard Weinberger | 31 Jul 2012 14:11
Picon

Re: [PATCH v3] um: pass siginfo to guest process

On 31.07.2012 14:05, Martin Pärtel wrote:
> What's the status with this?
>

Oh sorry, I forgot you to answer.
It's queued for 3.6 and will be pushed to Linus tomorrow with all other 
patches.

Thanks,
//richard

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Martin Pärtel | 31 Jul 2012 14:12
Picon

Re: [PATCH v3] um: pass siginfo to guest process

On 07/31/2012 03:11 PM, Richard Weinberger wrote:
> On 31.07.2012 14:05, Martin Pärtel wrote:
>> What's the status with this?
>>
>
> Oh sorry, I forgot you to answer.
> It's queued for 3.6 and will be pushed to Linus tomorrow with all other
> patches.
>

Cool, thanks!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane