iommu/fsl_pamu: remove the rpn and snoop_id arguments to pamu_config_ppaac
[linux-2.6-microblaze.git] / drivers / iommu / fsl_pamu.c
index 3e1647c..742fa0e 100644 (file)
@@ -181,18 +181,14 @@ int pamu_update_paace_stash(int liodn, u32 value)
  * @win_addr: starting address of DSA window
  * @win-size: size of DSA window
  * @omi: Operation mapping index -- if ~omi == 0 then omi not defined
- * @rpn: real (true physical) page number
  * @stashid: cache stash id for associated cpu -- if ~stashid == 0 then
  *          stashid not defined
- * @snoopid: snoop id for hardware coherency -- if ~snoopid == 0 then
- *          snoopid not defined
  * @prot: window permissions
  *
  * Returns 0 upon success else error code < 0 returned
  */
 int pamu_config_ppaace(int liodn, phys_addr_t win_addr, phys_addr_t win_size,
-                      u32 omi, unsigned long rpn, u32 snoopid, u32 stashid,
-                      int prot)
+                      u32 omi, u32 stashid, int prot)
 {
        struct paace *ppaace;
 
@@ -234,13 +230,9 @@ int pamu_config_ppaace(int liodn, phys_addr_t win_addr, phys_addr_t win_size,
        if (~stashid != 0)
                set_bf(ppaace->impl_attr, PAACE_IA_CID, stashid);
 
-       /* configure snoop id */
-       if (~snoopid != 0)
-               ppaace->domain_attr.to_host.snpid = snoopid;
-
        set_bf(ppaace->impl_attr, PAACE_IA_ATM, PAACE_ATM_WINDOW_XLATE);
-       ppaace->twbah = rpn >> 20;
-       set_bf(ppaace->win_bitfields, PAACE_WIN_TWBAL, rpn);
+       ppaace->twbah = 0;
+       set_bf(ppaace->win_bitfields, PAACE_WIN_TWBAL, 0);
        set_bf(ppaace->addr_bitfields, PAACE_AF_AP, prot);
        set_bf(ppaace->impl_attr, PAACE_IA_WCE, 0);
        set_bf(ppaace->addr_bitfields, PPAACE_AF_MW, 0);