Re: [PATCH 0/5] omap: dsp: fixes for 2.6.37-rc1

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

 



* Felipe Contreras <felipe.contreras@xxxxxxxxx> [101107 14:38]:
> On Mon, Nov 8, 2010 at 12:02 AM, Greg KH <greg@xxxxxxxxx> wrote:
> > On Sun, Nov 07, 2010 at 11:43:24PM +0200, Felipe Contreras wrote:
> >> Paul already sent these, but I did some minor modifications, mostly to minimize
> >> the amount of changes.
> >>
> >> Also, I'm re-sending my memblock patch so that the driver can actually be
> >> compiled.
> >>
> >> With these, and reverting the iommu patches[1], the driver should be working. I
> >> don't see a more straight-forward way to achieve that.
> >
> > I can't take these through the staging tree unless I get an ack from the
> > omap maintainers.
> >
> > And as you are adding new infrastructure to the core kernel, this really
> > needed to be there before .37-rc1, I don't think it's acceptable to
> > merge this late in the development cycle.
> 
> Isn't that up to omap maintainers to decide?

Thanks for putting together all these patches, that already helps
people working on it a great deal.

However, these patches are in the no-no category for -rc cycle, they're
in the "fixes for features that never worked in the first place"
category. Linus will not take it and I don't want to take it. We just
have to follow the standard Linux development cycle.
 
> Anyway, there's an alternative that doesn't require omap to ack:
> 
> --- a/drivers/staging/tidspbridge/core/tiomap3430.c
> +++ b/drivers/staging/tidspbridge/core/tiomap3430.c
> @@ -23,7 +23,6 @@
>  #include <dspbridge/host_os.h>
>  #include <linux/mm.h>
>  #include <linux/mmzone.h>
> -#include <plat/control.h>
> 
>  /*  ----------------------------------- DSP/BIOS Bridge */
>  #include <dspbridge/dbdefs.h>
> @@ -74,6 +73,18 @@
>  #define PAGES_II_LVL_TABLE   512
>  #define PHYS_TO_PAGE(phys)      pfn_to_page((phys) >> PAGE_SHIFT)
> 
> +/*
> + * This is a totally ugly layer violation, but needed until
> + * omap_ctrl_set_dsp_boot*() are provided.
> + */
> +#define OMAP3_IVA2_BOOTMOD_IDLE 1
> +#define OMAP2_CONTROL_GENERAL 0x270
> +#define OMAP343X_CONTROL_IVA2_BOOTADDR (OMAP2_CONTROL_GENERAL + 0x0190)
> +#define OMAP343X_CONTROL_IVA2_BOOTMOD (OMAP2_CONTROL_GENERAL + 0x0194)
> +
> +#define OMAP343X_CTRL_REGADDR(reg) \
> +       OMAP2_L4_IO_ADDRESS(OMAP343X_CTRL_BASE + (reg))
> +
>  /* Forward Declarations: */
>  static int bridge_brd_monitor(struct bridge_dev_context *dev_ctxt);
>  static int bridge_brd_read(struct bridge_dev_context *dev_ctxt,

If this makes the dspbridge usable, that sounds like the way to go
for the -rc cycle.

But I don't think this the only patch needed then?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux